From eca000afb79d36bbe550a17f7a73b604c4ff60f3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 5 Apr 2024 15:09:38 +0000 Subject: [PATCH 1/3] python312Packages.pyduotecno: 2024.1.2 -> 2024.3.2 --- pkgs/development/python-modules/pyduotecno/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyduotecno/default.nix b/pkgs/development/python-modules/pyduotecno/default.nix index d3fbc87e25d8..ab2992112202 100644 --- a/pkgs/development/python-modules/pyduotecno/default.nix +++ b/pkgs/development/python-modules/pyduotecno/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyduotecno"; - version = "2024.1.2"; + version = "2024.3.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "Cereal2nd"; repo = "pyDuotecno"; rev = "refs/tags/${version}"; - hash = "sha256-lwtCTzZJn3bamZWbJoeiyxnzrIRZAi9JPjVgiVR0LG8="; + hash = "sha256-aak1e8NOxj7kncOyChpCEAQP1jpduhiSKDqm3mf5bqs="; }; nativeBuildInputs = [ From 7f01c4c68c93987270fd3773923f09b125e238e9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 21:17:20 +0200 Subject: [PATCH 2/3] python312Packages.pyduotecno: refactor --- pkgs/development/python-modules/pyduotecno/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyduotecno/default.nix b/pkgs/development/python-modules/pyduotecno/default.nix index ab2992112202..a375cac7e99d 100644 --- a/pkgs/development/python-modules/pyduotecno/default.nix +++ b/pkgs/development/python-modules/pyduotecno/default.nix @@ -3,13 +3,12 @@ , fetchFromGitHub , pythonOlder , setuptools -, wheel }: buildPythonPackage rec { pname = "pyduotecno"; version = "2024.3.2"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -20,9 +19,8 @@ buildPythonPackage rec { hash = "sha256-aak1e8NOxj7kncOyChpCEAQP1jpduhiSKDqm3mf5bqs="; }; - nativeBuildInputs = [ + build-system = [ setuptools - wheel ]; # Module has no tests From c7eec0a250c0ebd2551a96afc5ec44b063ba2012 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 21:17:45 +0200 Subject: [PATCH 3/3] python312Packages.pyduotecno: format with nixfmt --- .../python-modules/pyduotecno/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pyduotecno/default.nix b/pkgs/development/python-modules/pyduotecno/default.nix index a375cac7e99d..a52d43e06a0f 100644 --- a/pkgs/development/python-modules/pyduotecno/default.nix +++ b/pkgs/development/python-modules/pyduotecno/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -19,16 +20,12 @@ buildPythonPackage rec { hash = "sha256-aak1e8NOxj7kncOyChpCEAQP1jpduhiSKDqm3mf5bqs="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; # Module has no tests doCheck = false; - pythonImportsCheck = [ - "duotecno" - ]; + pythonImportsCheck = [ "duotecno" ]; meta = with lib; { description = "Module to interact with Duotecno IP interfaces";