1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/misc/pdfpc/default.nix
R. RyanTM d6d6b1e696 pdfpc: 4.1.1 -> 4.1.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pdfpc/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 4.1.2 with grep in /nix/store/5mwaxcqfbb807ywds98xl27rrwb51nv1-pdfpc-4.1.2
- directory tree listing: https://gist.github.com/5767dc3e3f368aaecb0c729b053b9209
2018-05-12 13:57:50 +02:00

40 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig, vala, gtk3, libgee
, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre, gobjectIntrospection }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "pdfpc";
version = "4.1.2";
src = fetchFromGitHub {
repo = "pdfpc";
owner = "pdfpc";
rev = "v${version}";
sha256 = "01c2bswvxqk4biidpfj3hzf0kdk69i56ibk2wfi8v50qm105psli";
};
nativeBuildInputs = [
cmake pkgconfig vala
# For setup hook
gobjectIntrospection
];
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
libpthreadstubs makeWrapper librsvg pcre ];
cmakeFlags = stdenv.lib.optionalString stdenv.isDarwin "-DMOVIES=OFF";
postInstall = ''
wrapProgram $out/bin/pdfpc \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
meta = with stdenv.lib; {
description = "A presenter console with multi-monitor support for PDF files";
homepage = https://pdfpc.github.io/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ pSub ];
platforms = platforms.unix;
};
}