Unverified Commit 27be6be9 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

zsv: remove perl deps; adopted (#485539)

parents 6b6dc591 00144314
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
  lib,
  stdenv,
  fetchFromGitHub,
  perl,
  jq,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -13,25 +13,25 @@ stdenv.mkDerivation (finalAttrs: {
  src = fetchFromGitHub {
    owner = "liquidaty";
    repo = "zsv";
    rev = "v${finalAttrs.version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-6Gc9RDrQmayTnCoFHYN8B3gdqR3CPyyLWtO31WpnJ3o=";
  };

  nativeBuildInputs = [ perl ];

  buildInputs = [ jq ];

  configureFlags = [
    "--jq-prefix=${lib.getLib jq}"
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    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${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ ];
    maintainers = with lib.maintainers; [ chillcicada ];
    platforms = lib.platforms.all;
  };
})