python xmpppy: move expression to python-packages.nix

This commit is contained in:
Frederik Rietdijk 2015-12-09 11:14:41 +01:00
parent e60da70c3b
commit 3c5e03d8c0
3 changed files with 22 additions and 23 deletions

View File

@ -1,22 +0,0 @@
{ buildPythonPackage, fetchurl, setuptools }:
buildPythonPackage rec {
name = "xmpp.py-${version}";
version = "0.5.0rc1";
src = fetchurl {
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
};
buildInputs = [ setuptools ];
preInstall = ''
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
'';
meta = {
description = "XMPP python library";
};
}

View File

@ -3635,7 +3635,7 @@ let
xmltv = callPackage ../tools/misc/xmltv { };
xmpppy = callPackage ../development/python-modules/xmpppy { };
xmpppy = pythonPackages.xmpppy;
xorriso = callPackage ../tools/cd-dvd/xorriso { };

View File

@ -22382,6 +22382,27 @@ in modules // {
};
};
xmpppy = buildPythonPackage rec {
name = "xmpp.py-${version}";
version = "0.5.0rc1";
src = pkgs.fetchurl {
url = "mirror://sourceforge/xmpppy/xmpppy-${version}.tar.gz";
sha256 = "16hbh8kwc5n4qw2rz1mrs8q17rh1zq9cdl05b1nc404n7idh56si";
};
preInstall = ''
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
'';
disabled = isPy3k;
meta = {
description = "XMPP python library";
};
};
xstatic-bootbox = buildPythonPackage rec {
name = "XStatic-Bootbox-${version}";
version = "4.3.0.1";