Commit 8d27ef5b authored by ghpzin's avatar ghpzin
Browse files

zsv: 0.3.8-alpha -> 0.4.4-alpha

- update to latest tag (`0.4.4-alpha`), fixing build failure with GCC 14
- replace `with lib;` on `meta`
- replace `rec` with `finalAttrs`
parent 03bd4750
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -6,15 +6,15 @@
  jq,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "zsv";
  version = "0.3.8-alpha";
  version = "0.4.4-alpha";

  src = fetchFromGitHub {
    owner = "liquidaty";
    repo = "zsv";
    rev = "v${version}";
    hash = "sha256-+6oZvMlfLVTDLRlqOpgdZP2YxT6Zlt13wBMFlryBrXY=";
    rev = "v${finalAttrs.version}";
    hash = "sha256-XZE7jMQaPP2B1OIlkHucNrtiJy8wMEVY9gcc5X4FyNI=";
  };

  nativeBuildInputs = [ perl ];
@@ -25,13 +25,13 @@ stdenv.mkDerivation rec {
    "--jq-prefix=${lib.getLib jq}"
  ];

  meta = with lib; {
  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${version}";
    license = licenses.mit;
    changelog = "https://github.com/liquidaty/zsv/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ ];
    platforms = platforms.all;
    platforms = lib.platforms.all;
  };
}
})