depot/third_party/nixpkgs/pkgs/development/tools/zsv/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

31 lines
755 B
Nix

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