Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 6 # build-system 7 flit-core, 8 9 # tests 10 pytestCheckHook, 11 pytest-asyncio, 12}: 13 14buildPythonPackage rec { 15 pname = "blinker"; 16 version = "1.8.2"; 17 format = "pyproject"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-j3ewnTv3x5XpaelIbznCxenDnU7gdCS+K8WU7OlkLYM="; 22 }; 23 24 nativeBuildInputs = [ flit-core ]; 25 26 pythonImportsCheck = [ "blinker" ]; 27 28 nativeCheckInputs = [ 29 pytest-asyncio 30 pytestCheckHook 31 ]; 32 33 meta = with lib; { 34 changelog = "https://github.com/pallets-eco/blinker/releases/tag/${version}"; 35 description = "Fast Python in-process signal/event dispatching system"; 36 homepage = "https://github.com/pallets-eco/blinker/"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}