1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/jabberbot/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

24 lines
624 B
Nix

{ stdenv, buildPythonPackage, isPy3k, fetchPypi, xmpppy }:
buildPythonPackage rec {
pname = "jabberbot";
version = "0.16";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
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 ];
};
}