mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
1b6189117f
This commit adds the `xsv` utility. It is quite useful when dealing with CSV files
25 lines
649 B
Nix
25 lines
649 B
Nix
{ 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;
|
|
};
|
|
}
|