2017-01-19 17:57:36 +00:00
|
|
|
{ stdenv, buildPythonPackage, isPy3k, fetchurl, xmpppy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "jabberbot";
|
|
|
|
version = "0.16";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-19 17:57:36 +00:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/j/jabberbot/${name}.tar.gz";
|
|
|
|
sha256 = "1qr7c5p9a0nzsvri1djnd5r3d7ilh2mdxvviqn1s2hcc70rha65d";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xmpppy ];
|
|
|
|
|
|
|
|
doCheck = false; # lol, it does not even specify dependencies properly
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A framework for writing Jabber/XMPP bots and services";
|
|
|
|
homepage = http://thp.io/2007/python-jabberbot/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|