mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
|
|
, pkg-config, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
|
|
, epoxy, poppler, mesa, lirc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "fbida-2.14";
|
|
|
|
src = fetchurl {
|
|
url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
|
|
sha256 = "0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config which ];
|
|
buildInputs = [
|
|
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
|
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
|
|
mesa
|
|
];
|
|
|
|
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
|
|
|
|
patchPhase = ''
|
|
sed -e 's@ cpp\>@ gcc -E -@' -i GNUmakefile
|
|
sed -e 's@$(HAVE_LINUX_FB_H)@yes@' -i GNUmakefile
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Image viewing and manipulation programs including fbi, fbgs, ida, exiftran and thumbnail.cgi";
|
|
homepage = "https://www.kraxel.org/blog/linux/fbida/";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|