pqiv: cleanup

This commit is contained in:
Donovan Glover 2024-03-08 00:59:46 -05:00
parent 0203229eff
commit e109026136
No known key found for this signature in database
GPG key ID: EA7408A77AE1BE65

View file

@ -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 .";