Merge pull request #178647 from trofi/parallel-harvid

harvid: fix pending upstream inclusion to support parallel builds

authored by

Sergei Trofimovich and committed by
GitHub
e5bb9775 a2dbba38

+11 -1
+11 -1
pkgs/tools/video/harvid/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, ffmpeg, libjpeg, libpng, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, ffmpeg, libjpeg, libpng, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "harvid"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "sha256-qt6aep7iMF8/lnlT2wLqu6LkFDqzdfsGLZvrOlXttG8="; 12 12 }; 13 + 14 + patches = [ 15 + # Fix pending upstream inclusion to support parallel builds: 16 + # https://github.com/x42/harvid/pull/10 17 + (fetchpatch { 18 + name = "parallel-build.patch"; 19 + url = "https://github.com/x42/harvid/commit/a3f85c57ad2559558706d9b22989de36452704d9.patch"; 20 + sha256 = "sha256-0aBfM/4XEqM7C1nFw996IVwaeL0tNgMUQ1C3kblOobI="; 21 + }) 22 + ]; 13 23 14 24 nativeBuildInputs = [ pkg-config ]; 15 25