diff options
author | sternenseemann <git@lukasepple.de> | 2016-11-03 11:36:40 +0100 |
---|---|---|
committer | sternenseemann <git@lukasepple.de> | 2016-11-03 14:39:26 +0100 |
commit | 096ec04b8221926609ad62dfb6cd6c7ade2fcd52 (patch) | |
tree | 65ca9db4eeca9c0ae250ddb4127b7ee5906a3a30 /pkgs/development/ocaml-modules/erm_xmpp | |
parent | 9554143a9c7eee341788780ff8da591dfe3ddc12 (diff) | |
download | nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar.gz nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar.bz2 nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar.lz nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar.xz nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.tar.zst nixlib-096ec04b8221926609ad62dfb6cd6c7ade2fcd52.zip |
ocaml-erm_xmpp_0_3: init at 0.3
Diffstat (limited to 'pkgs/development/ocaml-modules/erm_xmpp')
-rw-r--r-- | pkgs/development/ocaml-modules/erm_xmpp/0.3.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/erm_xmpp/0.3.nix b/pkgs/development/ocaml-modules/erm_xmpp/0.3.nix new file mode 100644 index 000000000000..9a57c3f7b270 --- /dev/null +++ b/pkgs/development/ocaml-modules/erm_xmpp/0.3.nix @@ -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 ]; + }; +} |