python irclib: move expression to python-packages.nix
- Use external paver instead of built-in - Only works with Python 2.x
This commit is contained in:
parent
d2b7b5660b
commit
9186d3169a
@ -1,23 +0,0 @@
|
||||
{ buildPythonPackage, fetchurl }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "irclib-${version}";
|
||||
version = "0.4.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||
};
|
||||
|
||||
patches = [(fetchurl {
|
||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||
name = "irclib.py.diff";
|
||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||
})];
|
||||
|
||||
patchFlags = "irclib.py";
|
||||
|
||||
meta = {
|
||||
description = "Python IRC library";
|
||||
};
|
||||
}
|
@ -2818,7 +2818,7 @@ let
|
||||
|
||||
pythonDBus = dbus_python;
|
||||
|
||||
pythonIRClib = callPackage ../development/python-modules/irclib { };
|
||||
pythonIRClib = pythonPackages.pythonIRClib;
|
||||
|
||||
pythonSexy = builderDefsPackage (callPackage ../development/python-modules/libsexy) { };
|
||||
|
||||
|
@ -8774,6 +8774,33 @@ in modules // {
|
||||
propagatedBuildInputs = with self; [ self.nose self.ipython ];
|
||||
};
|
||||
|
||||
pythonIRClib = buildPythonPackage rec {
|
||||
name = "irclib-${version}";
|
||||
version = "0.4.8";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/python-irclib/python-irclib-${version}.tar.gz";
|
||||
sha256 = "1x5456y4rbxmnw4yblhb4as5791glcw394bm36px3x6l05j3mvl1";
|
||||
};
|
||||
|
||||
patches = [(pkgs.fetchurl {
|
||||
url = "http://trac.uwc.ac.za/trac/python_tools/browser/xmpp/resources/irc-transport/irclib.py.diff?rev=387&format=raw";
|
||||
name = "irclib.py.diff";
|
||||
sha256 = "5fb8d95d6c95c93eaa400b38447c63e7a176b9502bc49b2f9b788c9905f4ec5e";
|
||||
})];
|
||||
|
||||
patchFlags = "irclib.py";
|
||||
|
||||
propagatedBuildInputs = with self; [ paver ];
|
||||
|
||||
disabled = isPy3k;
|
||||
meta = {
|
||||
description = "Python IRC library";
|
||||
homepage = https://bitbucket.org/jaraco/irc;
|
||||
license = with licenses; [ lgpl21 ];
|
||||
};
|
||||
};
|
||||
|
||||
iso8601 = buildPythonPackage {
|
||||
name = "iso8601-0.1.10";
|
||||
src = pkgs.fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user