diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 10:29:18 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-09 17:02:12 +0000 |
commit | 191f1c9a49892d99671e4e2f4cc9676c0f76e78a (patch) | |
tree | 6aefe73a99e77f83b37e4e9bdfb1be1f41657c94 /pkgs | |
parent | 45d3c40cc45159f53e7da291c4937cfba899b968 (diff) | |
download | nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.gz nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.bz2 nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.lz nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.xz nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.zst nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.zip |
ocamlPackages.irmin-http: init at 2.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/irmin/http.nix | 23 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/irmin/http.nix b/pkgs/development/ocaml-modules/irmin/http.nix new file mode 100644 index 000000000000..c8db6d563c9d --- /dev/null +++ b/pkgs/development/ocaml-modules/irmin/http.nix @@ -0,0 +1,23 @@ +{ lib, buildDunePackage, cohttp-lwt, irmin, webmachine +, checkseum, git-unix, irmin-git, irmin-mem, irmin-test +}: + +buildDunePackage rec { + + pname = "irmin-http"; + + inherit (irmin) version src; + + propagatedBuildInputs = [ cohttp-lwt irmin webmachine ]; + + checkInputs = lib.optionals doCheck [ checkseum git-unix irmin-git irmin-mem irmin-test ]; + + doCheck = true; + + meta = irmin.meta // { + description = "HTTP client and server for Irmin"; + }; + +} + + diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index e20f92d0f845..762506de27f5 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -374,6 +374,8 @@ let irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { }; + irmin-http = callPackage ../development/ocaml-modules/irmin/http.nix { }; + irmin-mem = callPackage ../development/ocaml-modules/irmin/mem.nix { }; irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { }; |