nixpkgs/pkgs/development/python-modules/jabberbot.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

25 lines
681 B
Nix

{ stdenv, buildPythonPackage, isPy3k, fetchurl, xmpppy }:
buildPythonPackage rec {
pname = "jabberbot";
version = "0.16";
name = "${pname}-${version}";
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 ];
};
}