diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 252dd7d899b7a0deea1537cc5d2d48b825afffb0 (patch) | |
tree | f51c3c9cd7429b0b9553a840f26bee489be045bc /pkgs/telegram-history-dump/default.nix | |
download | NUR-nur_root.tar.gz NUR-nur_root.tar.zst NUR-nur_root.zip |
Initial commit published for NURnur_root
Diffstat (limited to 'pkgs/telegram-history-dump/default.nix')
-rw-r--r-- | pkgs/telegram-history-dump/default.nix | 9 |
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 }: | ||
2 | stdenv.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 | }) | ||