btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / se / setconf / package.nix
blobfb6aeefd84ae737dcfe3e46873289e89d39ed28c
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5 }:
7 let
8   self = python3Packages.buildPythonApplication {
9     pname = "setconf";
10     version = "0.7.7";
12     src = fetchFromGitHub {
13       owner = "xyproto";
14       repo = "setconf";
15       rev = self.version;
16       hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
17     };
19     build-system = with python3Packages; [ setuptools ];
21     pyproject = true;
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; [ AndersonTorres ];
29     };
30   };
32 self