5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
33 lines
684 B
Nix
33 lines
684 B
Nix
{ 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 ];
|
|
};
|
|
}
|