1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "decorator"; 10 version = "5.1.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-Y3mWIRA2tjhe+RQ15PriKYlHL51XH6uoknuoJTrLwzA="; 16 }; 17 18 pythonImportsCheck = [ "decorator" ]; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pytestFlagsArray = [ "src/tests/test.py" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/micheles/decorator"; 26 description = "Better living through Python with decorators"; 27 license = licenses.bsd2; 28 maintainers = with maintainers; [ ]; 29 }; 30}