{ buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "confd";
  version = "0.9.0";
  rev = "v${version}";

  goPackagePath = "github.com/kelseyhightower/confd";
  subPackages = [ "./" ];

  src = fetchFromGitHub {
    inherit rev;
    owner = "kelseyhightower";
    repo = "confd";
    sha256 = "0rz533575hdcln8ciqaz79wbnga3czj243g7fz8869db6sa7jwlr";
  };

  goDeps = ./deps.nix;
}