ocamlPackages.dtoa: migrate to finalAttrs
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
ounit2,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "dtoa";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
url = "https://github.com/flowtype/ocaml-dtoa/releases/download/v${finalAttrs.version}/dtoa-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-2PRgjJ6Ssp4l6jHzv1/MqzlomQlJkKLVnRXG6KPJ7j4=";
|
||||
};
|
||||
|
||||
@@ -28,4 +28,4 @@ buildDunePackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.eqyiel ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user