packages: add MakeMKV (along with an update to 1.17.1)

MakeMKV doesn't allow old versions to run unregistered.

PR which updates MakeMKV in nixpkgs:
<https://github.com/NixOS/nixpkgs/pull/188342>
This commit is contained in:
colin 2022-08-25 19:07:29 -07:00
parent 5b5103f660
commit ed98b1702a
3 changed files with 32 additions and 0 deletions

View File

@ -69,6 +69,7 @@ let
inkscape
libreoffice-fresh # XXX colin: maybe don't want this on mobile
lollypop
makemkv
mesa-demos
networkmanagerapplet

View File

@ -0,0 +1,29 @@
diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix
index 2c15513d4d6..1251a15cf1d 100644
--- a/pkgs/applications/video/makemkv/default.nix
+++ b/pkgs/applications/video/makemkv/default.nix
@@ -14,21 +14,21 @@
}:
let
- version = "1.16.7";
+ version = "1.17.1";
# Using two URLs as the first one will break as soon as a new version is released
src_bin = fetchurl {
urls = [
"http://www.makemkv.com/download/makemkv-bin-${version}.tar.gz"
"http://www.makemkv.com/download/old/makemkv-bin-${version}.tar.gz"
];
- sha256 = "sha256-YjsYW2MmzDZqOMdYlqE0dZ399Qq8hJRQ9BCViNexLHs=";
+ sha256 = "sha256-B4SQiwf5/Icweg+VgQW34tN/XxDA7xoSgIVOfXwGsfM=";
};
src_oss = fetchurl {
urls = [
"http://www.makemkv.com/download/makemkv-oss-${version}.tar.gz"
"http://www.makemkv.com/download/old/makemkv-oss-${version}.tar.gz"
];
- sha256 = "sha256-TL0PRP/pDg16qsbYi9RYyD0egNDaxuApmR86hiR/Rq8=";
+ sha256 = "sha256-DVcrG5N9lydct11xoUKz1VVCiuvVOmQWGlAP2nrnZv4=";
};
in mkDerivation {

View File

@ -20,4 +20,6 @@ fetchpatch: [
./07-duplicity-rich-url.patch
# TODO: upstream
./08-zecwallet-lite.patch
# upstream PR: https://github.com/NixOS/nixpkgs/pull/188342
./09-makemkv-1.17.1.patch
]