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

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

  src = fetchgit {
    inherit rev;
    url = "https://github.com/coreos/etcd";
    sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
  };

  goDeps = ./deps.json;

  buildInputs = [ libpcap ];
}