nixpkgs/pkgs/development/libraries/libjpeg-turbo/default.nix

31 lines
839 B
Nix
Raw Normal View History

2014-08-26 23:14:09 +00:00
{ stdenv, fetchurl, nasm, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libjpeg-turbo-1.4.2";
src = fetchurl {
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
sha256 = "0gi349hp1x7mb98s4mf66sb2xay2kjjxj9ihrriw0yiy0k9va6sj";
};
2013-06-26 12:46:53 +00:00
outputs = [ "dev" "out" "doc" "bin" ];
2014-08-30 06:27:43 +00:00
buildInputs = [ autoreconfHook nasm ];
2013-06-26 12:46:53 +00:00
enableParallelBuilding = true;
2013-05-30 13:11:43 +00:00
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
homepage = http://libjpeg-turbo.virtualgl.org/;
description = "A faster (using SIMD) libjpeg implementation";
license = licenses.ijg; # and some parts under other BSD-style licenses
maintainers = [ maintainers.vcunat ];
# upstream supports darwin (and others), but it doesn't build currently
platforms = platforms.all;
hydraPlatforms = platforms.linux;
};
}