567e8dfd8e
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>
30 lines
595 B
Nix
30 lines
595 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gym-notices";
|
|
version = "0.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "gym_notices";
|
|
inherit version;
|
|
hash = "sha256-n5R372iowV5CYl1PpTYxI34+aulH8yW1wUnAgUma3Bs=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "gym_notices" ];
|
|
|
|
meta = {
|
|
description = "Notices for Python package Gym";
|
|
homepage = "https://github.com/Farama-Foundation/gym-notices";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ billhuang ];
|
|
};
|
|
}
|