Merge pull request #39881 from nh2/epeg

Add epeg
This commit is contained in:
Matthew Justin Bauer 2018-05-05 00:33:50 -05:00 committed by GitHub
commit 30caa09e51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, pkgconfig, libtool, autoconf, automake
, libjpeg, libexif
}:
stdenv.mkDerivation rec {
name = "epeg-0.9.1.042"; # version taken from configure.ac
src = fetchFromGitHub {
owner = "mattes";
repo = "epeg";
rev = "248ae9fc3f1d6d06e6062a1f7bf5df77d4f7de9b";
sha256 = "14ad33w3pxrg2yfc2xzyvwyvjirwy2d00889dswisq8b84cmxfia";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig libtool autoconf automake ];
propagatedBuildInputs = [ libjpeg libexif ];
preConfigure = ''
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = https://github.com/mattes/epeg;
description = "Insanely fast JPEG/ JPG thumbnail scaling";
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ nh2 ];
};
}

View file

@ -15598,6 +15598,8 @@ with pkgs;
epdfview = callPackage ../applications/misc/epdfview { };
epeg = callPackage ../applications/graphics/epeg/default.nix { };
inherit (gnome3) epiphany;
epic5 = callPackage ../applications/networking/irc/epic5 { };