summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/youtube-tools.nix
blob: 29142b8b97b8ad3131f7a27f0332158bdefd7d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/
  '';
}