nixpkgs/pkgs/development/libraries/jasper/default.nix

27 lines
682 B
Nix
Raw Normal View History

2016-10-05 11:59:10 +01:00
{ stdenv, fetchurl, fetchpatch, libjpeg, autoreconfHook }:
stdenv.mkDerivation rec {
name = "jasper-1.900.21";
src = fetchurl {
2016-10-05 11:59:10 +01:00
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
sha256 = "1cypmlzq5vmbacsn8n3ls9p7g64scv3fzx88qf8c270dz10s5j79";
};
2015-10-03 13:37:07 +01:00
# newer reconf to recognize a multiout flag
2016-10-05 11:59:10 +01:00
nativeBuildInputs = [ autoreconfHook ];
propagatedBuildInputs = [ libjpeg ];
configureFlags = "--enable-shared";
outputs = [ "bin" "dev" "out" "man" ];
enableParallelBuilding = true;
meta = {
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
description = "JPEG2000 Library";
platforms = stdenv.lib.platforms.unix;
};
}