krebs 5: add youtube-tools
This commit is contained in:
parent
4c39f3c1e5
commit
de6564e5f5
@ -13,4 +13,5 @@ pkgs //
|
||||
github-known_hosts = callPackage ./github-known_hosts.nix {};
|
||||
hashPassword = callPackage ./hashPassword.nix {};
|
||||
posix-array = callPackage ./posix-array.nix {};
|
||||
youtube-tools = callPackage ./youtube-tools.nix {};
|
||||
}
|
||||
|
21
krebs/5pkgs/youtube-tools.nix
Normal file
21
krebs/5pkgs/youtube-tools.nix
Normal 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/
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user