mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
c84e359ac4
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
38 lines
723 B
Nix
38 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;
|
|
};
|
|
}
|