ocamlPackages.pcap-format: migrate to finalAttrs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
ounit,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "pcap-format";
|
||||
version = "0.6.0";
|
||||
|
||||
@@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-pcap/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
url = "https://github.com/mirage/ocaml-pcap/releases/download/v${finalAttrs.version}/pcap-format-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-LUjy8Xm6VsnMq1FHKzmJg7uorkTv7cOTsoLwmtNHkaY=";
|
||||
};
|
||||
|
||||
@@ -38,4 +38,4 @@ buildDunePackage rec {
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user