Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "sentinels"; 12 version = "1.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.5"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "1cglkxph47pki4db4kjx5g4ikxp2milqdlcjgqwmx4p1gx6p1q3v"; 20 }; 21 22 propagatedBuildInputs = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "sentinels" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/vmalloc/sentinels/"; 30 description = "Various objects to denote special meanings in python"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ gador ]; 33 }; 34}