diff options
author | Tim Jaeger <jger.tm@gmail.com> | 2017-03-30 16:11:35 +0200 |
---|---|---|
committer | Tim Jaeger <jger.tm@gmail.com> | 2017-04-04 09:32:42 +0200 |
commit | 1b6189117f304c703794d94bd5ecc82fa1f85637 (patch) | |
tree | 7529d1032b27c435751b11956309eaaae467e420 /pkgs/tools/text/xsv | |
parent | 94d1145ece5075bfe7b23782e20ef68a23d9872e (diff) | |
download | nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar.gz nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar.bz2 nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar.lz nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar.xz nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.tar.zst nixpkgs-1b6189117f304c703794d94bd5ecc82fa1f85637.zip |
xsv: init at 0.11.0
This commit adds the `xsv` utility. It is quite useful when dealing with CSV files
Diffstat (limited to 'pkgs/tools/text/xsv')
-rw-r--r-- | pkgs/tools/text/xsv/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix new file mode 100644 index 00000000000..388917e6805 --- /dev/null +++ b/pkgs/tools/text/xsv/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }: + +with rustPlatform; + +buildRustPackage rec { + name = "xsv-${version}"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "BurntSushi"; + repo = "xsv"; + rev = "${version}"; + sha256 = "169rp4izcjhhlrqrhvlvsbiz7wqfi6g3kjfgrddgvahp0ls29hls"; + }; + + depsSha256 = "006sp66l2gybyk1n7lxp645k6drz5cgxcix376k8qr0v9jwadlqa"; + + 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; + }; +} |