Loading pkgs/by-name/li/libtheora/package.nix +23 −9 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, autoreconfHook, libogg, libvorbis, pkg-config, perl, testers, validatePkgConfig, }: Loading @@ -14,13 +15,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "libtheora"; version = "1.2.0"; src = fetchurl { url = "https://downloads.xiph.org/releases/theora/libtheora-${finalAttrs.version}.tar.gz"; hash = "sha256-J5MnM5kDtUTCipKurafQ3P0Dl7WcLzaMxpisVvUVkG4="; src = fetchFromGitHub { owner = "xiph"; repo = "theora"; tag = "v${finalAttrs.version}"; hash = "sha256-kzZh4V6wZX9MetDutuqjRenmdpy4PHaRU9MgtIwPpiU="; }; patches = lib.optionals stdenv.hostPlatform.isMinGW [ ./mingw-remove-export.patch ]; postPatch = lib.optionalString stdenv.hostPlatform.isArmv7 '' patchShebangs lib/arm/arm2gnu.pl ''; configureFlags = [ "--disable-examples" ]; outputs = [ Loading @@ -30,10 +37,15 @@ stdenv.mkDerivation (finalAttrs: { ]; outputDoc = "devdoc"; nativeBuildInputs = [ nativeBuildInputs = [ autoreconfHook pkg-config validatePkgConfig ] ++ lib.optionals stdenv.hostPlatform.isArmv7 [ # Needed to run lib/arm/arm2gnu.pl for ARM assembly optimizations perl ]; propagatedBuildInputs = [ Loading @@ -41,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { libvorbis ]; strictDeps = true; passthru = { tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; Loading Loading
pkgs/by-name/li/libtheora/package.nix +23 −9 Original line number Diff line number Diff line { lib, stdenv, fetchurl, fetchFromGitHub, autoreconfHook, libogg, libvorbis, pkg-config, perl, testers, validatePkgConfig, }: Loading @@ -14,13 +15,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "libtheora"; version = "1.2.0"; src = fetchurl { url = "https://downloads.xiph.org/releases/theora/libtheora-${finalAttrs.version}.tar.gz"; hash = "sha256-J5MnM5kDtUTCipKurafQ3P0Dl7WcLzaMxpisVvUVkG4="; src = fetchFromGitHub { owner = "xiph"; repo = "theora"; tag = "v${finalAttrs.version}"; hash = "sha256-kzZh4V6wZX9MetDutuqjRenmdpy4PHaRU9MgtIwPpiU="; }; patches = lib.optionals stdenv.hostPlatform.isMinGW [ ./mingw-remove-export.patch ]; postPatch = lib.optionalString stdenv.hostPlatform.isArmv7 '' patchShebangs lib/arm/arm2gnu.pl ''; configureFlags = [ "--disable-examples" ]; outputs = [ Loading @@ -30,10 +37,15 @@ stdenv.mkDerivation (finalAttrs: { ]; outputDoc = "devdoc"; nativeBuildInputs = [ nativeBuildInputs = [ autoreconfHook pkg-config validatePkgConfig ] ++ lib.optionals stdenv.hostPlatform.isArmv7 [ # Needed to run lib/arm/arm2gnu.pl for ARM assembly optimizations perl ]; propagatedBuildInputs = [ Loading @@ -41,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: { libvorbis ]; strictDeps = true; passthru = { tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; Loading