coloursum: fix darwin build
This commit is contained in:
parent
e8aadfe74c
commit
dedf6ded5a
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "coloursum";
|
||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "091flc5ymx0y43ld6bdmig5cy479b90bkmwv3yaysi5kpr28skvh";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Colourise your checksum output";
|
||||
homepage = "https://github.com/ticky/coloursum";
|
||||
|
|
|
@ -1456,7 +1456,9 @@ in
|
|||
|
||||
colorls = callPackage ../tools/system/colorls { };
|
||||
|
||||
coloursum = callPackage ../tools/text/coloursum { };
|
||||
coloursum = callPackage ../tools/text/coloursum {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
compsize = callPackage ../os-specific/linux/compsize { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue