2018-11-21 20:02:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
2017-03-30 16:11:35 +02:00
|
|
|
|
2018-05-12 22:02:52 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "xsv";
|
2018-05-12 22:02:52 +02:00
|
|
|
version = "0.13.0";
|
2017-03-30 16:11:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "xsv";
|
2018-05-12 22:02:52 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
|
2017-03-30 16:11:35 +02:00
|
|
|
};
|
|
|
|
|
2020-02-16 22:57:54 +01:00
|
|
|
cargoSha256 = "1q59nvklh5r2mrsz656z6js3j2l6rqyhfz6l0yq28df5kyahk91b";
|
2017-03-30 16:11:35 +02:00
|
|
|
|
2018-11-21 20:02:14 +01:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
2018-11-20 11:13:29 +01:00
|
|
|
|
2017-03-30 16:11:35 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fast CSV toolkit written in Rust";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/BurntSushi/xsv";
|
2018-05-12 22:02:52 +02:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
2017-03-30 16:11:35 +02:00
|
|
|
maintainers = [ maintainers.jgertm ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|