nixpkgs/pkgs/tools/system/confd/default.nix

25 lines
646 B
Nix
Raw Normal View History

2020-05-29 18:14:06 +02:00
{ lib, buildGoPackage, fetchFromGitHub }:
2016-06-04 20:20:05 +02:00
buildGoPackage rec {
pname = "confd";
2020-05-29 18:14:06 +02:00
version = "0.16.0";
2016-06-04 20:20:05 +02:00
rev = "v${version}";
goPackagePath = "github.com/kelseyhightower/confd";
subPackages = [ "./" ];
src = fetchFromGitHub {
2016-06-04 20:20:05 +02:00
inherit rev;
owner = "kelseyhightower";
repo = "confd";
2020-05-29 18:14:06 +02:00
sha256 = "0q7r6dkgirnmqi3rhqdaai88jqzw52l6jdrrwsf2qq0hva09961p";
2016-06-04 20:20:05 +02:00
};
2020-05-29 18:14:06 +02:00
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 ];
};
2016-06-04 20:20:05 +02:00
}