From e2b498ff08613124ddb66a80c57fc2b9257f4fca Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 6 Jul 2020 19:21:56 +0200 Subject: beamerpresenter: init at 0.1.1 --- .../office/beamerpresenter/default.nix | 53 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 55 insertions(+) create mode 100644 pkgs/applications/office/beamerpresenter/default.nix (limited to 'pkgs') 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