nixpkgs/pkgs/servers/fleet/default.nix
Ryan Mulligan c84e359ac4 fleet: 0.11.8 -> 1.0.0
Semi-automatic update. These checks were performed:

- built on NixOS
- found 1.0.0 with grep in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0
- found 1.0.0 in filename of file in /nix/store/608n659blbbpf836scf4lnjdx1q25gra-fleet-1.0.0
2018-02-25 21:27:56 -08:00

37 lines
723 B
Nix

{ stdenv, lib, go, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "fleet-${version}";
version = "1.0.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "fleet";
rev = "v${version}";
sha256 = "0j48ajz19aqfzv9iyznnn39aw51y1nqcl270grmvi5cbqycmrfm0";
};
buildInputs = [ go ];
buildPhase = ''
patchShebangs build
./build
'';
installPhase = ''
mkdir -p $out
mv bin $out
'';
meta = with stdenv.lib; {
description = "A distributed init system";
homepage = https://coreos.com/using-coreos/clustering/;
license = licenses.asl20;
maintainers = with maintainers; [
cstrahan
jgeerds
offline
];
platforms = platforms.unix;
};
}