nixpkgs/pkgs/tools/misc/setconf/default.nix
2023-11-27 02:17:53 +01:00

25 lines
630 B
Nix

{ lib
, buildPythonApplication
, fetchFromGitHub
}:
buildPythonApplication rec {
pname = "setconf";
version = "0.7.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "xyproto";
repo = "setconf";
rev = version;
hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
};
meta = {
homepage = "https://github.com/xyproto/setconf";
description = "A small utility for changing settings in configuration textfiles";
changelog = "https://github.com/xyproto/setconf/releases/tag/${version}";
maintainers = [ lib.maintainers.AndersonTorres ];
mainProgram = "setconf";
};
}