mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
feh: add jpeg image manipulation support
This commit is contained in:
parent
abf901484c
commit
d34f77fd1f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, x11, imlib2, libjpeg, libpng, giblib
|
{ stdenv, makeWrapper, fetchurl, x11, imlib2, libjpeg, libpng, giblib
|
||||||
, libXinerama, curl }:
|
, libXinerama, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -9,12 +9,16 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1wlhfbglzc1jzsh80s4s1fawclgzyjy2105ffzx2mw9s0c1xds5l";
|
sha256 = "1wlhfbglzc1jzsh80s4s1fawclgzyjy2105ffzx2mw9s0c1xds5l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
buildInputs = [makeWrapper x11 imlib2 giblib libjpeg libpng libXinerama curl ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlags="PREFIX=$out"
|
makeFlags="PREFIX=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A light-weight image viewer";
|
description = "A light-weight image viewer";
|
||||||
homepage = https://derf.homelinux.org/projects/feh/;
|
homepage = https://derf.homelinux.org/projects/feh/;
|
||||||
|
Loading…
Reference in New Issue
Block a user