From 77af484c7b224814c1240ecc06e2d9fb56fa75c5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 09:43:12 +0200 Subject: [PATCH 1/3] python312Packages.linknlink: refactor --- pkgs/development/python-modules/linknlink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/linknlink/default.nix b/pkgs/development/python-modules/linknlink/default.nix index 44a2a15a8f81..05b075d06b34 100644 --- a/pkgs/development/python-modules/linknlink/default.nix +++ b/pkgs/development/python-modules/linknlink/default.nix @@ -20,11 +20,11 @@ buildPythonPackage rec { hash = "sha256-MOZw+7oFHeH7Vaj6pylR7wqe3ZyHcsiG+n8jnRAQ8PA="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ cryptography ]; From ff6102c701d187a898e310ab006222df6e4b8645 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 09:44:01 +0200 Subject: [PATCH 2/3] python312Packages.linknlink: 0.2.1 -> 0.2.2 Diff: https://github.com/xuanxuan000/python-linknlink/compare/refs/tags/0.2.1...0.2.2 Changelog: https://github.com/xuanxuan000/python-linknlink/releases/tag/0.2.2 --- pkgs/development/python-modules/linknlink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/linknlink/default.nix b/pkgs/development/python-modules/linknlink/default.nix index 05b075d06b34..23d7d7d59fc1 100644 --- a/pkgs/development/python-modules/linknlink/default.nix +++ b/pkgs/development/python-modules/linknlink/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "linknlink"; - version = "0.2.1"; + version = "0.2.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "xuanxuan000"; repo = "python-linknlink"; rev = "refs/tags/${version}"; - hash = "sha256-MOZw+7oFHeH7Vaj6pylR7wqe3ZyHcsiG+n8jnRAQ8PA="; + hash = "sha256-G0URNUHIh/td+A8MhIC0mePx2SmhEXhIzOpbVft33+w="; }; build-system = [ From 0fc80ae1910c359be447e0d0480e2e510cbef34b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 2 May 2024 09:44:19 +0200 Subject: [PATCH 3/3] python312Packages.linknlink: format with nixfmt --- .../python-modules/linknlink/default.nix | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/linknlink/default.nix b/pkgs/development/python-modules/linknlink/default.nix index 23d7d7d59fc1..ea158b5cb2a1 100644 --- a/pkgs/development/python-modules/linknlink/default.nix +++ b/pkgs/development/python-modules/linknlink/default.nix @@ -1,9 +1,10 @@ -{ lib -, buildPythonPackage -, cryptography -, fetchFromGitHub -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + cryptography, + fetchFromGitHub, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -20,17 +21,11 @@ buildPythonPackage rec { hash = "sha256-G0URNUHIh/td+A8MhIC0mePx2SmhEXhIzOpbVft33+w="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; - dependencies = [ - cryptography - ]; + dependencies = [ cryptography ]; - pythonImportsCheck = [ - "linknlink" - ]; + pythonImportsCheck = [ "linknlink" ]; # Module has no test doCheck = false;