mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
ocaml-erm_xmpp_0_3: init at 0.3
This commit is contained in:
parent
9554143a9c
commit
096ec04b82
29
pkgs/development/ocaml-modules/erm_xmpp/0.3.nix
Normal file
29
pkgs/development/ocaml-modules/erm_xmpp/0.3.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, buildOcaml, fetchFromGitHub, fetchurl, ocaml, findlib, erm_xml, nocrypto, camlp4 }:
|
||||
|
||||
buildOcaml rec {
|
||||
version = "0.3";
|
||||
name = "erm_xmpp";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hannesm";
|
||||
repo = "xmpp";
|
||||
rev = "eee18bd3dd343550169969c0b45548eafd51cfe1";
|
||||
sha256 = "0hzs528lrx1ayalv6fh555pjn0b4l8xch1f72hd3b07g1xahdas5";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib camlp4 ];
|
||||
propagatedBuildInputs = [ erm_xml nocrypto ];
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/hannesm/xmpp;
|
||||
description = "OCaml based XMPP implementation (fork).";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
|
||||
};
|
||||
}
|
|
@ -158,6 +158,8 @@ let
|
|||
|
||||
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
|
||||
|
||||
erm_xmpp_0_3 = callPackage ../development/ocaml-modules/erm_xmpp/0.3.nix { };
|
||||
|
||||
estring = callPackage ../development/ocaml-modules/estring { };
|
||||
|
||||
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
|
||||
|
|
Loading…
Reference in a new issue