From a043b3ba9f2dbc8196c646876bb608da235058f2 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Tue, 5 May 2015 16:42:26 +0200 Subject: [PATCH] Add package for open-pdf-presenter --- .../misc/open-pdf-presenter/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/misc/open-pdf-presenter/default.nix diff --git a/pkgs/applications/misc/open-pdf-presenter/default.nix b/pkgs/applications/misc/open-pdf-presenter/default.nix new file mode 100644 index 000000000000..1d5811226d57 --- /dev/null +++ b/pkgs/applications/misc/open-pdf-presenter/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchFromGitHub, cmake, qt4, pythonPackages }: + +stdenv.mkDerivation rec { + name = "open-pdf-presenter-git-2014-09-23"; + + src = fetchFromGitHub { + owner = "olabini"; + repo = "open-pdf-presenter"; + rev = "f14930871b60b6ba50298c27377605e0a5fdf124"; + sha256 = "1lfqb60zmjmsvzpbz29m8yxlzs2fscingyk8jvisng1y921726rr"; + }; + + buildInputs = [ cmake qt4 pythonPackages.poppler-qt4 ]; + + meta = { + homepage = https://github.com/olabini/open-pdf-presenter; + description = "A program for presenting PDFs on multi-monitor settings (typically a laptop connected to a overhead projector)"; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.DamienCassou ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9936330936c2..436c54084190 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2330,6 +2330,8 @@ let update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { }; + open-pdf-presenter = callPackage ../applications/misc/open-pdf-presenter { }; + openvswitch = callPackage ../os-specific/linux/openvswitch { }; optipng = callPackage ../tools/graphics/optipng {