nixpkgs/pkgs/development/libraries/jasper/default.nix
Eelco Dolstra bec9f4b0c3 * JasPer: build without OpenGL/X support - it's only used to build a
trivial example program (a barebones image viewer), but it gives
  everybody else a dependency on Mesa ;-)

svn path=/nixpkgs/trunk/; revision=14633
2009-03-20 16:27:32 +00:00

20 lines
476 B
Nix

{stdenv, fetchurl, unzip, xlibs, libjpeg}:
stdenv.mkDerivation rec {
name = "jasper-1.900.1";
src = fetchurl {
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.zip";
sha256 = "154l7zk7yh3v8l2l6zm5s2alvd2fzkp6c9i18iajfbna5af5m43b";
};
buildInputs = [unzip libjpeg];
configureFlags = "--enable-shared --disable-static";
meta = {
homepage = http://www.ece.uvic.ca/~mdadams/jasper/;
description = "JasPer JPEG2000 Library";
};
}