depot/third_party/nixpkgs/pkgs/development/ocaml-modules/tar/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

41 lines
667 B
Nix

{ lib
, fetchFromGitHub
, buildDunePackage
, camlp-streams
, ppx_cstruct
, cstruct
, re
, ppx_tools
}:
buildDunePackage rec {
pname = "tar";
version = "2.0.1";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-tar";
rev = "v${version}";
sha256 = "1zr1ak164k1jm15xwqjf1iv77kdrrahak33wrxg7lifz9nnl0dms";
};
useDune2 = true;
propagatedBuildInputs = [
camlp-streams
ppx_cstruct
cstruct
re
];
buildInputs = [
ppx_tools
];
doCheck = true;
meta = {
description = "Decode and encode tar format files from Unix";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}