gfold: use new Darwin SDK pattern
This commit is contained in:
parent
9a78e67344
commit
487201b5fc
@ -2,10 +2,7 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
gfold,
|
gfold,
|
||||||
lib,
|
lib,
|
||||||
libiconv,
|
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
Security,
|
|
||||||
stdenv,
|
|
||||||
testers,
|
testers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,16 +17,11 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "nickgerace";
|
owner = "nickgerace";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-7wTU+yVp/GO1H1MbgZKO0OwqSC2jbHO0lU8aa0tHLTY=";
|
hash = "sha256-7wTU+yVp/GO1H1MbgZKO0OwqSC2jbHO0lU8aa0tHLTY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-idzw5dfCCvujvYr7DG0oOzQUIcbACtiIZLoA4MEClzY=";
|
cargoHash = "sha256-idzw5dfCCvujvYr7DG0oOzQUIcbACtiIZLoA4MEClzY=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
libiconv
|
|
||||||
Security
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = gfold;
|
package = gfold;
|
||||||
command = "gfold --version";
|
command = "gfold --version";
|
||||||
|
@ -1199,9 +1199,7 @@ with pkgs;
|
|||||||
|
|
||||||
forgejo-lts = callPackage ../by-name/fo/forgejo/lts.nix { };
|
forgejo-lts = callPackage ../by-name/fo/forgejo/lts.nix { };
|
||||||
|
|
||||||
gfold = callPackage ../applications/version-management/gfold {
|
gfold = callPackage ../applications/version-management/gfold { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user