ocamlPackages.git: init at 1.11.0
Git format and protocol in pure OCaml Homepage: https://github.com/mirage/ocaml-git
This commit is contained in:
parent
6eb2d7d44b
commit
6a0f4f69e1
31
pkgs/development/ocaml-modules/git/default.nix
Normal file
31
pkgs/development/ocaml-modules/git/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam
|
||||
, astring, decompress, fmt, hex, logs, mstruct, ocaml_lwt, ocamlgraph, uri
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.11.0";
|
||||
name = "ocaml${ocaml.version}-git-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mirage";
|
||||
repo = "ocaml-git";
|
||||
rev = version;
|
||||
sha256 = "1gsvp783g4jb54ccvvpyjpxjmp0pjvlq0cicygk4z4rxs0crd6kw";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib jbuilder ];
|
||||
|
||||
propagatedBuildInputs = [ astring decompress fmt hex logs mstruct ocaml_lwt ocamlgraph uri ];
|
||||
|
||||
buildPhase = "jbuilder build -p git";
|
||||
|
||||
inherit (jbuilder) installPhase;
|
||||
|
||||
meta = {
|
||||
description = "Git format and protocol in pure OCaml";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -247,6 +247,8 @@ let
|
||||
|
||||
gg = callPackage ../development/ocaml-modules/gg { };
|
||||
|
||||
git = callPackage ../development/ocaml-modules/git { };
|
||||
|
||||
gmetadom = callPackage ../development/ocaml-modules/gmetadom { };
|
||||
|
||||
gtktop = callPackage ../development/ocaml-modules/gtktop { };
|
||||
|
Loading…
Reference in New Issue
Block a user