nixpkgs/pkgs/servers/fleet/default.nix
Domen Kožar 512fbb280f Introduce patchShebangsPhase ran in preConfigurePhases
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d)
Signed-off-by: Domen Kožar <domen@dev.si>
2015-01-02 02:58:32 +01:00

33 lines
668 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 = ''
./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;
};
}