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/default.nix | |
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/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 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 | }) | ||