From e17c022a873ca4a15c87f8ad5627e81ba13610fc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 12:35:45 +0200 Subject: [PATCH 1/3] python312Packages.peco: 0.0.29 -> 0.0.30 --- pkgs/development/python-modules/peco/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/peco/default.nix b/pkgs/development/python-modules/peco/default.nix index 961b0c623d92..d613ea7ec26a 100644 --- a/pkgs/development/python-modules/peco/default.nix +++ b/pkgs/development/python-modules/peco/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "peco"; - version = "0.0.29"; + version = "0.0.30"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-zL0tBTwm+l5eyxlWr2xoE+nLpMfUKri1/yD+WgTUqHQ="; + hash = "sha256-a3MPqtbDftbLGtpJ66CFVC5wJFa9L3dqOKPfBZCaHpM="; }; nativeBuildInputs = [ From ad8572d0d9a04ea0659d5f7e8eeb5cf703b85333 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 12:36:34 +0200 Subject: [PATCH 2/3] python312Packages.peco: refactor --- pkgs/development/python-modules/peco/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/peco/default.nix b/pkgs/development/python-modules/peco/default.nix index d613ea7ec26a..f0356927c276 100644 --- a/pkgs/development/python-modules/peco/default.nix +++ b/pkgs/development/python-modules/peco/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "peco"; version = "0.0.30"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,11 +19,11 @@ buildPythonPackage rec { hash = "sha256-a3MPqtbDftbLGtpJ66CFVC5wJFa9L3dqOKPfBZCaHpM="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp pydantic ]; From 312c697e2b633d703ed8e432df75055617b4d53d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 10 May 2024 12:37:10 +0200 Subject: [PATCH 3/3] python312Packages.peco: format with nixfmt --- .../python-modules/peco/default.nix | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/peco/default.nix b/pkgs/development/python-modules/peco/default.nix index f0356927c276..9b2001789cd2 100644 --- a/pkgs/development/python-modules/peco/default.nix +++ b/pkgs/development/python-modules/peco/default.nix @@ -1,10 +1,11 @@ -{ lib -, aiohttp -, buildPythonPackage -, fetchPypi -, pydantic -, pythonOlder -, setuptools +{ + lib, + aiohttp, + buildPythonPackage, + fetchPypi, + pydantic, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -19,9 +20,7 @@ buildPythonPackage rec { hash = "sha256-a3MPqtbDftbLGtpJ66CFVC5wJFa9L3dqOKPfBZCaHpM="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp @@ -31,9 +30,7 @@ buildPythonPackage rec { # Module has no tests doCheck = false; - pythonImportsCheck = [ - "peco" - ]; + pythonImportsCheck = [ "peco" ]; meta = with lib; { description = "Library for interacting with the PECO outage map";