diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix new file mode 100644 index 000000000000..388917e68050 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b6aa738264ef..836eb3695c79 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4698,6 +4698,8 @@ with pkgs; xsel = callPackage ../tools/misc/xsel { }; + xsv = callPackages ../tools/text/xsv { }; + xtreemfs = callPackage ../tools/filesystems/xtreemfs {}; xurls = callPackage ../tools/text/xurls {};