ocamlPackages.ppx_deriving: 6.1.0 → 6.1.1

This commit is contained in:
Vincent Laporte
2025-09-13 06:23:40 +02:00
parent 659398be14
commit c3b170a009

View File

@@ -13,7 +13,7 @@
ocaml-migrate-parsetree,
version ?
if lib.versionAtLeast ppxlib.version "0.36" then
"6.1.0"
"6.1.1"
else if lib.versionAtLeast ppxlib.version "0.32" then
"6.0.3"
else if lib.versionAtLeast ppxlib.version "0.20" then
@@ -27,7 +27,7 @@
let
hash =
{
"6.1.0" = "sha256-dHpWiOpjD3elCw6QJUrG+KZr3Ul0suhzdjQUJ4B9S1Y=";
"6.1.1" = "sha256-yR0epeFeaSii+JR9vRNbn3ZcwOLXK+JxQnmBr801DCQ=";
"6.0.3" = "sha256-N0qpezLF4BwJqXgQpIv6IYwhO1tknkRSEBRVrBnJSm0=";
"5.2.1" = "sha256:11h75dsbv3rs03pl67hdd3lbim7wjzh257ij9c75fcknbfr5ysz9";
"5.1" = "sha256:1i64fd7qrfzbam5hfbl01r0sx4iihsahcwqj13smmrjlnwi3nkxh";
@@ -41,7 +41,9 @@ buildDunePackage rec {
inherit version;
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${version}/ppx_deriving-${lib.optionalString (lib.versionOlder version "6.0") "v"}${version}.tbz";
url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${version}/ppx_deriving-${lib.optionalString (lib.versionOlder version "6.0") "v"}${version}.${
if lib.versionAtLeast version "6.1.1" then "tar.gz" else "tbz"
}";
inherit hash;
};