Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
956 B · 53 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, mock, pytestCheckHook, pythonOlder, requests, requests-oauthlib, responses, six,}:
buildPythonPackage rec { version = "0.10.1"; pname = "mwclient"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "mwclient"; repo = "mwclient"; rev = "v${version}"; sha256 = "120snnsh9n5svfwkyj1w9jrxf99jnqm0jk282yypd3lpyca1l9hj"; };
propagatedBuildInputs = [ requests requests-oauthlib six ];
nativeCheckInputs = [ mock pytestCheckHook responses ];
postPatch = '' substituteInPlace setup.cfg \ --replace " --cov mwclient test" "" '';
pythonImportsCheck = [ "mwclient" ];
meta = with lib; { description = "Python client library to the MediaWiki API"; license = licenses.mit; homepage = "https://github.com/mwclient/mwclient"; maintainers = with maintainers; [ ]; };}