3
0
Fork 0
forked from mirrors/nixpkgs

awsweeper: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:43:00 -05:00
parent a35fcc1000
commit 1da05f29db
2 changed files with 7 additions and 3 deletions

View file

@ -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;

View file

@ -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;