diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 10:29:01 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 17:02:11 +0000 |
commit | c07de6cd86a74562078f6f472b9c32a36347558d (patch) | |
tree | 43ec78b7db0cb41553f7b87511a6e0a7b649a38a /pkgs/development/ocaml-modules/irmin | |
parent | e7857f0d3010d7716f0fb15e7227d12af971d7e9 (diff) | |
download | nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar.gz nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar.bz2 nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar.lz nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar.xz nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.tar.zst nixpkgs-c07de6cd86a74562078f6f472b9c32a36347558d.zip |
ocamlPackages.irmin: init at 2.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/irmin')
-rw-r--r-- | pkgs/development/ocaml-modules/irmin/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/irmin/default.nix b/pkgs/development/ocaml-modules/irmin/default.nix new file mode 100644 index 00000000000..2db57671177 --- /dev/null +++ b/pkgs/development/ocaml-modules/irmin/default.nix @@ -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 ]; + }; + +} |