Files
nixpkgs/pkgs/development/ocaml-modules/tar/default.nix
Marijan Petričević ec8b0eeac8 ocamlPackages.tar: 2.6.0 -> 3.3.0
comby: mark as broken
2025-07-22 04:19:08 +02:00

33 lines
669 B
Nix

{
lib,
fetchurl,
buildDunePackage,
camlp-streams,
decompress,
}:
buildDunePackage rec {
pname = "tar";
version = "3.3.0";
src = fetchurl {
url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz";
hash = "sha256-89aw1nf9QP0euAvMxgu2EyIDWL5Y9mxfqL8CV/Pl65Y=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
camlp-streams
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 ];
};
}