nixpkgs-suyu/pkgs/development/libraries/jasper/default.nix
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00

20 lines
496 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";
};
nativeBuildInputs = [unzip];
propagatedBuildInputs = [ libjpeg ];
configureFlags = "--enable-shared";
meta = {
homepage = http://www.ece.uvic.ca/~mdadams/jasper/;
description = "JasPer JPEG2000 Library";
};
}