nixpkgs/pkgs/development/python-modules/eventlib/default.nix
2019-09-10 07:58:38 +02:00

31 lines
611 B
Nix

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