ocamlPackages.diet: migrate to finalAttrs
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
ounit,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "diet";
|
||||
version = "0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-diet/releases/download/v${version}/diet-v${version}.tbz";
|
||||
url = "https://github.com/mirage/ocaml-diet/releases/download/v${finalAttrs.version}/diet-v${finalAttrs.version}.tbz";
|
||||
sha256 = "96acac2e4fdedb5f47dd8ad2562e723d85ab59cd1bd85554df21ec907b071741";
|
||||
};
|
||||
|
||||
@@ -28,4 +28,4 @@ buildDunePackage rec {
|
||||
description = "Simple implementation of Discrete Interval Encoding Trees";
|
||||
license = lib.licenses.isc;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user