depot/third_party/nixpkgs/pkgs/development/ocaml-modules/irmin/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
799 B
Nix

{ lib, fetchurl, buildDunePackage
, astring, base64, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
, alcotest, hex
}:
buildDunePackage rec {
pname = "irmin";
version = "2.1.0";
minimumOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "1ji8r7zbdmhbk8r8w2hskd9z7pnvirzbhincfxndxgdaxbfkff5g";
};
propagatedBuildInputs = [ astring base64 digestif fmt jsonm logs ocaml_lwt ocamlgraph uri ];
checkInputs = lib.optionals doCheck [ alcotest hex ];
doCheck = true;
meta = {
homepage = "https://irmin.org/";
description = "A distributed database built on the same principles as Git";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}