Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pythonirclib / default.nix
blob54c84fe6ef597b8e46b1cd5a421a43c8cabf68f1
1 { lib
2 , buildPythonPackage
3 , fetchurl
4 , paver
5 , isPy3k
6 }:
8 buildPythonPackage rec {
9   pname = "irclib";
10   version = "0.4.8";
11   disabled = isPy3k;
13   src = fetchurl {
14     url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
15     sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
16   };
18   patches = [(fetchurl {
19     url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
20     name = "irclib.py.diff";
21     sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
22   })];
24   patchFlags = [ "irclib.py" ];
26   propagatedBuildInputs = [ paver ];
28   meta = with lib; {
29     description = "Python IRC library";
30     homepage = "https://github.com/jaraco/irc";
31     license = with licenses; [ lgpl21 ];
32   };