ocamlPackages.emile: migrate to finalAttrs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
cmdliner,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "emile";
|
||||
version = "1.1";
|
||||
|
||||
@@ -19,7 +19,7 @@ buildDunePackage rec {
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dinosaure/emile/releases/download/v${version}/emile-v${version}.tbz";
|
||||
url = "https://github.com/dinosaure/emile/releases/download/v${finalAttrs.version}/emile-v${finalAttrs.version}.tbz";
|
||||
hash = "sha256:0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p";
|
||||
};
|
||||
|
||||
@@ -42,4 +42,4 @@ buildDunePackage rec {
|
||||
homepage = "https://github.com/dinosaure/emile";
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user