From 24fd1fe6c62b7a9fc347794fde043285da272f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 13 Dec 2018 21:25:24 +0100 Subject: Initial commit published for NUR --- pkgs/telegram-history-dump/default.nix | 9 +++++++++ pkgs/telegram-history-dump/telegram-history-dump.json | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/telegram-history-dump/default.nix create mode 100644 pkgs/telegram-history-dump/telegram-history-dump.json (limited to 'pkgs/telegram-history-dump') 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 @@ +{ 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 ]; +}) 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 @@ +{ + "tag": "468ea91-master", + "meta": { + "name": "telegram-history-dump", + "url": "https://github.com/tvdstaaij/telegram-history-dump", + "branch": "master" + }, + "github": { + "owner": "tvdstaaij", + "repo": "telegram-history-dump", + "rev": "468ea91e543529b54bc2c5ea28b1ea17f362fd3e", + "sha256": "1wmwiqacfa56bmwx50njnb15cg0fy6rbdrmrjd4xfbh8bs6yp0gh", + "fetchSubmodules": true + } +} -- cgit v1.2.3