diff options
author | Niklas Hambüchen <mail@nh2.me> | 2018-05-02 22:35:15 +0200 |
---|---|---|
committer | Niklas Hambüchen <mail@nh2.me> | 2018-05-02 22:36:55 +0200 |
commit | c7b21cd1911f880630102996b54956d19c974295 (patch) | |
tree | 3d15d8297b729be069bdfa69ebd653d661f00566 /pkgs/applications/graphics/epeg/default.nix | |
parent | 646865afe2df8da768ee058bdf6b53b3757df881 (diff) | |
download | nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar.gz nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar.bz2 nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar.lz nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar.xz nixpkgs-c7b21cd1911f880630102996b54956d19c974295.tar.zst nixpkgs-c7b21cd1911f880630102996b54956d19c974295.zip |
epeg: init at 0.9.1.042
Signed-off-by: Niklas Hambüchen <mail@nh2.me>
Diffstat (limited to 'pkgs/applications/graphics/epeg/default.nix')
-rw-r--r-- | pkgs/applications/graphics/epeg/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/epeg/default.nix b/pkgs/applications/graphics/epeg/default.nix new file mode 100644 index 00000000000..02528a43e31 --- /dev/null +++ b/pkgs/applications/graphics/epeg/default.nix @@ -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 ]; + }; +} |