habitat: 0.8.0 -> 0.30.2
This commit is contained in:
parent
f9192394ba
commit
91062dc862
@ -1,9 +0,0 @@
|
|||||||
# TODO: Drop once https://github.com/habitat-sh/habitat/issues/994
|
|
||||||
# is resolved.
|
|
||||||
{ habitat, libsodium, libarchive, openssl, buildFHSUserEnv }:
|
|
||||||
|
|
||||||
buildFHSUserEnv {
|
|
||||||
name = "habitat-sh";
|
|
||||||
targetPkgs = pkgs: [ habitat libsodium libarchive openssl ];
|
|
||||||
runScript = "bash";
|
|
||||||
}
|
|
@ -5,23 +5,30 @@ with rustPlatform;
|
|||||||
|
|
||||||
buildRustPackage rec {
|
buildRustPackage rec {
|
||||||
name = "habitat-${version}";
|
name = "habitat-${version}";
|
||||||
version = "0.8.0";
|
version = "0.30.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "habitat-sh";
|
owner = "habitat-sh";
|
||||||
repo = "habitat";
|
repo = "habitat";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1h9wv2v4hcv79jkkjf8j96lzxni9d51755zfflfr5s3ayaip7rzj";
|
sha256 = "0pqrm85pd9hqn5fwqjbyyrrfh4k7q9mi9qy9hm8yigk5l8mw44y1";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "habitat-${version}-src/components/hab";
|
depsSha256 = "1ahfm5agvabqqqgjsyjb95xxbc7mng1mdyclcakwp1m1qdkxx9py";
|
||||||
|
|
||||||
depsSha256 = "1612jaw3zdrgrb56r755bb18l8szdmf1wi7p9lpv3d2gklqcb7l1";
|
|
||||||
|
|
||||||
buildInputs = [ libsodium libarchive openssl ];
|
buildInputs = [ libsodium libarchive openssl ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
cargoBuildFlags = ["--package hab"];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
echo "Running cargo test"
|
||||||
|
cargo test --package hab
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An application automation framework";
|
description = "An application automation framework";
|
||||||
homepage = https://www.habitat.sh;
|
homepage = https://www.habitat.sh;
|
||||||
|
@ -2436,7 +2436,6 @@ with pkgs;
|
|||||||
haveged = callPackage ../tools/security/haveged { };
|
haveged = callPackage ../tools/security/haveged { };
|
||||||
|
|
||||||
habitat = callPackage ../applications/networking/cluster/habitat { };
|
habitat = callPackage ../applications/networking/cluster/habitat { };
|
||||||
habitat-sh = callPackage ../applications/networking/cluster/habitat/chroot-env.nix { };
|
|
||||||
|
|
||||||
hardlink = callPackage ../tools/system/hardlink { };
|
hardlink = callPackage ../tools/system/hardlink { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user