pythonPackages.eventlib: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 15:31:19 -04:00 committed by Frederik Rietdijk
parent 7fde0dd2ef
commit 8ea312f771
2 changed files with 31 additions and 25 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchdarcs
, greenlet
}:
buildPythonPackage rec {
pname = "python-eventlib";
version = "0.2.2";
# Judging from SyntaxError
disabled = isPy3k;
src = fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "1zxhpq8i4jwsk7wmfncqfm211hqikj3hp38cfv509924bi76wak8";
};
propagatedBuildInputs = [ greenlet ];
doCheck = false;
meta = with stdenv.lib; {
description = "Eventlib bindings for python";
homepage = "http://ag-projects.com/";
license = licenses.lgpl2;
};
}

View File

@ -1736,31 +1736,7 @@ in {
eve = callPackage ../development/python-modules/eve {};
eventlib = buildPythonPackage rec {
pname = "python-eventlib";
name = "${pname}-${version}";
version = "0.2.2";
# Judging from SyntaxError
disabled = isPy3k;
src = pkgs.fetchdarcs {
url = "http://devel.ag-projects.com/repositories/${pname}";
rev = "release-${version}";
sha256 = "1zxhpq8i4jwsk7wmfncqfm211hqikj3hp38cfv509924bi76wak8";
};
propagatedBuildInputs = with self; [ greenlet ];
doCheck = false;
meta = {
description = "Eventlib bindings for python";
homepage = "http://ag-projects.com/";
license = licenses.lgpl2;
platforms = platforms.all;
};
};
eventlib = callPackage ../development/python-modules/eventlib { };
events = callPackage ../development/python-modules/events { };