mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:54:10 +00:00
ced21f5e1a
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`.
24 lines
624 B
Nix
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 ];
|
|
};
|
|
}
|