summary refs log tree commit diff
path: root/pkgs/development/libraries/ndi
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-03-13 12:37:15 +0100
committerPeter Simons <simons@cryp.to>2020-03-13 12:54:22 +0100
commit54c34f74fc3672ce9161bcf5ca3823df62d6d4a5 (patch)
treee13b4a99b559fd31acdd61934e6ed8e16f8a73f3 /pkgs/development/libraries/ndi
parent488aae4e8aa134043f2e24266b51cf13f0a64998 (diff)
downloadnixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar.gz
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar.bz2
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar.lz
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar.xz
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.tar.zst
nixpkgs-54c34f74fc3672ce9161bcf5ca3823df62d6d4a5.zip
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.
Diffstat (limited to 'pkgs/development/libraries/ndi')
-rw-r--r--pkgs/development/libraries/ndi/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/libraries/ndi/default.nix b/pkgs/development/libraries/ndi/default.nix
index fcf9457c691..7a4407a17f0 100644
--- a/pkgs/development/libraries/ndi/default.nix
+++ b/pkgs/development/libraries/ndi/default.nix
@@ -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}
+        ${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}
     '';
   };