diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 02:35:33 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-04-26 02:35:33 +0200 |
commit | a2230e848bc85e484ef14163ac90fdb7045855f7 (patch) | |
tree | 2a1cc4158e5aeca3b6022efec7cc11ee405b7757 /pkgs/telegram-history-dump | |
parent | 1618010c141571c4d9a3fa9d340d009620c4520f (diff) | |
download | Nix-a2230e848bc85e484ef14163ac90fdb7045855f7.tar.gz Nix-a2230e848bc85e484ef14163ac90fdb7045855f7.tar.zst Nix-a2230e848bc85e484ef14163ac90fdb7045855f7.zip |
Move more packages to separate files
Diffstat (limited to 'pkgs/telegram-history-dump')
-rw-r--r-- | pkgs/telegram-history-dump/default.nix | 9 | ||||
-rw-r--r-- | pkgs/telegram-history-dump/telegram-history-dump.json | 15 |
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 0000000..9215d5b --- /dev/null +++ b/pkgs/telegram-history-dump/default.nix | |||
@@ -0,0 +1,9 @@ | |||
1 | { stdenv, ruby, fetchedGithub }: | ||
2 | stdenv.mkDerivation (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 0000000..487df73 --- /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 | } | ||