3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/fleet/default.nix
2016-10-19 15:09:35 +02:00

38 lines
723 B
Nix

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