confd: extracted from goPackages
This commit is contained in:
21
pkgs/tools/system/confd/default.nix
Normal file
21
pkgs/tools/system/confd/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "confd-${version}";
|
||||
version = "0.9.0";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/kelseyhightower/confd";
|
||||
subPackages = [ "./" ];
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/kelseyhightower/confd";
|
||||
sha256 = "0rz533575hdcln8ciqaz79wbnga3czj243g7fz8869db6sa7jwlr";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
}
|
||||
15
pkgs/tools/system/confd/deps.json
Normal file
15
pkgs/tools/system/confd/deps.json
Normal file
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"github.com/kelseyhightower/memkv",
|
||||
"github.com/armon/consul-api",
|
||||
"github.com/garyburd/redigo",
|
||||
"github.com/samuel/go-zookeeper",
|
||||
"github.com/BurntSushi/toml",
|
||||
"github.com/Sirupsen/logrus",
|
||||
"github.com/coreos/go-etcd",
|
||||
"github.com/ugorji/go"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user