forked from mirrors/nixpkgs
cassowary: fix build on darwin
This commit is contained in:
parent
9fe9b59757
commit
a35fcc1000
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cassowary";
|
pname = "cassowary";
|
||||||
|
@ -13,9 +13,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c";
|
modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/rogerwelin/cassowary";
|
homepage = "https://github.com/rogerwelin/cassowary";
|
||||||
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
|
@ -1443,7 +1443,9 @@ in
|
||||||
|
|
||||||
ccnet = callPackage ../tools/networking/ccnet { };
|
ccnet = callPackage ../tools/networking/ccnet { };
|
||||||
|
|
||||||
cassowary = callPackage ../tools/networking/cassowary { };
|
cassowary = callPackage ../tools/networking/cassowary {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
croc = callPackage ../tools/networking/croc {
|
croc = callPackage ../tools/networking/croc {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Reference in a new issue