4e5cecabcf
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pqiv/versions. These checks were done: - built on NixOS - ran ‘/nix/store/80y2wx9ga0c647w0m0nhkx2hgfhnwpv5-pqiv-2.10.4/bin/pqiv -h’ got 0 exit code - ran ‘/nix/store/80y2wx9ga0c647w0m0nhkx2hgfhnwpv5-pqiv-2.10.4/bin/pqiv --help’ got 0 exit code - ran ‘/nix/store/80y2wx9ga0c647w0m0nhkx2hgfhnwpv5-pqiv-2.10.4/bin/pqiv help’ got 0 exit code - found 2.10.4 with grep in /nix/store/80y2wx9ga0c647w0m0nhkx2hgfhnwpv5-pqiv-2.10.4 - directory tree listing: https://gist.github.com/4743505ebdeb4ef63b3c2637f5d6879d
29 lines
771 B
Nix
29 lines
771 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig
|
|
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
|
}:
|
|
|
|
stdenv.mkDerivation (rec {
|
|
name = "pqiv-${version}";
|
|
version = "2.10.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phillipberndt";
|
|
repo = "pqiv";
|
|
rev = version;
|
|
sha256 = "04fawc3sd625y1bbgfgwmak56pq28sm58dwn5db4h183iy3awdl9";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ];
|
|
|
|
prePatch = "patchShebangs .";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Powerful image viewer with minimal UI";
|
|
homepage = http://www.pberndt.com/Programme/Linux/pqiv;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.ndowens ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|