diff --git a/pkgs/by-name/pq/pqiv/package.nix b/pkgs/by-name/pq/pqiv/package.nix index 26794ad9fd5d..d3bb3efcf606 100644 --- a/pkgs/by-name/pq/pqiv/package.nix +++ b/pkgs/by-name/pq/pqiv/package.nix @@ -1,20 +1,39 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config -, ffmpeg, gtk3, imagemagick, libarchive, libspectre, libwebp, poppler +{ + lib, + stdenv, + fetchFromGitHub, + pkg-config, + ffmpeg, + gtk3, + imagemagick, + libarchive, + libspectre, + libwebp, + poppler, }: -stdenv.mkDerivation (rec { +stdenv.mkDerivation (finalAttrs: { pname = "pqiv"; version = "2.13"; src = fetchFromGitHub { owner = "phillipberndt"; repo = "pqiv"; - rev = version; - sha256 = "sha256-Jlc6sd9lRWUC1/2GZnJ0EmVRHxCXP8dTZNZEhJBS7oQ="; + rev = finalAttrs.version; + hash = "sha256-Jlc6sd9lRWUC1/2GZnJ0EmVRHxCXP8dTZNZEhJBS7oQ="; }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ ffmpeg gtk3 imagemagick libarchive libspectre libwebp poppler ]; + + buildInputs = [ + ffmpeg + gtk3 + imagemagick + libarchive + libspectre + libwebp + poppler + ]; prePatch = "patchShebangs .";