ocamlPackages.mirage-console: migrate to finalAttrs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
mirage-flow,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "mirage-console";
|
||||
version = "5.1.0";
|
||||
|
||||
@@ -14,7 +14,7 @@ buildDunePackage rec {
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz";
|
||||
url = "https://github.com/mirage/mirage-console/releases/download/v${finalAttrs.version}/mirage-console-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM=";
|
||||
};
|
||||
|
||||
@@ -29,4 +29,4 @@ buildDunePackage rec {
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user