@@ -12411,6 +12411,43 @@ let
1241112411 };
1241212412 });
1241312413
12414+ PyXAPI = stdenv.mkDerivation rec {
12415+ name = "PyXAPI-0.1";
12416+
12417+ src = pkgs.fetchurl {
12418+ url = "http://www.pps.univ-paris-diderot.fr/~ylg/PyXAPI/${name}.tar.gz";
12419+ sha256 = "19lblwfq24bgsgfy7hhqkxdf4bxl40chcxdlpma7a0wfa0ngbn26";
12420+ };
12421+
12422+ buildInputs = [ self.python ];
12423+
12424+ installPhase = ''
12425+ mkdir -p "$out/lib/${python.libPrefix}/site-packages"
12426+
12427+ export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
12428+
12429+ ${python}/bin/${python.executable} setup.py install \
12430+ --install-lib=$out/lib/${python.libPrefix}/site-packages \
12431+ --prefix="$out"
12432+ '';
12433+
12434+ meta = with stdenv.lib; {
12435+ description = "Python socket module extension & RFC3542 IPv6 Advanced Sockets API";
12436+ longDescription = ''
12437+ PyXAPI consists of two modules: `socket_ext' and `rfc3542'.
12438+ `socket_ext' extends the Python module `socket'. `socket' objects have
12439+ two new methods: `recvmsg' and `sendmsg'. It defines `ancillary data'
12440+ objects and some functions related to. `socket_ext' module also provides
12441+ functions to manage interfaces indexes defined in RFC3494 and not
12442+ available from standard Python module `socket'.
12443+ `rfc3542' is a full implementation of RFC3542 (Advanced Sockets
12444+ Application Program Interface (API) for IPv6).
12445+ '';
12446+ homepage = http://www.pps.univ-paris-diderot.fr/~ylg/PyXAPI/;
12447+ license = licenses.gpl2Plus;
12448+ maintainers = with maintainers; [ nckx ];
12449+ };
12450+ };
1241412451
1241512452 pyxattr = buildPythonPackage (rec {
1241612453 name = "pyxattr-0.5.1";