forked from mirrors/nixpkgs
go-license-detector: fix build on darwin
This commit is contained in:
parent
4f8836ee99
commit
26f5b0ed8f
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-license-detector";
|
||||
|
@ -13,7 +13,9 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "163f1kiy7kqrnaazb8ydaaiz57lv30jyjkvv6i7pczvcg9yfhmdb";
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Reliable project licenses detector";
|
||||
homepage = "https://github.com/src-d/go-license-detector";
|
||||
license = licenses.asl20;
|
||||
|
|
|
@ -26348,7 +26348,9 @@ in
|
|||
|
||||
quartus-prime-lite = callPackage ../applications/editors/quartus-prime {};
|
||||
|
||||
go-license-detector = callPackage ../development/tools/misc/go-license-detector { };
|
||||
go-license-detector = callPackage ../development/tools/misc/go-license-detector {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
hashdeep = callPackage ../tools/security/hashdeep { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue