Something went wrong. Try again.
lol
Something went wrong. Try again.
802 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, oauthlib, pyjwt, requests, requests-oauthlib, six,}:
buildPythonPackage rec { pname = "mwoauth"; version = "0.4.0"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-IuNAPnSOcBRvjszBQw/lQsn5xP9nfv9CSlLmRPbY98U="; };
propagatedBuildInputs = [ oauthlib pyjwt requests requests-oauthlib six ];
# PyPI source has no tests included # https://github.com/mediawiki-utilities/python-mwoauth/issues/44 doCheck = false;
pythonImportsCheck = [ "mwoauth" ];
meta = { description = "Python library to perform OAuth handshakes with a MediaWiki installation"; homepage = "https://github.com/mediawiki-utilities/python-mwoauth"; license = lib.licenses.mit; };}