python311Packages.pprintpp: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-05 14:51:46 +02:00
parent 83fa9e16a6
commit 0b7d864b2a
2 changed files with 20 additions and 31 deletions

View File

@ -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'

View File

@ -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";
};
}