stdenv.mkDerivation rec {
name = "clever-tools-${version}";
- version = "1.6.3";
+ version = "2.6.0";
src = fetchurl {
url = "https://clever-tools.clever-cloud.com/releases/${version}/clever-tools-${version}_linux.tar.gz";
- sha256 = "0nlmgdh77q4c6gwcpj12d7fb6gjv7jmw1vksrgfb6d453k2b0ww7";
+ sha256 = "0ibnwayl73q54gh2l8b14wc8cr5rvxn2nxpczcz6swwrwwyny0h1";
};
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc glibc ];
sha256 = "0k0848aik036j90myf0gqapb0qm4khkf5wxhs7yhppmnpv3xgz24";
};
- v1_6_3 = callPackage ./clever-tools {};
+ v1_6_3 = mkOlderVersion {
+ rev = "c39d5d6f8ccb880a724cff59a27c87e2da0178dd";
+ sha256 = "09n5phanqyrm73mw0rpgn5zaaibhnyp4sjfiidsnwk1fcd7wxmjb";
+ };
+
+ v2_6_0 = callPackage ./clever-tools {};
- latest = v1_6_3;
+ latest = v2_6_0;
}
#!/usr/bin/env bash
-[ "$(clever --version)" = "1.6.3" ]
+[ "$(clever --version)" = "2.6.0" ]