2017-05-02 18:45:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
2017-03-30 14:11:35 +00:00
|
|
|
|
2018-05-12 20:02:52 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2017-03-30 14:11:35 +00:00
|
|
|
name = "xsv-${version}";
|
2018-05-12 20:02:52 +00:00
|
|
|
version = "0.13.0";
|
2017-03-30 14:11:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "xsv";
|
2018-05-12 20:02:52 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
|
2017-03-30 14:11:35 +00:00
|
|
|
};
|
|
|
|
|
2018-05-12 20:02:52 +00:00
|
|
|
cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6";
|
2017-03-30 14:11:35 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fast CSV toolkit written in Rust";
|
|
|
|
homepage = https://github.com/BurntSushi/xsv;
|
2018-05-12 20:02:52 +00:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
2017-03-30 14:11:35 +00:00
|
|
|
maintainers = [ maintainers.jgertm ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|