diff --git a/pkgs/development/python-modules/pprintpp/default.nix b/pkgs/development/python-modules/pprintpp/default.nix index 7cdc92cf32d7..0e058cab0560 100644 --- a/pkgs/development/python-modules/pprintpp/default.nix +++ b/pkgs/development/python-modules/pprintpp/default.nix @@ -1,13 +1,14 @@ -{ lib -, buildPythonPackage -, fetchpatch -, fetchPypi -, parameterized -, pytestCheckHook -, pynose -, python -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchpatch, + fetchPypi, + parameterized, + pytestCheckHook, + pynose, + python, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -36,9 +37,7 @@ buildPythonPackage rec { }) ]; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; nativeCheckInputs = [ parameterized @@ -46,13 +45,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "pprintpp" - ]; + pythonImportsCheck = [ "pprintpp" ]; - pytestFlagsArray = [ - "test.py" - ]; + pytestFlagsArray = [ "test.py" ]; disabledTests = [ # AttributeError: 'EncodedFile' object has no attribute 'getvalue' diff --git a/pkgs/development/python-modules/ward/default.nix b/pkgs/development/python-modules/ward/default.nix index f73cae95e25e..b1f7345f8413 100644 --- a/pkgs/development/python-modules/ward/default.nix +++ b/pkgs/development/python-modules/ward/default.nix @@ -9,35 +9,29 @@ , poetry-core , pprintpp , pythonOlder -, pythonRelaxDepsHook , rich , tomli }: buildPythonPackage rec { pname = "ward"; - version = "0.67.0b0"; - format = "pyproject"; + version = "0.68.0b0"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "darrenburns"; - repo = pname; + repo = "ward"; rev = "refs/tags/release%2F${version}"; hash = "sha256-4dEMEEPySezgw3dIcYMl56HrhyaYlql9JvtamOn7Y8g="; }; - pythonRelaxDeps = [ - "rich" - ]; - - nativeBuildInputs = [ + build-system = [ poetry-core - pythonRelaxDepsHook ]; - propagatedBuildInputs = [ + dependencies = [ click rich tomli @@ -57,10 +51,10 @@ buildPythonPackage rec { meta = with lib; { description = "Test framework for Python"; - mainProgram = "ward"; homepage = "https://github.com/darrenburns/ward"; changelog = "https://github.com/darrenburns/ward/releases/tag/release%2F${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "ward"; }; }