From 01d30d759bbb8c7a60215b635fd55bd1ecc5c3d3 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 15 Jun 2020 11:02:06 +0200 Subject: ma pkgs.youtube-dl2kodi: init --- makefu/5pkgs/youtube-dl2kodi/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 makefu/5pkgs/youtube-dl2kodi/default.nix 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 "$@" +'' -- cgit v1.2.3