xsv: Add darwin.Security as dependency on MacOS

This commit is contained in:
Daniel Sandbecker 2018-11-20 11:13:29 +01:00 committed by GitHub
parent 7a9acea944
commit b8fbaebf08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform, pkgs }:
rustPlatform.buildRustPackage rec {
name = "xsv-${version}";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";
buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security;
meta = with stdenv.lib; {
description = "A fast CSV toolkit written in Rust";
homepage = https://github.com/BurntSushi/xsv;