11 stdenv.mkDerivation (finalAttrs: {
15 src = fetchFromGitHub {
18 rev = finalAttrs.version;
19 hash = "sha256-fF/llifGJb7NxzVJ7byLd3lecwC3dRlJ6qu8ApqB0fw=";
33 (lib.cmakeBool "OJPH_ENABLE_TIFF_SUPPORT" false)
39 tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
40 updateScript = nix-update-script { };
44 description = "Open-source implementation of JPEG2000 Part-15 (or JPH or HTJ2K)";
45 homepage = "https://openjph.org/";
46 maintainers = with lib.maintainers; [ abustany ];
47 license = lib.licenses.bsd2;
48 platforms = lib.platforms.unix;
49 pkgConfigModules = [ "openjph" ];