nixpkgs/pkgs/servers/etcd/default.nix
Ryan Mulligan 3851ab4a3d etcd: 3.1.6 -> 3.3.1
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/benchmark -h` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/benchmark --help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/benchmark help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd-dump-db -h` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd-dump-db --help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd-dump-db help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl -h` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl --help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl -v` and found version 3.3.1
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl --version` and found version 3.3.1
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl -h` and found version 3.3.1
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl --help` and found version 3.3.1
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcdctl help` and found version 3.3.1
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd -h` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd --help` got 0 exit code
- ran `/nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin/bin/etcd --version` and found version 3.3.1
- found 3.3.1 with grep in /nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin
- found 3.3.1 in filename of file in /nix/store/bv1hwms0avpnxymgsvwyw9j3n8578k24-etcd-3.3.1-bin
2018-02-25 20:51:41 -08:00

37 lines
871 B
Nix

{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
with lib;
buildGoPackage rec {
name = "etcd-${version}";
version = "3.3.1"; # After updating check that nixos tests pass
rev = "v${version}";
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
repo = "etcd";
sha256 = "11gzmi05y4kpnzgqc737l0wk5svxai4z17nl92jazqga6zhyavyl";
};
subPackages = [
"cmd/etcd"
"cmd/etcdctl"
"cmd/tools/benchmark"
"cmd/tools/etcd-dump-db"
"cmd/tools/etcd-dump-logs"
];
buildInputs = [ libpcap ];
meta = {
description = "Distributed reliable key-value store for the most critical data of a distributed system";
license = licenses.asl20;
homepage = https://coreos.com/etcd/;
maintainers = with maintainers; [offline];
platforms = with platforms; linux;
};
}