forked from mirrors/nixpkgs
xsv: init at 0.11.0
This commit adds the `xsv` utility. It is quite useful when dealing with CSV files
This commit is contained in:
parent
94d1145ece
commit
1b6189117f
25
pkgs/tools/text/xsv/default.nix
Normal file
25
pkgs/tools/text/xsv/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -4666,6 +4666,8 @@ with pkgs;
|
|||
|
||||
xsel = callPackage ../tools/misc/xsel { };
|
||||
|
||||
xsv = callPackages ../tools/text/xsv { };
|
||||
|
||||
xtreemfs = callPackage ../tools/filesystems/xtreemfs {};
|
||||
|
||||
xurls = callPackage ../tools/text/xurls {};
|
||||
|
|
Loading…
Reference in a new issue