mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03: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.
36 lines
834 B
Nix
36 lines
834 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, libtool, autoconf, automake
|
|
, libjpeg, libexif
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "epeg";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattes";
|
|
repo = "epeg";
|
|
rev = "v${version}";
|
|
sha256 = "14bjl9v6zzac4df25gm3bkw3n0mza5iazazsi65gg3m6661x6c5g";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ pkg-config libtool autoconf automake ];
|
|
|
|
propagatedBuildInputs = [ libjpeg libexif ];
|
|
|
|
preConfigure = ''
|
|
./autogen.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mattes/epeg";
|
|
description = "Insanely fast JPEG/ JPG thumbnail scaling";
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = {
|
|
url = "https://github.com/mattes/epeg#license";
|
|
};
|
|
maintainers = with maintainers; [ nh2 ];
|
|
};
|
|
}
|