2017-05-02 20:45:36 +02:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
2017-03-30 16:11:35 +02:00
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "xsv-${version}";
|
2017-08-26 16:09:25 +02:00
|
|
|
version = "0.12.2";
|
2017-03-30 16:11:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BurntSushi";
|
|
|
|
repo = "xsv";
|
|
|
|
rev = "${version}";
|
2017-08-26 16:09:25 +02:00
|
|
|
sha256 = "0z1z3b6nzaid510jaikkawvpmv4kjphzz84p0hppq6vcp5jy00s2";
|
2017-03-30 16:11:35 +02:00
|
|
|
};
|
|
|
|
|
2017-08-05 16:38:48 +02:00
|
|
|
cargoSha256 = "0pdzh2xr40dgwravh3i58g602bpszj6c8inggzgmq2kfk8ck6rgj";
|
2017-03-30 16:11:35 +02: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;
|
|
|
|
};
|
|
|
|
}
|