mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
23 lines
523 B
Nix
23 lines
523 B
Nix
{ 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";
|
|
};
|
|
}
|