From 938b7ae18411ba3d57bce6498f9c31c7d9b1a46e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 20 Jan 2023 01:01:29 +0100 Subject: [PATCH] python3Packages.dm-env: Fix tests --- pkgs/development/python-modules/dm-env/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/dm-env/default.nix b/pkgs/development/python-modules/dm-env/default.nix index 37e645c1ec35..a26480c22600 100644 --- a/pkgs/development/python-modules/dm-env/default.nix +++ b/pkgs/development/python-modules/dm-env/default.nix @@ -4,15 +4,17 @@ , dm-tree , numpy , absl-py -, nose }: +, pytestCheckHook +}: buildPythonPackage rec { pname = "dm-env"; version = "1.6"; + format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94="; + hash = "sha256-pDbrHGVMOeDJhqUWzuIYvqcUC1EPzv9j+X60/P89k94="; }; buildInputs = [ @@ -22,7 +24,7 @@ buildPythonPackage rec { ]; checkInputs = [ - nose + pytestCheckHook ]; pythonImportsCheck = [