aboutsummaryrefslogblamecommitdiff
path: root/pkgs/telegram-history-dump/default.nix
blob: 050b3511599c78d0959b2105a8a31454dc51cb4e (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                           






                                                                                                
{ stdenv, ruby, mylibs }:
stdenv.mkDerivation (mylibs.fetchedGithub ./telegram-history-dump.json // {
  installPhase = ''
    mkdir -p $out/lib $out/bin
    cp -a $src $out/lib/telegram-history-dump
    ln -s $out/lib/telegram-history-dump/telegram-history-dump.rb $out/bin/telegram-history-dump
    '';
  buildInputs = [ ruby ];
})