3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #238261 from apfelkuchen6/feh

feh: 3.9 -> 3.10
This commit is contained in:
Maximilian Bosch 2023-06-17 16:49:37 +02:00 committed by GitHub
commit f190788519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,21 +5,15 @@
stdenv.mkDerivation rec {
pname = "feh";
version = "3.9";
version = "3.10";
src = fetchFromGitHub {
owner = "derf";
repo = pname;
rev = version;
sha256 = "sha256-rgNC4M1TJ5EPeWmVHVzgaxTGLY7CYQf7uOsOn5bkwKE=";
hash = "sha256-9NJ6zgQHcFJPmRlqJuCMXcKjLvDPUG+QvKGTJlWvWK4=";
};
postPatch = ''
substituteInPlace test/feh.t \
--replace "WARNING:" "WARNING: While loading" \
--replace "Does not look like an image \(magic bytes missing\)" "Unknown error \(15\)"
'';
outputs = [ "out" "man" "doc" ];
nativeBuildInputs = [ makeWrapper ];