ocamlPackages.tar: 2.2.2 → 2.5.1

This commit is contained in:
Vincent Laporte 2023-09-05 21:47:52 +02:00
parent 9b7c14b350
commit 90fcbd21f6
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
3 changed files with 10 additions and 10 deletions

View file

@ -2,20 +2,18 @@
, fetchurl
, buildDunePackage
, camlp-streams
, ppx_cstruct
, cstruct
, decompress
}:
buildDunePackage rec {
pname = "tar";
version = "2.2.2";
version = "2.5.1";
src = fetchurl {
url = "https://github.com/mirage/ocaml-tar/releases/download/v${version}/tar-${version}.tbz";
hash = "sha256-Q+41LPFZFHi9sXKFV3F13FZZNO3KXRSElEmr+nH58Uw=";
hash = "sha256-00QPSIZnoFvhZEnDcdEDJUqhE0uKLxNMM2pUE8aMPfQ=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
@ -24,10 +22,6 @@ buildDunePackage rec {
decompress
];
buildInputs = [
ppx_cstruct
];
doCheck = true;
meta = {

View file

@ -3,12 +3,12 @@
, tar
, cstruct-lwt
, lwt
, git
}:
buildDunePackage rec {
pname = "tar-unix";
inherit (tar) version src doCheck;
duneVersion = "3";
propagatedBuildInputs = [
tar
@ -16,6 +16,10 @@ buildDunePackage rec {
lwt
];
nativeCheckInputs = [
git
];
meta = tar.meta // {
description = "Decode and encode tar format files from Unix";
};

View file

@ -1693,7 +1693,9 @@ let
tar = callPackage ../development/ocaml-modules/tar { };
tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix { };
tar-unix = callPackage ../development/ocaml-modules/tar/unix.nix {
inherit (pkgs) git;
};
tcpip = callPackage ../development/ocaml-modules/tcpip { };