summaryrefslogtreecommitdiff
path: root/pkgs/telegram-history-dump
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
downloadNUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst
NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip
Initial commit published for NUR
Diffstat (limited to 'pkgs/telegram-history-dump')
-rw-r--r--pkgs/telegram-history-dump/default.nix9
-rw-r--r--pkgs/telegram-history-dump/telegram-history-dump.json15
2 files changed, 24 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})
diff --git a/pkgs/telegram-history-dump/telegram-history-dump.json b/pkgs/telegram-history-dump/telegram-history-dump.json
new file mode 100644
index 00000000..487df731
--- /dev/null
+++ b/pkgs/telegram-history-dump/telegram-history-dump.json
@@ -0,0 +1,15 @@
1{
2 "tag": "468ea91-master",
3 "meta": {
4 "name": "telegram-history-dump",
5 "url": "https://github.com/tvdstaaij/telegram-history-dump",
6 "branch": "master"
7 },
8 "github": {
9 "owner": "tvdstaaij",
10 "repo": "telegram-history-dump",
11 "rev": "468ea91e543529b54bc2c5ea28b1ea17f362fd3e",
12 "sha256": "1wmwiqacfa56bmwx50njnb15cg0fy6rbdrmrjd4xfbh8bs6yp0gh",
13 "fetchSubmodules": true
14 }
15}