git.iko.soy/typeable/nixpkgs
on master help sign in
epeg: init at 0.9.1.042

Signed-off-by: Niklas Hambüchen <mail@nh2.me>

commitc7b21cd1911f880630102996b54956d19c974295 authorNiklas Hambüchen <mail@nh2.me> dateWed 2 May 2018, 22:35 (9 years ago) parent646865a
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
@@ -15571,6 +15571,8 @@ with pkgs;
1557115571
1557215572 epdfview = callPackage ../applications/misc/epdfview { };
1557315573
15574+ epeg = callPackage ../applications/graphics/epeg/default.nix { };
15575+
1557415576 inherit (gnome3) epiphany;
1557515577
1557615578 epic5 = callPackage ../applications/networking/irc/epic5 { };