tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.pcap-format: 0.5.2 → 0.6.0
Vincent Laporte
3 years ago
37d68dd8
ae8da65c
+8
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
pcap-format
default.nix
+8
-12
pkgs/development/ocaml-modules/pcap-format/default.nix
reviewed
···
1
1
{ lib, buildDunePackage, fetchurl
2
2
-
, ppx_cstruct, ppx_tools
3
3
-
, cstruct, ounit, mmap, stdlib-shims
2
2
+
, ppx_cstruct
3
3
+
, cstruct
4
4
+
, ounit
4
5
}:
5
6
6
7
buildDunePackage rec {
7
8
pname = "pcap-format";
8
8
-
version = "0.5.2";
9
9
+
version = "0.6.0";
9
10
10
10
-
minimumOCamlVersion = "4.03";
11
11
-
12
12
-
# due to cstruct
13
13
-
useDune2 = true;
11
11
+
minimalOCamlVersion = "4.08";
12
12
+
duneVersion = "3";
14
13
15
14
src = fetchurl {
16
16
-
url = "https://github.com/mirage/ocaml-pcap/releases/download/${version}/${pname}-${version}.tbz";
17
17
-
sha256 = "14c5rpgglyz41jic0fg0xa22d2w1syb86kva22y9fi7aqj9vm31f";
15
15
+
url = "https://github.com/mirage/ocaml-pcap/releases/download/v${version}/${pname}-${version}.tbz";
16
16
+
hash = "sha256-LUjy8Xm6VsnMq1FHKzmJg7uorkTv7cOTsoLwmtNHkaY=";
18
17
};
19
18
20
19
buildInputs = [
21
21
-
ppx_tools
22
20
ppx_cstruct
23
21
];
24
22
25
23
propagatedBuildInputs = [
26
24
cstruct
27
27
-
stdlib-shims
28
25
];
29
26
30
27
doCheck = true;
31
28
checkInputs = [
32
29
ounit
33
33
-
mmap
34
30
];
35
31
36
32
meta = with lib; {