jujutsu: 0.7.0 -> 0.8.0
Now with an update script. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
fb7115c76e
commit
128d2c2a0b
1 changed files with 11 additions and 7 deletions
|
@ -9,22 +9,23 @@
|
||||||
, Security
|
, Security
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
, libiconv
|
, libiconv
|
||||||
|
, nix-update-script
|
||||||
, testers
|
, testers
|
||||||
, jujutsu
|
, jujutsu
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "jujutsu";
|
pname = "jujutsu";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "martinvonz";
|
owner = "martinvonz";
|
||||||
repo = "jj";
|
repo = "jj";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-FczlSBlLhLIamLiY4cGVAoHx0/sxx+tykICzedFbbx8=";
|
sha256 = "sha256-kbJWkCnb77VRKemA8WejaChaQYCxNiVMbqW5PCrDoE8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-PydDgXp47KUSLvAQgfO+09lrzTnBjzGd+zA5f/jZfRc=";
|
cargoHash = "sha256-qbCOVcKpNGWGonRAwPsr3o3yd+7qUTy3IVmC3Ifn4xE=";
|
||||||
|
|
||||||
# Needed to get openssl-sys to use pkg-config.
|
# Needed to get openssl-sys to use pkg-config.
|
||||||
OPENSSL_NO_VENDOR = 1;
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
@ -43,12 +44,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
libiconv
|
libiconv
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests = {
|
||||||
version = testers.testVersion {
|
version = testers.testVersion {
|
||||||
package = jujutsu;
|
package = jujutsu;
|
||||||
command = "jj --version";
|
command = "jj --version";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Git-compatible DVCS that is both simple and powerful";
|
description = "A Git-compatible DVCS that is both simple and powerful";
|
||||||
|
|
Loading…
Reference in a new issue