nixpkgs/pkgs/by-name/se/setconf/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
764 B
Nix
Raw Normal View History

2024-10-14 23:58:45 +00:00
{
lib,
fetchFromGitHub,
python3Packages,
2023-01-23 01:31:33 +00:00
}:
2024-10-14 23:58:45 +00:00
let
self = python3Packages.buildPythonApplication {
pname = "setconf";
version = "0.7.7";
2023-01-23 01:31:33 +00:00
2024-10-14 23:58:45 +00:00
src = fetchFromGitHub {
owner = "xyproto";
repo = "setconf";
rev = self.version;
hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
};
2023-01-23 01:31:33 +00:00
2024-10-14 23:58:45 +00:00
build-system = with python3Packages; [ setuptools ];
2024-10-14 23:58:45 +00:00
pyproject = true;
2024-10-14 23:58:45 +00:00
meta = {
homepage = "https://github.com/xyproto/setconf";
description = "Small utility for changing settings in configuration textfiles";
changelog = "https://github.com/xyproto/setconf/releases/tag/${self.src.rev}";
mainProgram = "setconf";
maintainers = with lib.maintainers; [ AndersonTorres ];
};
2023-01-23 01:31:33 +00:00
};
2024-10-14 23:58:45 +00:00
in
self