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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
688 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
2018-05-12 22:02:52 +02:00
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "xsv";
2018-05-12 22:02:52 +02:00
version = "0.13.0";
src = fetchFromGitHub {
owner = "BurntSushi";
repo = "xsv";
2018-05-12 22:02:52 +02:00
rev = version;
sha256 = "17v1nw36mrarrd5yv4xd3mpc1d7lvhd5786mqkzyyraf78pjg045";
};
cargoSha256 = "1bh60zgflaa5n914irkr4bpq3m4h2ngcj6bp5xx1qj112dwgvmyb";
2021-01-15 10:19:50 +01:00
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";
2018-05-12 22:02:52 +02:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.jgertm ];
};
}