krebs 5: add youtube-tools

This commit is contained in:
lassulus 2015-08-17 15:35:27 +02:00
parent 4c39f3c1e5
commit de6564e5f5
2 changed files with 22 additions and 0 deletions

View File

@ -13,4 +13,5 @@ pkgs //
github-known_hosts = callPackage ./github-known_hosts.nix {}; github-known_hosts = callPackage ./github-known_hosts.nix {};
hashPassword = callPackage ./hashPassword.nix {}; hashPassword = callPackage ./hashPassword.nix {};
posix-array = callPackage ./posix-array.nix {}; posix-array = callPackage ./posix-array.nix {};
youtube-tools = callPackage ./youtube-tools.nix {};
} }

View File

@ -0,0 +1,21 @@
{ stdenv, fetchgit, ... }:
stdenv.mkDerivation {
name = "youtube-tools";
src = fetchgit {
url = https://github.com/Lassulus/the_playlist;
rev = "323a66775168b6addb3acddaee0a8ff227ea4bd4";
sha256 = "1y1fs2p3xj2yrqpw0h5kd0f3c5p1y70xk1hjnw99sr33r67s9c35";
};
phases = [
"unpackPhase"
"installPhase"
];
installPhase = ''
mkdir -p $out/bin
cp bin/* $out/bin/
'';
}