summaryrefslogtreecommitdiff
path: root/pkgs/telegram-history-dump/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-12-13 21:25:24 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-24 01:40:13 +0200
commit24fd1fe6c62b7a9fc347794fde043285da272f5c (patch)
tree65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/telegram-history-dump/default.nix
downloadNUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip
Initial commit published for NUR
Diffstat (limited to 'pkgs/telegram-history-dump/default.nix')
-rw-r--r--pkgs/telegram-history-dump/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/telegram-history-dump/default.nix b/pkgs/telegram-history-dump/default.nix
new file mode 100644
index 00000000..050b3511
--- /dev/null
+++ b/pkgs/telegram-history-dump/default.nix
@@ -0,0 +1,9 @@
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})