Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
876 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, mock, pytest-cov-stub, pytestCheckHook, pythonOlder, requests, requests-oauthlib, responses, six,}:
buildPythonPackage rec { version = "0.11.0"; pname = "mwclient"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "mwclient"; repo = "mwclient"; tag = "v${version}"; sha256 = "sha256-qnWVQEG1Ri0z4RYmmG/fxYrlIFFf/6PnP5Dnv0cZb5I="; };
propagatedBuildInputs = [ requests requests-oauthlib six ];
nativeCheckInputs = [ mock pytest-cov-stub pytestCheckHook responses ];
pythonImportsCheck = [ "mwclient" ];
meta = with lib; { description = "Python client library to the MediaWiki API"; license = licenses.mit; homepage = "https://github.com/mwclient/mwclient"; maintainers = [ ]; };}