587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
688 B
Nix
25 lines
688 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "xsv";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BurntSushi";
|
|
repo = "xsv";
|
|
rev = version;
|
|
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
|
|
};
|
|
|
|
cargoSha256 = "1bh60zgflaa5n914irkr4bpq3m4h2ngcj6bp5xx1qj112dwgvmyb";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with lib; {
|
|
description = "A fast CSV toolkit written in Rust";
|
|
mainProgram = "xsv";
|
|
homepage = "https://github.com/BurntSushi/xsv";
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
maintainers = [ maintainers.jgertm ];
|
|
};
|
|
}
|