forked from mirrors/nixpkgs
awsweeper: fix build on darwin
This commit is contained in:
parent
a35fcc1000
commit
1da05f29db
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "awsweeper";
|
||||
|
@ -13,7 +13,9 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "14yvf0svh7xqpc2y7xr94pc6r7d3iv2nsr8qs3f5q29hdc5hv3fs";
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool to clean out your AWS account";
|
||||
homepage = "https://github.com/cloudetc/awsweeper/";
|
||||
license = licenses.mpl20;
|
||||
|
|
|
@ -1125,7 +1125,9 @@ in
|
|||
|
||||
awstats = callPackage ../tools/system/awstats { };
|
||||
|
||||
awsweeper = callPackage ../tools/admin/awsweeper { };
|
||||
awsweeper = callPackage ../tools/admin/awsweeper {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
axel = callPackage ../tools/networking/axel {
|
||||
libssl = openssl;
|
||||
|
|
Loading…
Reference in a new issue