Loading pkgs/by-name/og/oggvideotools/package.nix +14 −9 Original line number Diff line number Diff line Loading @@ -12,13 +12,13 @@ libvorbis, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "oggvideotools"; version = "0.9.1"; src = fetchurl { url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${version}/oggvideotools-${version}.tar.bz2"; sha256 = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM="; url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${finalAttrs.version}/oggvideotools-${finalAttrs.version}.tar.bz2"; hash = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM="; }; patches = [ Loading @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { (fetchpatch { name = "gcc-10.patch"; url = "https://sourceforge.net/p/oggvideotools/bugs/12/attachment/fix-compile.patch"; sha256 = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4="; hash = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4="; }) # Fix pending upstream inclusion for build failure on gcc-12: Loading @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { (fetchpatch { name = "gcc-12.patch"; url = "https://sourceforge.net/p/oggvideotools/bugs/13/attachment/fix-gcc-12.patch"; sha256 = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE="; hash = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE="; # svn patch, rely on prefix added by fetchpatch: extraPrefix = ""; }) Loading @@ -59,14 +59,19 @@ stdenv.mkDerivation rec { libvorbis ]; meta = with lib; { cmakeFlags = [ # fix compatibility with CMake (https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html) (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "4.0") ]; meta = { description = "Toolbox for manipulating and creating Ogg video files"; homepage = "http://www.streamnik.de/oggvideotools.html"; license = licenses.gpl2Only; homepage = "https://sourceforge.net/projects/oggvideotools/"; license = lib.licenses.gpl2Only; maintainers = [ ]; # Compilation error on Darwin: # error: invalid argument '--std=c++0x' not allowed with 'C' # make[2]: *** [src/libresample/CMakeFiles/resample.dir/build.make:76: src/libresample/CMakeFiles/resample.dir/filterkit.c.o] Error 1 broken = stdenv.hostPlatform.isDarwin; }; } }) Loading
pkgs/by-name/og/oggvideotools/package.nix +14 −9 Original line number Diff line number Diff line Loading @@ -12,13 +12,13 @@ libvorbis, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "oggvideotools"; version = "0.9.1"; src = fetchurl { url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${version}/oggvideotools-${version}.tar.bz2"; sha256 = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM="; url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${finalAttrs.version}/oggvideotools-${finalAttrs.version}.tar.bz2"; hash = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM="; }; patches = [ Loading @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { (fetchpatch { name = "gcc-10.patch"; url = "https://sourceforge.net/p/oggvideotools/bugs/12/attachment/fix-compile.patch"; sha256 = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4="; hash = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4="; }) # Fix pending upstream inclusion for build failure on gcc-12: Loading @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { (fetchpatch { name = "gcc-12.patch"; url = "https://sourceforge.net/p/oggvideotools/bugs/13/attachment/fix-gcc-12.patch"; sha256 = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE="; hash = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE="; # svn patch, rely on prefix added by fetchpatch: extraPrefix = ""; }) Loading @@ -59,14 +59,19 @@ stdenv.mkDerivation rec { libvorbis ]; meta = with lib; { cmakeFlags = [ # fix compatibility with CMake (https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html) (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "4.0") ]; meta = { description = "Toolbox for manipulating and creating Ogg video files"; homepage = "http://www.streamnik.de/oggvideotools.html"; license = licenses.gpl2Only; homepage = "https://sourceforge.net/projects/oggvideotools/"; license = lib.licenses.gpl2Only; maintainers = [ ]; # Compilation error on Darwin: # error: invalid argument '--std=c++0x' not allowed with 'C' # make[2]: *** [src/libresample/CMakeFiles/resample.dir/build.make:76: src/libresample/CMakeFiles/resample.dir/filterkit.c.o] Error 1 broken = stdenv.hostPlatform.isDarwin; }; } })