nixpkgs/pkgs/development/ocaml-modules/tar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
667 B
Nix
Raw Normal View History

2021-09-21 10:43:13 +02:00
{ lib
, fetchFromGitHub
, buildDunePackage
2022-05-28 05:48:46 +02:00
, camlp-streams
2021-09-21 10:43:13 +02:00
, ppx_cstruct
, cstruct
, re
, ppx_tools
}:
buildDunePackage rec {
pname = "tar";
2022-05-28 05:48:46 +02:00
version = "2.0.1";
2021-09-21 10:43:13 +02:00
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-tar";
rev = "v${version}";
2022-05-28 05:48:46 +02:00
sha256 = "1zr1ak164k1jm15xwqjf1iv77kdrrahak33wrxg7lifz9nnl0dms";
2021-09-21 10:43:13 +02:00
};
useDune2 = true;
propagatedBuildInputs = [
2022-05-28 05:48:46 +02:00
camlp-streams
2021-09-21 10:43:13 +02:00
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 ];
};
}