python310Packages.func-timeout: init at 4.3.5

main
Sandro Jäckel 2 years ago
parent 384d446910
commit 283500ede3
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 29
      pkgs/development/python-modules/func-timeout/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "func-timeout";
version = "4.3.5";
src = fetchPypi {
pname = "func_timeout";
inherit version;
sha256 = "74cd3c428ec94f4edfba81f9b2f14904846d5ffccc27c92433b8b5939b5575dd";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "func_timeout" ];
meta = with lib; {
description = "Allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads";
homepage = "https://github.com/kata198/func_timeout";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

@ -3215,6 +3215,8 @@ in {
ftputil = callPackage ../development/python-modules/ftputil { };
func-timeout = callPackage ../development/python-modules/func-timeout { };
funcparserlib = callPackage ../development/python-modules/funcparserlib { };
funcsigs = callPackage ../development/python-modules/funcsigs { };

Loading…
Cancel
Save