1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/servers/fleet/default.nix
2015-01-08 10:26:49 +01:00

34 lines
692 B
Nix

{ stdenv, lib, go, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "fleet-${version}";
version = "0.9.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "fleet";
rev = "v${version}";
sha256 = "0gjminfprprs1nmg9y9a0qkyl9spixrk4pc2b7bl0lxdgpq2yiid";
};
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 offline ];
platforms = platforms.unix;
};
}