From 4597ce1692fae2dc1d7826dedb167f965fa666db Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 2 Feb 2026 10:00:45 +0100 Subject: [PATCH] python314Packages.dsinternals: modernize --- .../python-modules/dsinternals/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/dsinternals/default.nix b/pkgs/development/python-modules/dsinternals/default.nix index 8b6e4dfc9d01..eb649e37a122 100644 --- a/pkgs/development/python-modules/dsinternals/default.nix +++ b/pkgs/development/python-modules/dsinternals/default.nix @@ -5,21 +5,24 @@ pycryptodomex, pyopenssl, pytestCheckHook, + setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "dsinternals"; version = "1.2.5"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "p0dalirius"; repo = "pydsinternals"; - rev = version; + tag = finalAttrs.version; hash = "sha256-ZbYHO7It7R/Zh2dykTa4Ha4m2eyt9zkCzPyc/j79v6A="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ pyopenssl pycryptodomex ]; @@ -36,4 +39,4 @@ buildPythonPackage rec { license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ fab ]; }; -} +})