From 153d792532b97fa70d216432b801e84d0b39b90e Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 31 May 2016 11:20:53 +0200 Subject: [PATCH 1/2] mwclient: init at 0.8.1 --- pkgs/top-level/python-packages.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4723ec3e7ea..913a154742c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13023,6 +13023,31 @@ in modules // { }; }; + mwclient = buildPythonPackage rec { + version = "0.8.1"; + basename = "mwclient"; + name = "${basename}-${version}"; + + src = pkgs.fetchurl { + url = "mirror://pypi/m/${basename}/${name}.tar.gz"; + sha256 = "1r322v6i6xps9xh861rbr4ggshydcgp8cycbdlmgy8qbrh8jg2az"; + }; + + buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ]; + + propagatedBuildInputs = with self; [ six requests2 ]; + + checkPhase = '' + py.test + ''; + + meta = { + description = "Python client library to the MediaWiki API"; + maintainers = with maintainers; [ DamienCassou ]; + license = licenses.mit; + }; + }; + neuronpy = buildPythonPackage rec { name = "neuronpy-${version}"; version = "0.1.6"; From b860faf2f603da015e694d4a117a2896b424abe6 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 31 May 2016 11:21:08 +0200 Subject: [PATCH 2/2] fdroidserver: init at 2016-05-31 --- pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 913a154742c..036cb7df244 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9441,6 +9441,29 @@ in modules // { }; }; + fdroidserver = buildPythonPackage rec { + version = "2016-05-31"; + name = "fdroidserver-git-${version}"; + + disabled = ! isPy3k; + + src = pkgs.fetchFromGitLab { + owner = "fdroid"; + repo = "fdroidserver"; + rev = "401649e0365e6e365fc48ae8a3af94768af865f3"; + sha256 = "1mmi2ffpym1qw694yj938kc7b4xhq0blri7wkjaqddcyykjyr94d"; + }; + + propagatedBuildInputs = with self; [ libcloud pyyaml paramiko pyasn1 pyasn1-modules pillow mwclient GitPython ]; + + meta = { + homepage = https://f-droid.org; + description = "Server and tools for F-Droid, the Free Software repository system for Android"; + maintainers = with maintainers; [ DamienCassou ]; + license = licenses.agpl3; + }; + }; + filebrowser_safe = buildPythonPackage rec { version = "0.3.6"; name = "filebrowser_safe-${version}";