pythonPackages.eventlib: refactor move to python-modules
This commit is contained in:
parent
7fde0dd2ef
commit
8ea312f771
30
pkgs/development/python-modules/eventlib/default.nix
Normal file
30
pkgs/development/python-modules/eventlib/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1736,31 +1736,7 @@ in {
|
|||||||
|
|
||||||
eve = callPackage ../development/python-modules/eve {};
|
eve = callPackage ../development/python-modules/eve {};
|
||||||
|
|
||||||
eventlib = buildPythonPackage rec {
|
eventlib = callPackage ../development/python-modules/eventlib { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
events = callPackage ../development/python-modules/events { };
|
events = callPackage ../development/python-modules/events { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user