nixpkgs/pkgs/servers/etcd/default.nix

37 lines
863 B
Nix
Raw Normal View History

{ lib, libpcap, buildGoPackage, fetchFromGitHub }:
2016-06-04 07:40:17 +01:00
2016-09-03 13:02:53 +01:00
with lib;
2016-06-04 07:40:17 +01:00
buildGoPackage rec {
name = "etcd-${version}";
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-26 04:51:41 +00:00
version = "3.3.1"; # After updating check that nixos tests pass
2016-06-04 07:40:17 +01:00
rev = "v${version}";
2016-08-24 13:45:08 +01:00
2016-06-04 07:40:17 +01:00
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
2016-06-04 07:40:17 +01:00
inherit rev;
owner = "coreos";
repo = "etcd";
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-26 04:51:41 +00:00
sha256 = "11gzmi05y4kpnzgqc737l0wk5svxai4z17nl92jazqga6zhyavyl";
2016-06-04 07:40:17 +01:00
};
subPackages = [
"cmd/etcd"
"cmd/etcdctl"
"cmd/tools/benchmark"
"cmd/tools/etcd-dump-db"
"cmd/tools/etcd-dump-logs"
];
2016-06-04 07:40:17 +01:00
buildInputs = [ libpcap ];
2016-09-03 13:02:53 +01:00
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;
};
2016-06-04 07:40:17 +01:00
}