Files
nixpkgs/pkgs/development/python-modules/farama-notifications/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
723 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "farama-notifications";
version = "0.0.4";
src = fetchFromGitHub {
owner = "Farama-Foundation";
repo = "farama-notifications";
rev = version;
hash = "sha256-UUrJ/5t5x54xs1gweNUhwqrMJQXiyrUPn1bBfTsiPcw=";
};
format = "pyproject";
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "farama_notifications" ];
meta = {
description = "Allows for providing notifications on import to all Farama Packages";
homepage = "https://github.com/Farama-Foundation/Farama-Notifications";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}