git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #39881 from nh2/epeg

Add epeg

commit30caa09e51142e98c43f6288f55e1776fd5b625e authorMatthew Justin Bauer <mjbauer95@gmail.com> dateSat 5 May 2018, 00:33 (9 years ago) parent9f1da66c7b21cd
2 files changed+33
pkgs/applications/graphics/epeg/default.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/applications/graphics/epeg/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, stdenv, fetchFromGitHub, pkgconfig, libtool, autoconf, automake
2+, libjpeg, libexif
3+}:
4+
5+stdenv.mkDerivation rec {
6+ name = "epeg-0.9.1.042"; # version taken from configure.ac
7+
8+ src = fetchFromGitHub {
9+ owner = "mattes";
10+ repo = "epeg";
11+ rev = "248ae9fc3f1d6d06e6062a1f7bf5df77d4f7de9b";
12+ sha256 = "14ad33w3pxrg2yfc2xzyvwyvjirwy2d00889dswisq8b84cmxfia";
13+ };
14+
15+ enableParallelBuilding = true;
16+
17+ nativeBuildInputs = [ pkgconfig libtool autoconf automake ];
18+
19+ propagatedBuildInputs = [ libjpeg libexif ];
20+
21+ preConfigure = ''
22+ ./autogen.sh
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ homepage = https://github.com/mattes/epeg;
27+ description = "Insanely fast JPEG/ JPG thumbnail scaling";
28+ platforms = platforms.linux ++ platforms.darwin;
29+ maintainers = with maintainers; [ nh2 ];
30+ };
31+}
pkgs/top-level/all-packages.nix+2
@@ -15598,6 +15598,8 @@ with pkgs;
1559815598
1559915599 epdfview = callPackage ../applications/misc/epdfview { };
1560015600
15601+ epeg = callPackage ../applications/graphics/epeg/default.nix { };
15602+
1560115603 inherit (gnome3) epiphany;
1560215604
1560315605 epic5 = callPackage ../applications/networking/irc/epic5 { };