diff --git a/pkgs/applications/office/beamerpresenter/default.nix b/pkgs/applications/office/beamerpresenter/default.nix new file mode 100644 index 00000000000..ea0c321f8cf --- /dev/null +++ b/pkgs/applications/office/beamerpresenter/default.nix @@ -0,0 +1,53 @@ +{ stdenv, mkDerivation, fetchFromGitHub, makeDesktopItem, installShellFiles, + qmake, qtbase, poppler, qtmultimedia }: + +mkDerivation rec { + pname = "beamerpresenter"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "stiglers-eponym"; + repo = "BeamerPresenter"; + rev = "v${version}"; + sha256 = "0j7wx3qqwhda33ig2464bi0j0a473y5p7ndy5f7f8x9cqdal1d01"; + }; + + nativeBuildInputs = [ qmake installShellFiles ]; + buildInputs = [ qtbase qtmultimedia poppler ]; + + postPatch = '' + # Fix location of poppler-*.h + shopt -s globstar + for f in **/*.{h,cpp}; do + substituteInPlace $f --replace '#include