gptcommit: 0.5.13 -> 0.5.14
This commit is contained in:
parent
3ceeae860e
commit
369fdb3be8
2 changed files with 7 additions and 5 deletions
|
@ -5,12 +5,13 @@
|
|||
, pkg-config
|
||||
, nix-update-script
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, openssl
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "gptcommit";
|
||||
version = "0.5.13";
|
||||
version = "0.5.14";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
@ -19,17 +20,18 @@ rustPlatform.buildRustPackage {
|
|||
owner = "zurawiki";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-O0dqLN2wDXRIVcb9whlzK0BJOm/qhTH+nLpCwSUObng=";
|
||||
hash = "sha256-xjaFr1y2Fd7IWbJlegnIsfS5/oMJYd6QTnwp7IK17xM=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-JwwQaThefWhJVRJ/a0WfdKJqr/NHgll6D6Y2QaeqWsc=";
|
||||
cargoHash = "sha256-VZrlEJi/UPQTGFiSpZs+Do+69CY3zdqGkAnUxMYvvaw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
# 0.5.6 release has failing tests
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ] ++ lib.optionals stdenv.isLinux [ openssl ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]
|
||||
++ lib.optionals stdenv.isLinux [ openssl ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
|
|
|
@ -8808,7 +8808,7 @@ with pkgs;
|
|||
gpt2tc = callPackage ../tools/text/gpt2tc { };
|
||||
|
||||
gptcommit = callPackage ../development/tools/gptcommit {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
gptman = callPackage ../tools/system/gptman { };
|
||||
|
|
Loading…
Reference in a new issue