sturmflut: init at unstable-2020-02-14

This commit is contained in:
Simon Bruder 2021-10-17 10:27:11 +02:00
parent 0f226e3f00
commit 5dbd7af275
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 33 additions and 1 deletions

View file

@ -3,4 +3,6 @@ final: prev: let
in
{
shoreline = callPackage ./shoreline { };
sturmflut = callPackage ./sturmflut { };
}

View file

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

29
sturmflut/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, imagemagick }:
stdenv.mkDerivation rec {
pname = "sturmflut";
version = "unstable-2020-02-14";
src = fetchFromGitHub {
owner = "TobleMiner";
repo = pname;
rev = "f76221d873826db2a9df73f4626a792d28aacb42";
sha256 = "sha256-Vx1aN8m3zVuSTZJ69rYyVTlw0/9HvtT0+Y2c61pa/Tk=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ imagemagick ];
installPhase = ''
runHook preInstall
install -D sturmflut $out/bin/sturmflut
runHook postInstall
'';
meta = with lib; {
description = "A FAST (80+ Gbit/s) pixelflut client with full IPv6 and animation support";
homepage = "https://github.com/TobleMiner/sturmflut";
license = licenses.mit;
maintainers = with maintainers; [ sbruder ];
};
}