a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
29 lines
660 B
Nix
29 lines
660 B
Nix
{ lib, stdenv, fetchFromGitHub, perl, jq }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsv";
|
|
version = "0.3.5-alpha";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liquidaty";
|
|
repo = "zsv";
|
|
rev = "v${version}";
|
|
hash = "sha256-HW/w2bJVnTELh36rUfGIzAsc6e+PTBGsAdHDz7gFAdI=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|