ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
24 lines
663 B
Nix
24 lines
663 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "xsv";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BurntSushi";
|
|
repo = "xsv";
|
|
rev = version;
|
|
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
|
|
};
|
|
|
|
cargoSha256 = "1bh60zgflaa5n914irkr4bpq3m4h2ngcj6bp5xx1qj112dwgvmyb";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with lib; {
|
|
description = "A fast CSV toolkit written in Rust";
|
|
homepage = "https://github.com/BurntSushi/xsv";
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
maintainers = [ maintainers.jgertm ];
|
|
};
|
|
}
|