diff options
author | Jules Lamur <contact@juleslamur.fr> | 2022-10-05 12:18:40 +0200 |
---|---|---|
committer | Jules Lamur <contact@juleslamur.fr> | 2022-10-13 20:02:47 +0200 |
commit | 7d44e664ca57801509881a165e8b7ac2ce0c2c23 (patch) | |
tree | 7ddd171f2e60177baa9e429e9ef266a14161be29 /pkgs/applications/networking/browsers | |
parent | d0c935df26d69847ddca8f5feda9752a6ae29e52 (diff) |
widevine-cdm: init at 4.10.2449.0
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r-- | pkgs/applications/networking/browsers/misc/widevine-cdm.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/misc/widevine-cdm.nix b/pkgs/applications/networking/browsers/misc/widevine-cdm.nix new file mode 100644 index 0000000000000..41021cfdaa7c2 --- /dev/null +++ b/pkgs/applications/networking/browsers/misc/widevine-cdm.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchzip +}: + +stdenv.mkDerivation rec { + pname = "widevine-cdm"; + version = "4.10.2449.0"; + + src = fetchzip { + url = "https://dl.google.com/widevine-cdm/${version}-linux-x64.zip"; + sha256 = "sha256-f2kAkP+s3fB+krEZsiujEoI4oznkzSyaIB/CRJZWlXE="; + stripRoot = false; + }; + + installPhase = '' + install -vD libwidevinecdm.so $out/libwidevinecdm.so + ''; + + meta = with lib; { + description = "Widevine CDM"; + homepage = "https://www.widevine.com"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + license = licenses.unfree; + maintainers = with maintainers; [ jlamur ]; + platforms = [ "x86_64-linux" ]; + }; +} |