From 14fc7a9020804ba79bbdba888d6af252414cb194 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Thu, 20 Feb 2025 06:00:23 +0800 Subject: [PATCH] stig: modernise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use "pyproject = true" and "build-system = [ setuptools ]" - Specify run-time Python dependencies via "dependencies" Co-authored-by: Robert Schütz --- pkgs/by-name/st/stig/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/st/stig/package.nix b/pkgs/by-name/st/stig/package.nix index a9bf6a747d48..1f82c837e928 100644 --- a/pkgs/by-name/st/stig/package.nix +++ b/pkgs/by-name/st/stig/package.nix @@ -11,6 +11,7 @@ python3Packages.buildPythonApplication rec { # This project has a different concept for pre release / alpha, # Read the project's README for details: https://github.com/rndusr/stig#stig version = "0.12.10a0"; + pyproject = true; src = fetchFromGitHub { owner = "rndusr"; @@ -19,7 +20,11 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-lSFI4/DxWl17KFgLXZ7c5nW/e5IUGN7s8Gm6wTM5ZWg="; }; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ urwid urwidtrees aiohttp