Merge pull request #15853 from DamienCassou/add-fdroidserver

Add fdroidserver (and the mwclient dependency)
This commit is contained in:
Damien Cassou 2016-07-01 11:17:55 +02:00 committed by GitHub
commit 8d288c63da

View file

@ -9612,6 +9612,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}";
@ -13167,6 +13190,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";