summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/youtube-dl2kodi/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-15 11:02:06 +0200
committermakefu <github@syntax-fehler.de>2020-06-15 11:02:06 +0200
commit01d30d759bbb8c7a60215b635fd55bd1ecc5c3d3 (patch)
tree3b06ca07085b449bba8c58ba73507be4764454e9 /makefu/5pkgs/youtube-dl2kodi/default.nix
parent93b02dd872d93c4fa0d7333f5822e11ffdf07f2b (diff)
ma pkgs.youtube-dl2kodi: init
Diffstat (limited to 'makefu/5pkgs/youtube-dl2kodi/default.nix')
-rw-r--r--makefu/5pkgs/youtube-dl2kodi/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/5pkgs/youtube-dl2kodi/default.nix b/makefu/5pkgs/youtube-dl2kodi/default.nix
new file mode 100644
index 000000000..dfaab97cb
--- /dev/null
+++ b/makefu/5pkgs/youtube-dl2kodi/default.nix
@@ -0,0 +1,11 @@
+{ writeScriptBin, fetchFromGitHub, python3 }:
+let
+ src = fetchFromGitHub {
+ owner = "makefu";
+ repo = "youtube-dl2kodi";
+ rev = "88abe687842309d7bda0b7ba65b64e8058b855d6";
+ sha256 = "18csv2ighwgdgsm66hvw7fanv1pz522p24q59q2cwqy86fpg9y03";
+ };
+in writeScriptBin "youtube-dl2kodi" ''
+ ${python3}/bin/python ${src}/youtube-dl2kodi.py "$@"
+''