2017-01-07 06:50:02 -05:00
|
|
|
{ callPackage, fetchpatch, ... } @ args:
|
2015-02-25 01:50:06 +00:00
|
|
|
|
|
|
|
callPackage ./generic.nix (args // rec {
|
2019-04-06 11:03:39 -05:00
|
|
|
version = "2.3.1";
|
2017-11-19 19:32:17 +01:00
|
|
|
branch = "2.3";
|
|
|
|
revision = "v${version}";
|
2019-04-06 11:03:39 -05:00
|
|
|
sha256 = "1dn98d2dfa1lqyxxmab6rrcv52dyhjr4g7i4xf2w54fqsx14ynrb";
|
2018-10-27 15:25:52 +02:00
|
|
|
|
2018-12-23 02:01:49 +01:00
|
|
|
extraFlags = [
|
|
|
|
"-DOPENJPEG_INSTALL_INCLUDE_DIR=${placeholder "dev"}/include/openjpeg-${branch}"
|
|
|
|
"-DOPENJPEG_INSTALL_PACKAGE_DIR=${placeholder "dev"}/lib/openjpeg-${branch}"
|
|
|
|
];
|
|
|
|
|
2018-10-27 15:25:52 +02:00
|
|
|
patches = [
|
2018-12-23 02:01:49 +01:00
|
|
|
./fix-cmake-config-includedir.patch
|
2018-10-27 15:25:52 +02:00
|
|
|
];
|
2015-02-25 01:50:06 +00:00
|
|
|
})
|