python310Packages.func-timeout: init at 4.3.5

+31
+29
pkgs/development/python-modules/func-timeout/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "func-timeout"; 9 + version = "4.3.5"; 10 + 11 + src = fetchPypi { 12 + pname = "func_timeout"; 13 + inherit version; 14 + sha256 = "74cd3c428ec94f4edfba81f9b2f14904846d5ffccc27c92433b8b5939b5575dd"; 15 + }; 16 + 17 + checkInputs = [ 18 + pytestCheckHook 19 + ]; 20 + 21 + pythonImportsCheck = [ "func_timeout" ]; 22 + 23 + meta = with lib; { 24 + description = "Allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads"; 25 + homepage = "https://github.com/kata198/func_timeout"; 26 + license = licenses.lgpl3Only; 27 + maintainers = with maintainers; [ SuperSandro2000 ]; 28 + }; 29 + }
+2
pkgs/top-level/python-packages.nix
··· 3215 3215 3216 3216 ftputil = callPackage ../development/python-modules/ftputil { }; 3217 3217 3218 + func-timeout = callPackage ../development/python-modules/func-timeout { }; 3219 + 3218 3220 funcparserlib = callPackage ../development/python-modules/funcparserlib { }; 3219 3221 3220 3222 funcsigs = callPackage ../development/python-modules/funcsigs { };