depot/third_party/nixpkgs/pkgs/development/python-modules/farama-notifications/default.nix

32 lines
710 B
Nix
Raw Normal View History

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