depot/third_party/nixpkgs/pkgs/development/python-modules/eventlib/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
602 B
Nix

{ lib
, 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 lib; {
description = "Eventlib bindings for python";
homepage = "https://ag-projects.com/";
license = licenses.lgpl2;
};
}