coloursum: fix darwin build

This commit is contained in:
Vladyslav M 2019-11-09 21:52:54 +02:00
parent e8aadfe74c
commit dedf6ded5a
2 changed files with 6 additions and 2 deletions

View File

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

View File

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