blob: 031bd4d5b141e4a52aad788c019bd3d706d8ee1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, fetchurl
, buildDunePackage
, camlp-streams
, ppx_cstruct
, cstruct
, decompress
}:
buildDunePackage rec {
pname = "tar";
version = "2.2.2";
src = fetchurl {
url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz";
hash = "sha256-Q+41LPFZFHi9sXKFV3F13FZZNO3KXRSElEmr+nH58Uw=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
camlp-streams
cstruct
decompress
];
buildInputs = [
ppx_cstruct
];
doCheck = true;
meta = {
description = "Decode and encode tar format files in pure OCaml";
homepage = "https://github.com/mirage/ocaml-tar";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}
|