about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/confd/default.nix
blob: 5d4ebbed7d74464f3ec8701f98614926cfbebb44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule {
  pname = "confd";
  version = "0.16-unstable-2023-12-09";


  src = fetchFromGitHub {
    owner = "kelseyhightower";
    repo = "confd";
    rev = "919444eb6cf721d198b2bb18581d0f0b3734d107";
    hash = "sha256-/HlL+vxERSOUKIxdtlZDZrpYjGXon3KMwoYUcp8iOug=";
  };

  vendorHash = null;

  subPackages = [ "." ];

  ldflags = [ "-s" "-w" ];

  meta = {
    description = "Manage local application configuration files using templates and data from etcd or consul";
    homepage = "https://github.com/kelseyhightower/confd";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.zimbatm ];
    mainProgram = "confd";
  };
}