ocamlPackages.psq: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-05-12 13:28:42 -05:00
parent a543758b97
commit 7ba2f55497
@@ -7,7 +7,7 @@
qcheck-alcotest,
}:
buildDunePackage rec {
buildDunePackage (finalAttrs: {
minimalOCamlVersion = "4.03";
pname = "psq";
version = "0.2.1";
@@ -15,7 +15,7 @@ buildDunePackage rec {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/pqwy/psq/releases/download/v${version}/psq-${version}.tbz";
url = "https://github.com/pqwy/psq/releases/download/v${finalAttrs.version}/psq-${finalAttrs.version}.tbz";
hash = "sha256-QgBfUz6r50sXme4yuJBWVM1moivtSvK9Jmso2EYs00Q=";
};
@@ -30,4 +30,4 @@ buildDunePackage rec {
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.isc;
};
}
})