shoreline: init at unstable-2021-08-24

master
Simon Bruder 2021-10-17 10:19:25 +02:00
parent a54a57fbbb
commit 0f226e3f00
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
3 changed files with 34 additions and 2 deletions

View File

@ -1,4 +1,6 @@
final: prev: let
inherit (prev) callPackage;
in
{ }
{
shoreline = callPackage ./shoreline { };
}

View File

@ -15,7 +15,8 @@
{
packages = {
inherit (pkgs)
pixelnuke;
pixelnuke
shoreline;
};
}));
}

29
shoreline/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ 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 ];
};
}