Commit 96043dc7 authored by Anderson Torres's avatar Anderson Torres Committed by Matthieu Coudron
Browse files

setconf: use the new Python packaging guidelines

parent a30e284f
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −1
Original line number Diff line number Diff line
@@ -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 { };