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

27 lines
732 B
Nix
Raw Normal View History

{ stdenv, fetchurl, nasm }:
stdenv.mkDerivation rec {
2015-06-19 04:12:57 +00:00
name = "libjpeg-turbo-1.4.1";
src = fetchurl {
url = "mirror://sourceforge/libjpeg-turbo/${name}.tar.gz";
2015-06-19 04:12:57 +00:00
sha256 = "027vz97064bjmwj7gdw2p47y1437w08j54frpgzmnql5rvabmxab";
};
buildInputs = [ nasm ];
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;
};
}