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