pythonPackages.mwclient: 0.8.1 -> 0.8.3
and fix tests. cc @DamienCassou
This commit is contained in:
parent
c9e642c549
commit
925c597457
@ -15084,18 +15084,20 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
mwclient = buildPythonPackage rec {
|
mwclient = buildPythonPackage rec {
|
||||||
version = "0.8.1";
|
version = "0.8.3";
|
||||||
basename = "mwclient";
|
pname = "mwclient";
|
||||||
name = "${basename}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchFromGitHub {
|
||||||
url = "mirror://pypi/m/${basename}/${name}.tar.gz";
|
owner = "mwclient";
|
||||||
sha256 = "1r322v6i6xps9xh861rbr4ggshydcgp8cycbdlmgy8qbrh8jg2az";
|
repo = "mwclient";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0kl1yp9z5f1wl6lkm0vix87zkrbl9wcmkrrj1x5c35xvf95laf53";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ];
|
buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ];
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ six requests2 ];
|
propagatedBuildInputs = with self; [ six requests2 requests_oauthlib ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
@ -15105,6 +15107,7 @@ in {
|
|||||||
description = "Python client library to the MediaWiki API";
|
description = "Python client library to the MediaWiki API";
|
||||||
maintainers = with maintainers; [ DamienCassou ];
|
maintainers = with maintainers; [ DamienCassou ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
homepage = https://github.com/mwclient/mwclient;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user