30 lines
844 B
Nix
30 lines
844 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, SDL2, freetype, libvncserver, numactl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "shoreline";
|
|
version = "unstable-2021-08-24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TobleMiner";
|
|
repo = pname;
|
|
rev = "05a2bbfb4559090727c51673e1fb47d20eac5672";
|
|
sha256 = "sha256-fWzk1gM8vmqkM9hwl6Jnut2AAMQQ91hAYu41xgoI1Jk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ SDL2 freetype libvncserver numactl ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -D shoreline $out/bin/shoreline
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A very fast (40+ Gbit/s) pixelflut server written in C with full IPv6 support";
|
|
homepage = "https://github.com/TobleMiner/shoreline";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sbruder ];
|
|
};
|
|
}
|