nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "confd";
9 version = "0.16-unstable-2023-12-09";
10
11 src = fetchFromGitHub {
12 owner = "kelseyhightower";
13 repo = "confd";
14 rev = "919444eb6cf721d198b2bb18581d0f0b3734d107";
15 hash = "sha256-/HlL+vxERSOUKIxdtlZDZrpYjGXon3KMwoYUcp8iOug=";
16 };
17
18 vendorHash = null;
19
20 subPackages = [ "." ];
21
22 ldflags = [
23 "-s"
24 "-w"
25 ];
26
27 meta = {
28 description = "Manage local application configuration files using templates and data from etcd or consul";
29 homepage = "https://github.com/kelseyhightower/confd";
30 license = lib.licenses.mit;
31 maintainers = [ lib.maintainers.zimbatm ];
32 mainProgram = "confd";
33 };
34}