diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f7cdb87eda31..11a565ec280f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -458,6 +458,23 @@ let }; }; + apipkg = buildPythonPackage rec { + name = "apipkg-1.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/a/apipkg/${name}.tar.gz"; + md5 = "17e5668601a2322aff41548cb957e7c8"; + }; + + buildInputs = with self; [ ]; + + meta = { + description = "namespace control and lazy-import mechanism"; + homepage = "http://bitbucket.org/hpk42/apipkg"; + license = stdenv.lib.licenses.mit; + }; + }; + appdirs = buildPythonPackage rec { name = "appdirs-1.4.0"; @@ -3388,6 +3405,92 @@ let }; }; + mwlib = buildPythonPackage rec { + version = "0.15.15"; + name = "mwlib-${version}"; + + src = pkgs.fetchurl { + url = "http://pypi.pediapress.com/packages/mirror/${name}.tar.gz"; + sha256 = "1dnmnkc21zdfaypskbpvkwl0wpkpn0nagj1fc338w64mbxrk8ny7"; + }; + + commonDeps = with self; + [ + apipkg + bottle + gevent + lxml + odfpy + pillow + py + pyPdf + pyparsing1 + qserve + roman + simplejson + sqlite3dbm + timelib + ]; + + pythonPath = commonDeps ++ + [ + modules.sqlite3 + ]; + + propagatedBuildInputs = commonDeps; + + buildInputs = with self; + [ + pil + ] ++ propagatedBuildInputs; + + meta = { + description = "Library for parsing MediaWiki articles and converting them to different output formats"; + homepage = "http://pediapress.com/code/"; + license = stdenv.lib.licenses.bsd3; + }; + }; + + mwlib-ext = buildPythonPackage rec { + version = "0.13.2"; + name = "mwlib.ext-${version}"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "http://pypi.pediapress.com/packages/mirror/${name}.zip"; + md5 = "36193837359204d3337b297ba0f20bc8"; + }; + + meta = { + description = "dependencies for mwlib markup"; + homepage = "http://pediapress.com/code/"; + license = stdenv.lib.licenses.bsd3; + }; + }; + + mwlib-rl = buildPythonPackage rec { + version = "0.14.6"; + name = "mwlib.rl-${version}"; + + src = pkgs.fetchurl { + url = "http://pypi.pediapress.com/packages/mirror/${name}.zip"; + md5 = "49d72b0172f69cbe039f62dd4efb65ea"; + }; + + buildInputs = with self; + [ + mwlib + mwlib-ext + pygments + ]; + + meta = { + description = "generate pdfs from mediawiki markup"; + homepage = "http://pediapress.com/code/"; + license = stdenv.lib.licenses.bsd3; + }; + }; + logster = buildPythonPackage { name = "logster-7475c53822"; src = pkgs.fetchgit { @@ -3397,6 +3500,26 @@ let }; }; + odfpy = buildPythonPackage rec { + version = "0.9.6"; + name = "odfpy-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/o/odfpy/${name}.tar.gz"; + md5 = "3f570ead2b5f5eb6eab97eecce22d491"; + }; + + buildInputs = with self; with pkgs; [ ]; + + propagatedBuildInputs = with self; [ ]; + + meta = { + description = "Python API and tools to manipulate OpenDocument files"; + homepage = "https://joinup.ec.europa.eu/software/odfpy/home"; + license = stdenv.lib.licenses.asl20; + }; + }; + pathtools = buildPythonPackage rec { name = "pathtools-${version}"; version = "0.1.2"; @@ -3786,6 +3909,26 @@ let }; }; + roman = buildPythonPackage rec { + version = "2.0.0"; + name = "roman-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/r/roman/${name}.zip"; + md5 = "aa71d131eec16d45c030fd06a27c9d17"; + }; + + buildInputs = with self; with pkgs; [ ]; + + propagatedBuildInputs = with self; [ ]; + + meta = { + description = "Integer to Roman numerals converter"; + homepage = "https://pypi.python.org/pypi/roman"; + license = stdenv.lib.licenses.psfl; + }; + }; + hypatia = buildPythonPackage rec { name = "hypatia-0.3"; @@ -9351,6 +9494,21 @@ let }; }; + pyparsing1 = buildPythonPackage rec { + name = "pyparsing-1.5.7"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/p/pyparsing/${name}.tar.gz"; + md5 = "9be0fcdcc595199c646ab317c1d9a709"; + }; + + meta = { + homepage = http://pyparsing.wikispaces.com/; + description = "The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions."; + }; + }; + pyparted = buildPythonPackage rec { name = "pyparted-${version}"; @@ -9702,6 +9860,22 @@ let }; }; + pyPdf = buildPythonPackage rec { + name = "pyPdf-1.13"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/p/pyPdf/${name}.tar.gz"; + md5 = "7a75ef56f227b78ae62d6e38d4b6b1da"; + }; + + buildInputs = with self; [ ]; + + meta = { + description = "Pure-Python PDF toolkit"; + homepage = "http://pybrary.net/pyPdf/"; + license = stdenv.lib.licenses.bsd3; + }; + }; pyopengl = buildPythonPackage rec { name = "pyopengl-${version}"; @@ -10211,6 +10385,24 @@ let }; }; + qserve = buildPythonPackage rec { + name = "qserve-0.2.8"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/q/qserve/${name}.zip"; + md5 = "d481f0dad66a93d0479022fe0487e8ee"; + }; + + buildInputs = with self; [ ]; + + meta = { + description = "job queue server"; + homepage = "https://github.com/pediapress/qserve"; + license = stdenv.lib.licenses.bsd3; + }; + }; + quantities = buildPythonPackage rec { name = "quantities-0.10.1"; @@ -10958,6 +11150,24 @@ let }; }; + sqlite3dbm = buildPythonPackage rec { + name = "sqlite3dbm-0.1.4"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/s/sqlite3dbm/${name}.tar.gz"; + md5 = "fc2f8fb09a4bbc0260b97e835b369184"; + }; + + buildInputs = with self; [ modules.sqlite3 ]; + + meta = with stdenv.lib; { + description = "sqlite-backed dictionary"; + homepage = "http://github.com/Yelp/sqlite3dbm"; + license = stdenv.lib.licenses.asl20; + }; + }; + pgpdump = self.buildPythonPackage rec { name = "pgpdump-1.5"; @@ -11034,6 +11244,23 @@ let }; }; + timelib = buildPythonPackage rec { + name = "timelib-0.2.4"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/t/timelib/${name}.zip"; + md5 = "400e316f81001ec0842fa9b2cef5ade9"; + }; + + buildInputs = with self; [ ]; + + meta = { + description = "parse english textual date descriptions"; + homepage = "https://github.com/pediapress/timelib/"; + license = stdenv.lib.licenses.zlib; + }; + }; + pydns = buildPythonPackage rec { name = "pydns-2.3.6"; disabled = isPy3k;