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:
1
modules/universal/env/home-packages.nix
vendored
1
modules/universal/env/home-packages.nix
vendored
@@ -69,6 +69,7 @@ let
|
|||||||
inkscape
|
inkscape
|
||||||
libreoffice-fresh # XXX colin: maybe don't want this on mobile
|
libreoffice-fresh # XXX colin: maybe don't want this on mobile
|
||||||
lollypop
|
lollypop
|
||||||
|
makemkv
|
||||||
mesa-demos
|
mesa-demos
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
|
|
||||||
|
29
nixpatches/09-makemkv-1.17.1.patch
Normal file
29
nixpatches/09-makemkv-1.17.1.patch
Normal 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 {
|
@@ -20,4 +20,6 @@ fetchpatch: [
|
|||||||
./07-duplicity-rich-url.patch
|
./07-duplicity-rich-url.patch
|
||||||
# TODO: upstream
|
# TODO: upstream
|
||||||
./08-zecwallet-lite.patch
|
./08-zecwallet-lite.patch
|
||||||
|
# upstream PR: https://github.com/NixOS/nixpkgs/pull/188342
|
||||||
|
./09-makemkv-1.17.1.patch
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user