From 1b6189117f304c703794d94bd5ecc82fa1f85637 Mon Sep 17 00:00:00 2001 From: Tim Jaeger Date: Thu, 30 Mar 2017 16:11:35 +0200 Subject: xsv: init at 0.11.0 This commit adds the `xsv` utility. It is quite useful when dealing with CSV files --- pkgs/tools/text/xsv/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/tools/text/xsv/default.nix (limited to 'pkgs/tools/text/xsv/default.nix') 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; + }; +} -- cgit 1.4.1