]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blame - pkgs/telegram-history-dump/default.nix
Initial commit published for NUR
[perso/Immae/Config/Nix/NUR.git] / pkgs / telegram-history-dump / default.nix
CommitLineData
24fd1fe6
IB
1{ stdenv, ruby, mylibs }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./telegram-history-dump.json // {
3 installPhase = ''
4 mkdir -p $out/lib $out/bin
5 cp -a $src $out/lib/telegram-history-dump
6 ln -s $out/lib/telegram-history-dump/telegram-history-dump.rb $out/bin/telegram-history-dump
7 '';
8 buildInputs = [ ruby ];
9})