blob: 3a21fd21a0c3fb6c20246b33770b95cd6728566f (
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
|
{ lib
, fetchurl
, buildDunePackage
, camlp-streams
, cstruct
, decompress
}:
buildDunePackage rec {
pname = "tar";
version = "2.5.1";
src = fetchurl {
url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz";
hash = "sha256-00QPSIZnoFvhZEnDcdEDJUqhE0uKLxNMM2pUE8aMPfQ=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
camlp-streams
cstruct
decompress
];
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 ];
};
}
|