6064764516
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
39 lines
633 B
Nix
39 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 ];
|
|
};
|
|
}
|