blob: 3f600b5a12212272b9c9c2ddfae1c411c4011cb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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 = https://coreos.com/using-coreos/clustering/;
license = licenses.asl20;
maintainers = with maintainers; [
cstrahan
jgeerds
offline
];
platforms = platforms.unix;
};
}
|