2017-05-02 18:45:36 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
2017-03-30 14:11:35 +00:00
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "xsv-${version}";
|
2017-07-02 09:05:00 +00:00
|
|
|
version = "0.12.1";
|
2017-03-30 14:11:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "xsv";
|
|
|
|
rev = "${version}";
|
2017-07-02 09:05:00 +00:00
|
|
|
sha256 = "0xmjx5grwjrx2zsqmpblid9pqpwkk9pv468ffqlza3w35n9x5dax";
|
2017-03-30 14:11:35 +00:00
|
|
|
};
|
|
|
|
|
2017-07-02 09:05:00 +00:00
|
|
|
depsSha256 = "0gdbxgykhy6wm89mbdvl7ck2v0f66hwlm0m1q7r64bkb7i10fmkd";
|
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;
|
|
|
|
license = with licenses; [ unlicense ];
|
|
|
|
maintainers = [ maintainers.jgertm ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|