mwprocapture: 1.2.3589 -> 1.2.3773

also refactor linux 4.14 patch, and remove 4.13 patch as it is upstream
This commit is contained in:
Cray Elliott
2017-12-23 22:31:10 -08:00
parent 159a72bd55
commit 5e38fc024b
3 changed files with 23 additions and 26 deletions
@@ -18,15 +18,14 @@ let
in
stdenv.mkDerivation rec {
name = "mwprocapture-1.2.${version}-${kernel.version}";
version = "3589";
version = "3773";
src = fetchurl {
url = "http://www.magewell.com/files/ProCaptureForLinux_${version}.tar.gz";
sha256 = "1arwnwrq52rs8g9zfxw8saip40vc3201sf7qnbqd2p23h8vzwb8i";
url = "http://www.magewell.com/files/drivers/ProCaptureForLinux_${version}.tar.gz";
sha256 = "1ri7c4l4xgkhpz0f15jra1p7mpzi8ir6lpwjm7q7hc9m4cvxcs1g";
};
patches = [] ++ optional (versionAtLeast kernel.version "4.13") ./linux_4_13_fix.patch
++ optional (versionAtLeast kernel.version "4.14") ./linux_4_14_fix.patch;
patches = [ ./linux_4_14_fix.patch ];
preConfigure =
''