depot/third_party/nixpkgs/pkgs/development/tools/zsv/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

29 lines
662 B
Nix

{ lib, stdenv, fetchFromGitHub, perl, jq }:
stdenv.mkDerivation rec {
pname = "zsv";
version = "0.3.3-alpha";
src = fetchFromGitHub {
owner = "liquidaty";
repo = "zsv";
rev = "v${version}";
sha256 = "sha256-gKtnyBCgiXNKiAjOYk2rxExfcNGHEAmjealcCTWRj+M=";
};
nativeBuildInputs = [ perl ];
buildInputs = [ jq ];
configureFlags = [
"--jq-prefix=${jq.lib}"
];
meta = with lib; {
description = "World's fastest (simd) CSV parser, with an extensible CLI";
homepage = "https://github.com/liquidaty/zsv";
license = licenses.mit;
maintainers = with maintainers; [ marsam ];
platforms = platforms.all;
};
}