3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/epeg/default.nix

36 lines
832 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkgconfig, libtool, autoconf, automake
, libjpeg, libexif
}:
stdenv.mkDerivation rec {
2019-04-14 02:37:56 +01:00
pname = "epeg";
version = "0.9.2";
src = fetchFromGitHub {
owner = "mattes";
repo = "epeg";
2019-04-14 02:37:56 +01:00
rev = "v${version}";
sha256 = "14bjl9v6zzac4df25gm3bkw3n0mza5iazazsi65gg3m6661x6c5g";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig 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;
2018-08-23 10:57:07 +01:00
license = {
url = "https://github.com/mattes/epeg#license";
};
maintainers = with maintainers; [ nh2 ];
};
}