mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ocamlPackages.irmin: init at 2.0.0
This commit is contained in:
parent
e7857f0d30
commit
c07de6cd86
31
pkgs/development/ocaml-modules/irmin/default.nix
Normal file
31
pkgs/development/ocaml-modules/irmin/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, astring, base64, digestif, fmt, jsonm, logs, ocaml_lwt, ocamlgraph, uri
|
||||
, alcotest, hex
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "irmin";
|
||||
version = "2.0.0";
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
|
||||
sha256 = "09qffvgi5yrm3ghiywlbdhjly8xb5x5njnan213q8j033fzmf2dr";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
|
||||
}
|
@ -370,6 +370,8 @@ let
|
||||
|
||||
iri = callPackage ../development/ocaml-modules/iri { };
|
||||
|
||||
irmin = callPackage ../development/ocaml-modules/irmin { };
|
||||
|
||||
jingoo = callPackage ../development/ocaml-modules/jingoo {
|
||||
pcre = ocaml_pcre;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user