From 3b16908085ed08ac70b1468357761c4307f31f07 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Apr 2018 15:15:53 +0200 Subject: manual_youtube --- odin/strm.nix | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) (limited to 'odin/strm.nix') diff --git a/odin/strm.nix b/odin/strm.nix index 71d93011..094da07c 100644 --- a/odin/strm.nix +++ b/odin/strm.nix @@ -1,6 +1,43 @@ -{ stdenv, zsh, ffmpeg-full, youtube-dl, pv, notmuch, rss2email }: +{ stdenv, zsh, ffmpeg-full, youtube-dl, pv, notmuch, rss2email, buildPerlPackage, perlPackages }: -stdenv.mkDerivation { +let + manual-youtube = buildPerlPackage { + name = "manual_youtube"; + + src = ./strm/manual_youtube; + + outputs = [ "out" ]; + phases = [ "unpackPhase" "configurePhase" "buildPhase" "installPhase" "fixupPhase" ]; + + unpackPhase = '' + cp $src manual_youtube + + cat >Makefile.PL <