depot/third_party/nixpkgs/pkgs/development/ocaml-modules/irmin/unix.nix

34 lines
642 B
Nix
Raw Normal View History

{ lib, buildDunePackage
, checkseum, cmdliner, git-unix, git-cohttp-unix, yaml, fpath
, irmin, irmin-fs, irmin-git, irmin-graphql, irmin-http
, irmin-pack, irmin-watcher, irmin-test, cacert
}:
buildDunePackage rec {
pname = "irmin-unix";
inherit (irmin) version src;
useDune2 = true;
propagatedBuildInputs = [
checkseum cmdliner git-unix yaml fpath
irmin irmin-fs irmin-git irmin-graphql irmin-http
irmin-pack irmin-watcher git-cohttp-unix
];
checkInputs = [
irmin-test cacert
];
doCheck = true;
meta = irmin.meta // {
description = "Unix backends for Irmin";
mainProgram = "irmin";
};
}