mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
python xmpppy: move expression to python-packages.nix
This commit is contained in:
parent
e60da70c3b
commit
3c5e03d8c0
@ -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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user