14 stdenv.mkDerivation (finalAttrs: {
19 url = "https://downloads.xiph.org/releases/theora/libtheora-${finalAttrs.version}.tar.gz";
20 hash = "sha256-QJUpVsR4EZKNHnkizaO8H0J+t1aAw8NySckelJBUkWs=";
24 # fix error in autoconf scripts
26 url = "https://github.com/xiph/theora/commit/28cc6dbd9b2a141df94f60993256a5fca368fa54.diff";
27 hash = "sha256-M/UULkiklvEay7LyOuCamxWCSvt37QSMzHOsAAnOWJo=";
29 ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ ./mingw-remove-export.patch ];
31 configureFlags = [ "--disable-examples" ];
46 propagatedBuildInputs = [
52 tests.pkg-config = testers.hasPkgConfigModules {
53 package = finalAttrs.finalPackage;
63 description = "Library for Theora, a free and open video compression format";
64 homepage = "https://www.theora.org/";
65 license = lib.licenses.bsd3;
66 maintainers = with lib.maintainers; [ getchoo ];
67 platforms = lib.platforms.unix ++ lib.platforms.windows;