diff options
Diffstat (limited to 'pkgs/development/python-modules/xmpppy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/xmpppy/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/xmpppy/default.nix b/pkgs/development/python-modules/xmpppy/default.nix new file mode 100644 index 000000000000..648508d35414 --- /dev/null +++ b/pkgs/development/python-modules/xmpppy/default.nix @@ -0,0 +1,35 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + gitUpdater, + six, + setuptools, +}: + +buildPythonPackage rec { + pname = "xmpppy"; + version = "0.7.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "xmpppy"; + repo = "xmpppy"; + rev = "refs/tags/${version}"; + hash = "sha256-SnzIjEWSCdiCtD8bmPTH02JprmZhrABB4HCqtt2RBuk="; + }; + + dependencies = [ six ]; + + build-system = [ setuptools ]; + + passthru.updateScript = gitUpdater { }; + + meta = with lib; { + description = "Python 2/3 implementation of XMPP"; + homepage = "https://github.com/xmpppy/xmpppy"; + changelog = "https://github.com/xmpppy/xmpppy/blob/${version}/CHANGES.rst"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ jopejoe1 ]; + }; +} |