Merge pull request #50836 from daniels/patch-3

xsv: Add darwin.Security as dependency on MacOS
This commit is contained in:
Daiderd Jordan 2018-11-21 21:13:40 +01:00 committed by GitHub
commit ed9741790d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {
name = "xsv-${version}";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "A fast CSV toolkit written in Rust";
homepage = https://github.com/BurntSushi/xsv;

View File

@ -6330,7 +6330,9 @@ with pkgs;
xsel = callPackage ../tools/misc/xsel { };
xsv = callPackage ../tools/text/xsv { };
xsv = callPackage ../tools/text/xsv {
inherit (darwin.apple_sdk.frameworks) Security;
};
xtreemfs = callPackage ../tools/filesystems/xtreemfs {
boost = boost165;