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 6 buildRustPackage rec { 7 name = "habitat-${version}"; 8 - version = "0.8.0"; 9 10 src = fetchFromGitHub { 11 owner = "habitat-sh"; 12 repo = "habitat"; 13 rev = version; 14 - sha256 = "1h9wv2v4hcv79jkkjf8j96lzxni9d51755zfflfr5s3ayaip7rzj"; 15 }; 16 17 - sourceRoot = "habitat-${version}-src/components/hab"; 18 - 19 - depsSha256 = "1612jaw3zdrgrb56r755bb18l8szdmf1wi7p9lpv3d2gklqcb7l1"; 20 21 buildInputs = [ libsodium libarchive openssl ]; 22 23 nativeBuildInputs = [ pkgconfig ]; 24 25 meta = with lib; { 26 description = "An application automation framework";
··· 5 6 buildRustPackage rec { 7 name = "habitat-${version}"; 8 + version = "0.30.2"; 9 10 src = fetchFromGitHub { 11 owner = "habitat-sh"; 12 repo = "habitat"; 13 rev = version; 14 + sha256 = "0pqrm85pd9hqn5fwqjbyyrrfh4k7q9mi9qy9hm8yigk5l8mw44y1"; 15 }; 16 17 + depsSha256 = "1ahfm5agvabqqqgjsyjb95xxbc7mng1mdyclcakwp1m1qdkxx9py"; 18 19 buildInputs = [ libsodium libarchive openssl ]; 20 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 + ''; 31 32 meta = with lib; { 33 description = "An application automation framework";
-1
pkgs/top-level/all-packages.nix
··· 2436 haveged = callPackage ../tools/security/haveged { }; 2437 2438 habitat = callPackage ../applications/networking/cluster/habitat { }; 2439 - habitat-sh = callPackage ../applications/networking/cluster/habitat/chroot-env.nix { }; 2440 2441 hardlink = callPackage ../tools/system/hardlink { }; 2442
··· 2436 haveged = callPackage ../tools/security/haveged { }; 2437 2438 habitat = callPackage ../applications/networking/cluster/habitat { }; 2439 2440 hardlink = callPackage ../tools/system/hardlink { }; 2441