mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
xsv: Add darwin.Security as dependency on MacOS
This commit is contained in:
parent
7a9acea944
commit
b8fbaebf08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user