nixpkgs/pkgs/tools/text/xsv/default.nix

26 lines
701 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform, Security }:
2018-05-12 20:02:52 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "xsv";
2018-05-12 20:02:52 +00:00
version = "0.13.0";
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "xsv";
2018-05-12 20:02:52 +00:00
rev = version;
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
};
cargoSha256 = "1q59nvklh5r2mrsz656z6js3j2l6rqyhfz6l0yq28df5kyahk91b";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
description = "A fast CSV toolkit written in Rust";
homepage = https://github.com/BurntSushi/xsv;
2018-05-12 20:02:52 +00:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.jgertm ];
platforms = platforms.all;
};
}