nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ocamlPackages.pcap-format: 0.5.2 → 0.6.0

+8 -12
+8 -12
pkgs/development/ocaml-modules/pcap-format/default.nix
··· 1 1 { lib, buildDunePackage, fetchurl 2 - , ppx_cstruct, ppx_tools 3 - , cstruct, ounit, mmap, stdlib-shims 2 + , ppx_cstruct 3 + , cstruct 4 + , ounit 4 5 }: 5 6 6 7 buildDunePackage rec { 7 8 pname = "pcap-format"; 8 - version = "0.5.2"; 9 + version = "0.6.0"; 9 10 10 - minimumOCamlVersion = "4.03"; 11 - 12 - # due to cstruct 13 - useDune2 = true; 11 + minimalOCamlVersion = "4.08"; 12 + duneVersion = "3"; 14 13 15 14 src = fetchurl { 16 - url = "https://github.com/mirage/ocaml-pcap/releases/download/${version}/${pname}-${version}.tbz"; 17 - sha256 = "14c5rpgglyz41jic0fg0xa22d2w1syb86kva22y9fi7aqj9vm31f"; 15 + url = "https://github.com/mirage/ocaml-pcap/releases/download/v${version}/${pname}-${version}.tbz"; 16 + hash = "sha256-LUjy8Xm6VsnMq1FHKzmJg7uorkTv7cOTsoLwmtNHkaY="; 18 17 }; 19 18 20 19 buildInputs = [ 21 - ppx_tools 22 20 ppx_cstruct 23 21 ]; 24 22 25 23 propagatedBuildInputs = [ 26 24 cstruct 27 - stdlib-shims 28 25 ]; 29 26 30 27 doCheck = true; 31 28 checkInputs = [ 32 29 ounit 33 - mmap 34 30 ]; 35 31 36 32 meta = with lib; {