nixos-config/5pkgs/youtube-dl2kodi/default.nix

12 lines
353 B
Nix
Raw Normal View History

2020-06-15 11:02:06 +02:00
{ 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 "$@"
''