06c9d4d95c
add importlib-metadata as dependency when python < 3.10
24 lines
506 B
Nix
24 lines
506 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gym-notices";
|
|
version = "0.0.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-rSXiAEh8r6NpcoYl/gZOiK2hNGYYUmECZZtGQPK0uRE=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "gym_notices" ];
|
|
|
|
meta = with lib; {
|
|
description = "Notices for Python package Gym";
|
|
homepage = "https://github.com/Farama-Foundation/gym-notices";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ billhuang ];
|
|
};
|
|
}
|
|
|