From 71be4cc2a3975a325a8170dda5a7877f93d86ed4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 May 2024 21:38:10 +0200 Subject: [PATCH 1/3] python312Packages.aiomisc-pytest: 1.1.2 -> 1.2.1 --- pkgs/development/python-modules/aiomisc-pytest/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiomisc-pytest/default.nix b/pkgs/development/python-modules/aiomisc-pytest/default.nix index 674aef1d02ef..c5fbcc0b478a 100644 --- a/pkgs/development/python-modules/aiomisc-pytest/default.nix +++ b/pkgs/development/python-modules/aiomisc-pytest/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "aiomisc-pytest"; - version = "1.1.2"; + version = "1.2.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "aiomisc_pytest"; inherit version; - hash = "sha256-Zja0cNFrn6mUFlZOtzAtBJ/Gn27akD59qX6p88ytD6w="; + hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU="; }; nativeBuildInputs = [ From 834e4ad450f84135173063c16bee2b6949abaa12 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 May 2024 21:39:28 +0200 Subject: [PATCH 2/3] python312Packages.aiomisc-pytest: refactor --- pkgs/development/python-modules/aiomisc-pytest/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiomisc-pytest/default.nix b/pkgs/development/python-modules/aiomisc-pytest/default.nix index c5fbcc0b478a..e85a07f0056d 100644 --- a/pkgs/development/python-modules/aiomisc-pytest/default.nix +++ b/pkgs/development/python-modules/aiomisc-pytest/default.nix @@ -21,8 +21,11 @@ buildPythonPackage rec { hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU="; }; - nativeBuildInputs = [ + build-system = [ poetry-core + ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; @@ -34,7 +37,7 @@ buildPythonPackage rec { pytest ]; - propagatedBuildInputs = [ + dependencies = [ aiomisc ]; From 81a0bc040ee851e3d895b16bfe68b4c3c980f9f3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 May 2024 21:39:50 +0200 Subject: [PATCH 3/3] python312Packages.aiomisc-pytest: format with nixfmt --- .../python-modules/aiomisc-pytest/default.nix | 41 +++++++------------ 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/pkgs/development/python-modules/aiomisc-pytest/default.nix b/pkgs/development/python-modules/aiomisc-pytest/default.nix index e85a07f0056d..01230505b2b6 100644 --- a/pkgs/development/python-modules/aiomisc-pytest/default.nix +++ b/pkgs/development/python-modules/aiomisc-pytest/default.nix @@ -1,11 +1,12 @@ -{ lib -, aiomisc -, buildPythonPackage -, fetchPypi -, poetry-core -, pytest -, pythonOlder -, pythonRelaxDepsHook +{ + lib, + aiomisc, + buildPythonPackage, + fetchPypi, + poetry-core, + pytest, + pythonOlder, + pythonRelaxDepsHook, }: buildPythonPackage rec { @@ -21,29 +22,17 @@ buildPythonPackage rec { hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; - pythonRelaxDeps = [ - "pytest" - ]; + pythonRelaxDeps = [ "pytest" ]; - buildInputs = [ - pytest - ]; + buildInputs = [ pytest ]; - dependencies = [ - aiomisc - ]; + dependencies = [ aiomisc ]; - pythonImportsCheck = [ - "aiomisc_pytest" - ]; + pythonImportsCheck = [ "aiomisc_pytest" ]; # Module has no tests doCheck = false;