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