depot/third_party/nixpkgs/pkgs/development/tools/zsv/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

29 lines
699 B
Nix

{ lib, stdenv, fetchFromGitHub, perl, jq }:
stdenv.mkDerivation rec {
pname = "zsv";
version = "unstable-2022-11-12";
src = fetchFromGitHub {
owner = "liquidaty";
repo = "zsv";
rev = "058a990e2086e639d1e11ed8b2ae81b03e4bfcac";
sha256 = "sha256-V1wkwNSpMsSpaL/j4z4TN59W1+Xn6MYMEWBdwdtTz+s=";
};
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;
};
}