diff options
Diffstat (limited to 'clever-tools/default.nix')
-rw-r--r-- | clever-tools/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clever-tools/default.nix b/clever-tools/default.nix index 9ac69e6..18f85ec 100644 --- a/clever-tools/default.nix +++ b/clever-tools/default.nix | |||
@@ -2,20 +2,23 @@ | |||
2 | 2 | ||
3 | stdenv.mkDerivation rec { | 3 | stdenv.mkDerivation rec { |
4 | name = "clever-tools-${version}"; | 4 | name = "clever-tools-${version}"; |
5 | version = "1.1.0"; | 5 | version = "1.3.0"; |
6 | 6 | ||
7 | src = fetchurl { | 7 | src = fetchurl { |
8 | url = "https://clever-tools.cellar.services.clever-cloud.com/releases/${version}/clever-tools-${version}_linux.tar.gz"; | 8 | url = "https://clever-tools.cellar.services.clever-cloud.com/releases/${version}/clever-tools-${version}_linux.tar.gz"; |
9 | sha256 = "1lkwckmlz2gf41xmnzydpcbly0jcry3bn8lp570gha768ic7xmb1"; | 9 | sha256 = "03dasjxkg6x6f5d3l7dacc2h9v1i9q1vfzppnlzdpzkzkgv9vy6n"; |
10 | }; | 10 | }; |
11 | 11 | ||
12 | libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc glibc ]; | 12 | libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc glibc ]; |
13 | 13 | ||
14 | installPhase = '' | 14 | unpackPhase = '' |
15 | tar --extract --file=$src | 15 | tar --extract --file=$src |
16 | ''; | ||
17 | |||
18 | installPhase = '' | ||
16 | bin=$out/bin/clever | 19 | bin=$out/bin/clever |
17 | mkdir -p $out/bin | 20 | mkdir -p $out/bin |
18 | mv clever $bin | 21 | mv clever-tools-${version}_linux/clever $bin |
19 | ''; | 22 | ''; |
20 | 23 | ||
21 | dontStrip = "true"; | 24 | dontStrip = "true"; |