nixpkgs/pkgs/tools/text/xsv/default.nix
Benjamin Hipple 0504571874 xsv: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; ran `nixpkgs-review wip` successfully.
2020-02-16 16:57:54 -05:00

26 lines
701 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "xsv";
version = "0.13.0";
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "xsv";
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;
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.jgertm ];
platforms = platforms.all;
};
}