shoreline: init at 0-unstable-2021-08-21

Zebreus 26b1c14e cc648ec4

+49
+49
pkgs/by-name/sh/shoreline/package.nix
··· 1 + { 2 + stdenv, 3 + lib, 4 + pkg-config, 5 + imagemagick, 6 + fetchFromGitHub, 7 + SDL2, 8 + numactl, 9 + libvncserver, 10 + freetype, 11 + unstableGitUpdater, 12 + }: 13 + stdenv.mkDerivation { 14 + pname = "shoreline"; 15 + version = "0-unstable-2021-08-24"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "TobleMiner"; 19 + repo = "shoreline"; 20 + rev = "05a2bbfb4559090727c51673e1fb47d20eac5672"; 21 + hash = "sha256-fWzk1gM8vmqkM9hwl6Jnut2AAMQQ91hAYu41xgoI1Jk="; 22 + }; 23 + 24 + nativeBuildInputs = [ pkg-config ]; 25 + 26 + buildInputs = [ 27 + SDL2 28 + numactl 29 + libvncserver 30 + freetype 31 + ]; 32 + 33 + installPhase = '' 34 + runHook preInstall 35 + install -m755 -D shoreline $out/bin/shoreline 36 + runHook postInstall 37 + ''; 38 + 39 + passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; 40 + 41 + meta = { 42 + description = "Very fast (200+ Gbit/s) pixelflut server written in C with full IPv6 support"; 43 + homepage = "https://github.com/TobleMiner/shoreline"; 44 + license = lib.licenses.mit; 45 + maintainers = with lib.maintainers; [ zebreus ]; 46 + platforms = lib.platforms.linux; 47 + mainProgram = "shoreline"; 48 + }; 49 + }