Skip to content

Commit

Permalink
pythonPackages.mwclient: 0.8.1 -> 0.8.3
Browse files Browse the repository at this point in the history
and fix tests.

cc @DamienCassou
  • Loading branch information
FRidh committed Dec 25, 2016
1 parent c9e642c commit 925c597
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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
Expand All @@ -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;
};
};

Expand Down

0 comments on commit 925c597

Please sign in to comment.