From 615a108434e9ac7f086754f002dd56f6e6844a2c Mon Sep 17 00:00:00 2001 From: Hussein Ait-Lahcen Date: Mon, 25 Feb 2019 14:11:57 +0100 Subject: split installPhase, introduce clever 1.3.0 and update changelog --- clever-tools/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'clever-tools') 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 @@ stdenv.mkDerivation rec { name = "clever-tools-${version}"; - version = "1.1.0"; + version = "1.3.0"; src = fetchurl { url = "https://clever-tools.cellar.services.clever-cloud.com/releases/${version}/clever-tools-${version}_linux.tar.gz"; - sha256 = "1lkwckmlz2gf41xmnzydpcbly0jcry3bn8lp570gha768ic7xmb1"; + sha256 = "03dasjxkg6x6f5d3l7dacc2h9v1i9q1vfzppnlzdpzkzkgv9vy6n"; }; libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc glibc ]; - installPhase = '' + unpackPhase = '' tar --extract --file=$src + ''; + + installPhase = '' bin=$out/bin/clever mkdir -p $out/bin - mv clever $bin + mv clever-tools-${version}_linux/clever $bin ''; dontStrip = "true"; -- cgit v1.2.3