pet: fix build on darwin
This commit is contained in:
parent
fda0e24e58
commit
42b14764ab
@ -1,4 +1,4 @@
|
|||||||
{ buildGoModule, fetchFromGitHub, lib }:
|
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "pet";
|
pname = "pet";
|
||||||
@ -13,9 +13,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
|
modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Simple command-line snippet manager, written in Go";
|
description = "Simple command-line snippet manager, written in Go";
|
||||||
homepage = https://github.com/knqyf263/pet;
|
homepage = https://github.com/knqyf263/pet;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
@ -301,7 +301,9 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
pet = callPackage ../development/tools/pet { };
|
pet = callPackage ../development/tools/pet {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
run = callPackage ../development/tools/run { };
|
run = callPackage ../development/tools/run { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user