setconf: use the new Python packaging guidelines
This commit is contained in:
parent
a30e284fcd
commit
96043dc729
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user