nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonApplication
3, fetchFromGitHub
4}:
5
6buildPythonApplication rec {
7 pname = "setconf";
8 version = "0.7.7";
9 format = "setuptools";
10
11 src = fetchFromGitHub {
12 owner = "xyproto";
13 repo = "setconf";
14 rev = version;
15 hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=";
16 };
17
18 meta = {
19 homepage = "https://github.com/xyproto/setconf";
20 description = "A small utility for changing settings in configuration textfiles";
21 changelog = "https://github.com/xyproto/setconf/releases/tag/${version}";
22 maintainers = [ lib.maintainers.AndersonTorres ];
23 mainProgram = "setconf";
24 };
25}