ocamlPackages.bwd: migrate to finalAttrs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
qcheck-core,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "bwd";
|
||||
version = "2.3.0";
|
||||
|
||||
@@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "ocaml-bwd";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-rzn0U/D6kPNsH5hBTElc3d1jfKbgKbjA2JHicpaJtu4=";
|
||||
};
|
||||
|
||||
@@ -25,8 +25,8 @@ buildDunePackage rec {
|
||||
meta = {
|
||||
description = "Backward Lists";
|
||||
homepage = "https://github.com/RedPRL/ocaml-bwd";
|
||||
changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${version}/CHANGELOG.markdown";
|
||||
changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${finalAttrs.version}/CHANGELOG.markdown";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user