3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/tar/default.nix
2021-10-13 10:04:20 +02:00

40 lines
633 B
Nix

{ lib
, fetchFromGitHub
, buildDunePackage
, ppx_cstruct
, cstruct
, re
, ppx_tools
}:
buildDunePackage rec {
pname = "tar";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-tar";
rev = "v${version}";
sha256 = "14k24vn3q5jl0iyrynb5vwg80670qsv12fsmc6cdgh4zwdpjh7zs";
};
useDune2 = true;
propagatedBuildInputs = [
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 ];
};
}