aboutsummaryrefslogtreecommitdiffhomepage
path: root/default.nix
blob: c2eaf10948fdf2610307e5fe9dd458f4ce2fab9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ pkgs ? import <nixpkgs> {} }: with pkgs;
let
  mkOlderVersion = { rev, sha256 }:
    let
      olderVersion = fetchFromGitHub {
        owner = "fretlink";
        repo  = "clever-tools-nix";
        inherit rev;
        inherit sha256;
      };
    in (import olderVersion {}).latest;
in rec {
  v0_9_3 = mkOlderVersion {
    rev = "a60f5f961215e9a011b4a0dfe651758001f116d8";
    sha256 = "1n831iw55di0s2izbl03xivs59792swfji2n46vhi3mkdawrsjkg";
  };

  v1_1_1 = mkOlderVersion {
    rev = "63d289fd2f02a4d45e60f61e11f8dd9d3b4963fc";
    sha256 = "14ni1iaygbxihihmjiv7a7cg1q83y15lpqdp54frfyymjb7y12nj";
  };

  v1_3_0 = mkOlderVersion {
    rev = "2ea3abd717a23803bb936b49791d302d08cd29a6";
    sha256 = "09nwb23cqbjm1z9rwrysqc06g9lcimrgcqw38zxs3sc4kiixdlfb";
  };

  v1_4_0 = mkOlderVersion {
    rev = "8b7c2198ffa7679394bd95c356cac8b8133d993a";
    sha256 = "1r7n6cn2hj15a9msp55bbrb4j3srpmx00dxjj8vf0h5wagy8h1r5";
  };

  v1_4_2 = mkOlderVersion {
    rev = "e3b8f435cbb59fd64743ab495dcffb3496fee8e5";
    sha256 = "1wnz52m0ilsi18yrrv4iw2629ja0kjhqf53aldyrfb32ri8zcjxg";
  };

  v1_6_2 = callPackage ./clever-tools {};

  latest = v1_6_2;
}