diff --git a/pkgs/tools/misc/setconf/default.nix b/pkgs/tools/misc/setconf/default.nix index fd43ad6350cf..320ae683c5cb 100644 --- a/pkgs/tools/misc/setconf/default.nix +++ b/pkgs/tools/misc/setconf/default.nix @@ -1,12 +1,11 @@ { lib -, buildPythonApplication +, python3Packages , fetchFromGitHub }: -buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "setconf"; version = "0.7.7"; - format = "setuptools"; src = fetchFromGitHub { owner = "xyproto"; @@ -15,11 +14,15 @@ buildPythonApplication rec { hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A="; }; + build-system = with python3Packages; [ setuptools ]; + + pyproject = true; + meta = { homepage = "https://github.com/xyproto/setconf"; description = "Small utility for changing settings in configuration textfiles"; changelog = "https://github.com/xyproto/setconf/releases/tag/${version}"; - maintainers = [ lib.maintainers.AndersonTorres ]; mainProgram = "setconf"; + maintainers = with lib.maintainers; [ AndersonTorres ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cc28af8ce0c5..b9a0bbd2ef10 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32317,7 +32317,7 @@ with pkgs; secretscanner = callPackage ../tools/security/secretscanner { }; - setconf = python3.pkgs.callPackage ../tools/misc/setconf { }; + setconf = callPackage ../tools/misc/setconf { }; semiphemeral = callPackage ../tools/misc/semiphemeral { };