1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/mwclient/default.nix
R. RyanTM b1f47e3d82 python36Packages.mwclient: 0.9.1 -> 0.9.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-mwclient/versions
2018-11-08 20:59:31 -08:00

30 lines
796 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
, responses, mock, pytestcov, pytest, pytestcache, pytestpep8, coverage, six }:
buildPythonPackage rec {
version = "0.9.2";
pname = "mwclient";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mwclient";
repo = "mwclient";
rev = "v${version}";
sha256 = "0553pa5gm74k0lsrbcw5ic8jypnh5c3p58i50kzjvgcqz4frsafi";
};
buildInputs = [ mock responses pytestcov pytest pytestcache pytestpep8 coverage ];
propagatedBuildInputs = [ six requests requests_oauthlib ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Python client library to the MediaWiki API";
license = licenses.mit;
homepage = https://github.com/mwclient/mwclient;
};
}