Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "farama-notifications"; 11 version = "0.0.4"; 12 13 src = fetchFromGitHub { 14 owner = "Farama-Foundation"; 15 repo = pname; 16 rev = version; 17 hash = "sha256-UUrJ/5t5x54xs1gweNUhwqrMJQXiyrUPn1bBfTsiPcw="; 18 }; 19 20 format = "pyproject"; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 pythonImportsCheck = [ "farama_notifications" ]; 25 26 meta = with lib; { 27 description = "Allows for providing notifications on import to all Farama Packages"; 28 homepage = "https://github.com/Farama-Foundation/Farama-Notifications"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ GaetanLepage ]; 31 }; 32}