mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
3a0933a030
* ocamlPackages.{ipaddr,macaddr}: 3.1.0 → 5.0.0 * ipaddr-cstruct: new package (since 4.0.0) * ipaddr-sexp: new package (since 4.0.0) * macaddr-cstruct: new package (since 4.0.0) * macaddr-sexp: new package (since 4.0.0) * macaddr: enable tests (don't depend on ipaddr anymore) * ocamlPackages.tuntap: 1.3.0 → 2.0.0 * ocamlPackages.conduit{,-lwt,-lwt-unix}: 1.4.0 → 2.2.2 * ocamlPackages.cohttp{,-lwt,-lwt-unix}: 2.1.3 → 2.5.1 * ocamlPackages: use dune 2 if pkg (indirectly) depends on cohttp-lwt-unix dune refuses to build a package if one of its dependencies uses dune 2.
29 lines
578 B
Nix
29 lines
578 B
Nix
{ lib, buildDunePackage
|
|
, checkseum, cmdliner, git-unix, yaml
|
|
, irmin, irmin-fs, irmin-git, irmin-graphql, irmin-http, irmin-mem, irmin-pack, irmin-watcher
|
|
, irmin-test
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "irmin-unix";
|
|
|
|
inherit (irmin) version src;
|
|
|
|
useDune2 = true;
|
|
|
|
propagatedBuildInputs = [ checkseum cmdliner git-unix yaml
|
|
irmin irmin-fs irmin-git irmin-graphql irmin-http irmin-mem irmin-pack irmin-watcher
|
|
];
|
|
|
|
checkInputs = lib.optional doCheck irmin-test;
|
|
|
|
doCheck = true;
|
|
|
|
meta = irmin.meta // {
|
|
description = "Unix backends for Irmin";
|
|
};
|
|
|
|
}
|
|
|