From 53973938f1c786d4d842237cbcae6a42dd091a96 Mon Sep 17 00:00:00 2001 From: Joerg Thalheim Date: Mon, 6 Nov 2017 10:26:21 +0000 Subject: [PATCH] python.pkgs.nbxmpp: 0.5.5 -> 0.6.0 --- .../python-modules/nbxmpp/default.nix | 17 +++++++++++++++++ pkgs/top-level/python-packages.nix | 16 +--------------- 2 files changed, 18 insertions(+), 15 deletions(-) create mode 100644 pkgs/development/python-modules/nbxmpp/default.nix diff --git a/pkgs/development/python-modules/nbxmpp/default.nix b/pkgs/development/python-modules/nbxmpp/default.nix new file mode 100644 index 000000000000..964b42fe4eee --- /dev/null +++ b/pkgs/development/python-modules/nbxmpp/default.nix @@ -0,0 +1,17 @@ +{ stdenv, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "nbxmpp"; + version = "0.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0x495yb0abkdspyziw7dyyjwxx6ivnv5zznk92wa3mcind5s9757"; + }; + + meta = with stdenv.lib; { + homepage = "https://dev.gajim.org/gajim/python-nbxmpp"; + description = "Non-blocking Jabber/XMPP module"; + license = licenses.gpl3; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 876845435287..c81bc49600da 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11851,21 +11851,7 @@ in { nbmerge = callPackage ../development/python-modules/nbmerge { }; - nbxmpp = buildPythonPackage rec { - name = "nbxmpp-${version}"; - version = "0.5.5"; - - src = pkgs.fetchurl { - url = "mirror://pypi/n/nbxmpp/${name}.tar.gz"; - sha256 = "1gnzrzrdl4nii1sc5x8p5iw2ya5sl70j3nn34abqsny51p2pzmv6"; - }; - - meta = { - homepage = "https://python-nbxmpp.gajim.org/"; - description = "Non-blocking Jabber/XMPP module"; - license = licenses.gpl3; - }; - }; + nbxmpp = callPackage ../development/python-modules/nbxmpp { }; sleekxmpp = buildPythonPackage rec { name = "sleekxmpp-${version}";