depot/third_party/nixpkgs/pkgs/development/python-modules/greenlet/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

31 lines
714 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "greenlet";
version = "1.1.2";
disabled = isPyPy; # builtin for pypy
src = fetchPypi {
inherit pname version;
sha256 = "e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a";
};
checkInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-v" "greenlet.tests" ];
meta = with lib; {
homepage = "https://github.com/python-greenlet/greenlet";
description = "Module for lightweight in-process concurrent programming";
license = with licenses; [
psfl # src/greenlet/slp_platformselect.h & files in src/greenlet/platform/ directory
mit
];
};
}