depot/pkgs/by-name/se/setconf/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
764 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
let
self = python3Packages.buildPythonApplication {
pname = "setconf";
version = "0.7.7";
src = fetchFromGitHub {
owner = "xyproto";
repo = "setconf";
rev = self.version;
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/${self.src.rev}";
mainProgram = "setconf";
maintainers = with lib.maintainers; [ AndersonTorres ];
};
};
in
self