diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 08:26:39 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-07-02 11:59:16 +0000 |
commit | ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e (patch) | |
tree | 077a0076bb5dc93bd2bd2a7e744cecd551feaadb | |
parent | 6f3696784d3321430c5851706b8d7d058e24e513 (diff) | |
download | nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.gz nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.bz2 nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.lz nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.xz nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.zst nixlib-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.zip |
ocamlPackages.git-http: init at 1.11.0
Client implementation of the “Smart” HTTP Git protocol in pure OCaml.
-rw-r--r-- | pkgs/development/ocaml-modules/git-http/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/git-http/default.nix b/pkgs/development/ocaml-modules/git-http/default.nix new file mode 100644 index 000000000000..7df47b093b35 --- /dev/null +++ b/pkgs/development/ocaml-modules/git-http/default.nix @@ -0,0 +1,19 @@ +{ stdenv, ocaml, findlib, jbuilder, git, cohttp }: + +stdenv.mkDerivation rec { + name = "ocaml${ocaml.version}-git-http-${version}"; + inherit (git) version src; + + buildInputs = [ ocaml findlib jbuilder ]; + + propagatedBuildInputs = [ git cohttp ]; + + buildPhase = "jbuilder build -p git-http"; + + inherit (jbuilder) installPhase; + + meta = { + description = "Client implementation of the “Smart” HTTP Git protocol in pure OCaml"; + inherit (git.meta) homepage license maintainers platforms; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 1b2e23916ef2..a7db46f21f1a 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -249,6 +249,8 @@ let git = callPackage ../development/ocaml-modules/git { }; + git-http = callPackage ../development/ocaml-modules/git-http { }; + gmetadom = callPackage ../development/ocaml-modules/gmetadom { }; gtktop = callPackage ../development/ocaml-modules/gtktop { }; |