ndi: update from version 4.0 to 4.1.6 to fix the build

Closes https://github.com/NixOS/nixpkgs/issues/81329.

Needs back-porting to nixos-20.03.
This commit is contained in:
Peter Simons 2020-03-13 12:37:15 +01:00
parent 488aae4e8a
commit 54c34f74fc

View file

@ -2,21 +2,22 @@
stdenv.mkDerivation rec {
pname = "ndi";
version = "4";
fullVersion = "4.1.6";
version = builtins.head (builtins.splitVersion fullVersion);
src = requireFile rec {
name = "InstallNDISDK_v${version}_Linux.tar.gz";
sha256 = "1hac5npyg8nifs9ipj34pkn0zjyx8774x3i3h8znhmijx2j2982p";
sha256 = "0hki805j3hlci6w5ca2cajm5q0y9yihgvpsykkn8dzx8chw4pmsk";
message = ''
In order to use the NDI SDK, you need to comply with NewTek's license and
download the Linux version ${version} tarball from:
In order to use NDI SDK version ${fullVersion}, you need to comply with
NewTek's license and download the appropriate Linux tarball from:
${meta.homepage}
Once you have downloaded the file, please use the following command and
re-run the installation:
nix-prefetch-url file://\$PWD/${name}
\$ nix-prefetch-url file://\$PWD/${name}
'';
};