git.iko.soy/typeable/nixpkgs
on master help sign in
Adds ocaml-erm_xmpp

OCaml based XMPP implementation Homepage: https://github.com/ermine/xmpp

commitf57163265bc16c1e91d5c385b228d72ff2ffb28b authorVincent Laporte <Vincent.Laporte@gmail.com> dateFri 27 Feb 2015, 00:13 (12 years ago) parentb6f2634
2 files changed+35
pkgs/development/ocaml-modules/erm_xmpp/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/development/ocaml-modules/erm_xmpp/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchurl, fetchzip, ocaml, findlib, erm_xml, cryptokit, camlp4 }:
2+
3+let
4+ version = "0.2";
5+ disable-tests = fetchurl {
6+ url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/erm_xmpp/erm_xmpp.0.2/files/disable_tests.patch;
7+ sha256 = "09d8630nmx2x8kb8ap1zmsb93zs14cqg7ga1gmdl92jvsjxbhgc1";
8+ };
9+in
10+
11+stdenv.mkDerivation {
12+ name = "ocaml-erm_xmpp-${version}";
13+
14+ src = fetchzip {
15+ url = "https://github.com/ermine/xmpp/archive/v${version}.tar.gz";
16+ sha256 = "0saw2dmrzv2aadrznvyvchnhivvcwm78x9nwf6flq5v0pqddapk2";
17+ };
18+
19+ patches = [ disable-tests ];
20+
21+ buildInputs = [ ocaml findlib camlp4 ];
22+ propagatedBuildInputs = [ erm_xml cryptokit ];
23+
24+ createFindlibDestdir = true;
25+
26+ meta = {
27+ homepage = https://github.com/ermine/xmpp;
28+ description = "OCaml based XMPP implementation";
29+ platforms = ocaml.meta.platforms;
30+ license = stdenv.lib.licenses.bsd3;
31+ maintainers = with stdenv.lib.maintainers; [ vbgl ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -3889,6 +3889,8 @@ let
38893889
38903890 erm_xml = callPackage ../development/ocaml-modules/erm_xml { };
38913891
3892+ erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
3893+
38923894 ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
38933895 lwt = ocaml_lwt;
38943896 sexplib = ocaml_sexplib;