21059a1920
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/1a0aav46qsmi791vj57cn12hlzsra59l-pqiv-2.10.3/bin/pqiv -h’ got 0 exit code - ran ‘/nix/store/1a0aav46qsmi791vj57cn12hlzsra59l-pqiv-2.10.3/bin/pqiv --help’ got 0 exit code - found 2.10.3 with grep in /nix/store/1a0aav46qsmi791vj57cn12hlzsra59l-pqiv-2.10.3 - directory tree listing: https://gist.github.com/bbde9f259adf44f69b8dfc44689b1e49
28 lines
771 B
Nix
28 lines
771 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig
|
|
, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler
|
|
}:
|
|
|
|
stdenv.mkDerivation (rec {
|
|
name = "pqiv-${version}";
|
|
version = "2.10.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phillipberndt";
|
|
repo = "pqiv";
|
|
rev = version;
|
|
sha256 = "16nhnv0dcp242jf1099pjr5dwnc65i40cnb3dvx1avdhidcmsx01";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|