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 /pkgs/development/ocaml-modules | |
parent | 6f3696784d3321430c5851706b8d7d058e24e513 (diff) | |
download | nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.gz nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.bz2 nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.lz nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.xz nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.tar.zst nixpkgs-ed12c7a9b9b1545e07d25fdf062600d8b2d58c4e.zip |
ocamlPackages.git-http: init at 1.11.0
Client implementation of the “Smart” HTTP Git protocol in pure OCaml.
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/git-http/default.nix | 19 |
1 files changed, 19 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 00000000000..7df47b093b3 --- /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; + }; +} |