forked from mirrors/nixpkgs
c59b8ce9c3
* ocamlPackages.index: 1.2.1 -> 1.3.0 * ocamlPackages.decompress: 0.9.0 -> 1.2.0 * ocamlPackages.imagelib-unix: remove at 20191011 * ocamlPackages.imagelib: 20191011 -> 20200929 * ocamlPackages.duff: 0.2 -> 0.3 * ocamlPackages.carton{,-git,-lwt}: init at 0.2.0 * ocamlPackages.encore: 0.5 → 0.7 * ocamlPackages.git-http: remove at 2.1.3 * ocamlPackages.git-unix: move into git directory * ocamlPackages.irmin-mem: remove at 2.2.0 Replaced by irmin.mem contained in ocamlPackages.irmin >= 2.4.0 * ocamlPackages.git*: 2.1.3 -> 3.2.0 ocamlPackages.git-unix: 2.1.3 -> 3.2.0 ocamlPackages.git-cohttp{,-unix,-mirage}: init at 3.2.0 * ocamlPackages.irmin*: 2.2.0 -> 2.4.0 ocamlPackages.irmin-containers: init at 2.4.0 ocamlPackages.irmin-layers: init at 2.4.0 ocamlPackages.irmin-mirage: init at 2.4.0 ocamlPackages.irmin-mirage-git: init at 2.4.0 ocamlPackages.irmin-mirage-graphql: init at 2.4.0 * ocamlPackages.wodan-irmin: mark as broken
67 lines
1.3 KiB
Nix
67 lines
1.3 KiB
Nix
{ lib, buildDunePackage, fetchurl
|
|
, ke, duff, decompress, cstruct, optint, bigstringaf, stdlib-shims
|
|
, bigarray-compat, checkseum, logs, psq, fmt
|
|
, result, rresult, fpath, base64, bos, digestif, mmap, alcotest
|
|
, crowbar, alcotest-lwt, lwt, findlib, mirage-flow, cmdliner
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "carton";
|
|
version = "0.2.0";
|
|
|
|
useDune2 = true;
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/${pname}-${pname}-v${version}.tbz";
|
|
sha256 = "0gfns4a9p9540kijccsg52yzyn3jfvi737mb0g71yazyc89dqwhn";
|
|
};
|
|
|
|
# remove changelogs for mimic and the git* packages
|
|
postPatch = ''
|
|
rm CHANGES.md CHANGES.mimic.md
|
|
'';
|
|
|
|
buildInputs = [
|
|
cmdliner
|
|
digestif
|
|
mmap
|
|
result
|
|
rresult
|
|
fpath
|
|
bos
|
|
];
|
|
propagatedBuildInputs = [
|
|
ke
|
|
duff
|
|
decompress
|
|
cstruct
|
|
optint
|
|
bigstringaf
|
|
stdlib-shims
|
|
bigarray-compat
|
|
checkseum
|
|
logs
|
|
psq
|
|
fmt
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
base64
|
|
alcotest
|
|
alcotest-lwt
|
|
crowbar
|
|
lwt
|
|
findlib
|
|
mirage-flow
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of PACKv2 file in OCaml";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/mirage/ocaml-git";
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
};
|
|
}
|