habitat: 0.8.0 -> 0.30.2

+12 -15
-9
pkgs/applications/networking/cluster/habitat/chroot-env.nix
··· 1 - # TODO: Drop once https://github.com/habitat-sh/habitat/issues/994 2 - # is resolved. 3 - { habitat, libsodium, libarchive, openssl, buildFHSUserEnv }: 4 - 5 - buildFHSUserEnv { 6 - name = "habitat-sh"; 7 - targetPkgs = pkgs: [ habitat libsodium libarchive openssl ]; 8 - runScript = "bash"; 9 - }
+12 -5
pkgs/applications/networking/cluster/habitat/default.nix
··· 5 5 6 6 buildRustPackage rec { 7 7 name = "habitat-${version}"; 8 - version = "0.8.0"; 8 + version = "0.30.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "habitat-sh"; 12 12 repo = "habitat"; 13 13 rev = version; 14 - sha256 = "1h9wv2v4hcv79jkkjf8j96lzxni9d51755zfflfr5s3ayaip7rzj"; 14 + sha256 = "0pqrm85pd9hqn5fwqjbyyrrfh4k7q9mi9qy9hm8yigk5l8mw44y1"; 15 15 }; 16 16 17 - sourceRoot = "habitat-${version}-src/components/hab"; 18 - 19 - depsSha256 = "1612jaw3zdrgrb56r755bb18l8szdmf1wi7p9lpv3d2gklqcb7l1"; 17 + depsSha256 = "1ahfm5agvabqqqgjsyjb95xxbc7mng1mdyclcakwp1m1qdkxx9py"; 20 18 21 19 buildInputs = [ libsodium libarchive openssl ]; 22 20 23 21 nativeBuildInputs = [ pkgconfig ]; 22 + 23 + cargoBuildFlags = ["--package hab"]; 24 + 25 + checkPhase = '' 26 + runHook preCheck 27 + echo "Running cargo test" 28 + cargo test --package hab 29 + runHook postCheck 30 + ''; 24 31 25 32 meta = with lib; { 26 33 description = "An application automation framework";
-1
pkgs/top-level/all-packages.nix
··· 2436 2436 haveged = callPackage ../tools/security/haveged { }; 2437 2437 2438 2438 habitat = callPackage ../applications/networking/cluster/habitat { }; 2439 - habitat-sh = callPackage ../applications/networking/cluster/habitat/chroot-env.nix { }; 2440 2439 2441 2440 hardlink = callPackage ../tools/system/hardlink { }; 2442 2441