From bc1e1c56985811d5f64032c78305b8e5492b4e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Sun, 21 Feb 2016 16:15:54 +0100 Subject: [PATCH] kodiPlugins.salts: 1.0.98 -> 2.0.6 --- pkgs/applications/video/kodi/plugins.nix | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix index 078de59bdb1..34b454ddcdd 100644 --- a/pkgs/applications/video/kodi/plugins.nix +++ b/pkgs/applications/video/kodi/plugins.nix @@ -109,24 +109,21 @@ in maintainers = with maintainers; [ edwtjo ]; }; }).override { - patches = [ (fetchpatch { - url = https://github.com/Eldorados/script.module.urlresolver/pull/355.patch; - sha256 = "0q1n2sqdjqq32202s6ifh81c9a1l5a7yfkkf170dbkiajvxglz1m"; - }) ]; + postPatch = "sed -i -e 's,settings_file = os.path.join(addon_path,settings_file = os.path.join(profile_path,g' lib/urlresolver/common.py"; }; - salts = (mkKodiPlugin rec { + salts = mkKodiPlugin rec { plugin = "salts"; namespace = "plugin.video.salts"; - version = "1.0.98"; + version = "2.0.6"; src = fetchFromGitHub { name = plugin + "-" + version + ".tar.gz"; owner = "tknorris"; repo = plugin; - rev = "02cb63360ac1f60c01ec29d1da94902542f9a47a"; - sha256 = "10cy633g383m1xy6yap46aqzyz96dh62y7c5rn5nvyw8ms18089z"; + rev = "5100565bec5818cdcd8a891ab6a6d67b0018e070"; + sha256 = "00nlcddmgzyi3462i12qikdryfwqzqd1i30rkp485ay16akyj0lr"; }; meta = with stdenv.lib; { @@ -134,11 +131,6 @@ in description = "Stream All The Sources"; maintainers = with maintainers; [ edwtjo ]; }; - }).override { - patches = [ (fetchpatch { - url = https://github.com/tknorris/salts/pull/115.patch; - sha256 = "157dhp049mw8lna6cg3x549jv2b9zq1vj6v94mil65q2hlw09sjd"; - }) ]; }; svtplay = mkKodiPlugin rec {