mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
31 lines
737 B
Nix
31 lines
737 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 = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|