1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5}:
6
7let
8 self = python3Packages.buildPythonApplication {
9 pname = "setconf";
10 version = "0.7.7";
11
12 src = fetchFromGitHub {
13 owner = "xyproto";
14 repo = "setconf";
15 rev = self.version;
16 hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 pyproject = true;
22
23 meta = {
24 homepage = "https://github.com/xyproto/setconf";
25 description = "Small utility for changing settings in configuration textfiles";
26 changelog = "https://github.com/xyproto/setconf/releases/tag/${self.src.rev}";
27 mainProgram = "setconf";
28 maintainers = with lib.maintainers; [ ];
29 };
30 };
31in
32self