diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-25 19:20:34 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-25 19:20:34 +0100 |
commit | 925c59745766c598de32e236a57b93f75fe18223 (patch) | |
tree | df211c17e9baa39e7d8c72cf33230645d9cf93df /pkgs/top-level | |
parent | c9e642c549f9569c08e0f5dffb8c0c11ff343a6f (diff) | |
download | nixlib-925c59745766c598de32e236a57b93f75fe18223.tar nixlib-925c59745766c598de32e236a57b93f75fe18223.tar.gz nixlib-925c59745766c598de32e236a57b93f75fe18223.tar.bz2 nixlib-925c59745766c598de32e236a57b93f75fe18223.tar.lz nixlib-925c59745766c598de32e236a57b93f75fe18223.tar.xz nixlib-925c59745766c598de32e236a57b93f75fe18223.tar.zst nixlib-925c59745766c598de32e236a57b93f75fe18223.zip |
pythonPackages.mwclient: 0.8.1 -> 0.8.3
and fix tests. cc @DamienCassou
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 86e72ed5cca6..7ca61ccbf4df 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15084,18 +15084,20 @@ in { }; mwclient = buildPythonPackage rec { - version = "0.8.1"; - basename = "mwclient"; - name = "${basename}-${version}"; + version = "0.8.3"; + pname = "mwclient"; + name = "${pname}-${version}"; - src = pkgs.fetchurl { - url = "mirror://pypi/m/${basename}/${name}.tar.gz"; - sha256 = "1r322v6i6xps9xh861rbr4ggshydcgp8cycbdlmgy8qbrh8jg2az"; + src = pkgs.fetchFromGitHub { + owner = "mwclient"; + repo = "mwclient"; + rev = "v${version}"; + sha256 = "0kl1yp9z5f1wl6lkm0vix87zkrbl9wcmkrrj1x5c35xvf95laf53"; }; buildInputs = with self; [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ]; - propagatedBuildInputs = with self; [ six requests2 ]; + propagatedBuildInputs = with self; [ six requests2 requests_oauthlib ]; checkPhase = '' py.test @@ -15105,6 +15107,7 @@ in { description = "Python client library to the MediaWiki API"; maintainers = with maintainers; [ DamienCassou ]; license = licenses.mit; + homepage = https://github.com/mwclient/mwclient; }; }; |