diff options
author | Matan Shenhav <matan@fluxcraft.net> | 2018-01-20 13:33:21 +0000 |
---|---|---|
committer | Matan Shenhav <matan@fluxcraft.net> | 2018-02-03 11:55:04 +0000 |
commit | e2487ba88d74f9012ca717e302fbf6d6a640c7f7 (patch) | |
tree | 6ec7db93a57181bf1165509926c7e94083d38fdf /pkgs/development/python-modules/mwoauth | |
parent | a67f4753eae5efc60336e36dd84c0190c276689d (diff) | |
download | nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar.gz nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar.bz2 nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar.lz nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar.xz nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.tar.zst nixlib-e2487ba88d74f9012ca717e302fbf6d6a640c7f7.zip |
pythonPackages.mwoauth: init at 0.3.2
Diffstat (limited to 'pkgs/development/python-modules/mwoauth')
-rw-r--r-- | pkgs/development/python-modules/mwoauth/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mwoauth/default.nix b/pkgs/development/python-modules/mwoauth/default.nix new file mode 100644 index 000000000000..e9d43e9e2b6a --- /dev/null +++ b/pkgs/development/python-modules/mwoauth/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, six +, pyjwt +, requests +, oauthlib +, requests_oauthlib +, fetchPypi +}: + +buildPythonPackage rec { + pname = "mwoauth"; + version = "0.3.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1krqz755415z37z1znrc77vi4xyp5ys6fnq4zwcwixjjbzddpavj"; + }; + + # package has no tests + doCheck = false; + + propagatedBuildInputs = [ six pyjwt requests oauthlib requests_oauthlib ]; + + meta = with lib; { + description = "A library designed to provide a simple means to performing an OAuth handshake with a MediaWiki installation with the OAuth Extension installed."; + homepage = https://github.com/mediawiki-utilities/python-mwoauth; + license = licenses.mit; + maintainers = with maintainers; [ ixxie ]; + }; +} |