summary refs log tree commit diff
path: root/pkgs/servers/etcd/default.nix
blob: 2c76dfc8e31d8bc74a631463e49c2bac41189e73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "etcd-${version}";
  version = "2.3.7";
  rev = "v${version}";
  
  goPackagePath = "github.com/coreos/etcd";

  src = fetchFromGitHub {
    inherit rev;
    owner = "coreos";
    repo = "etcd";
    sha256 = "07rdnhcpnvnkxj5pqacxz669rzn5vw2i1zmf6dd4nv7wpfscdw9f";
  };

  goDeps = ./deps.json;

  buildInputs = [ libpcap ];
}