2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xsv";
|
|
|
|
version = "0.13.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "xsv";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "1q59nvklh5r2mrsz656z6js3j2l6rqyhfz6l0yq28df5kyahk91b";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A fast CSV toolkit written in Rust";
|
|
|
|
homepage = "https://github.com/BurntSushi/xsv";
|
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.jgertm ];
|
|
|
|
};
|
|
|
|
}
|