depot/third_party/nixpkgs/pkgs/tools/misc/setconf/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +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";
};
}