From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- .../mypackages/pkgs/telegram-history-dump/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 flakes/mypackages/pkgs/telegram-history-dump/default.nix (limited to 'flakes/mypackages/pkgs/telegram-history-dump') diff --git a/flakes/mypackages/pkgs/telegram-history-dump/default.nix b/flakes/mypackages/pkgs/telegram-history-dump/default.nix new file mode 100644 index 0000000..492e265 --- /dev/null +++ b/flakes/mypackages/pkgs/telegram-history-dump/default.nix @@ -0,0 +1,18 @@ +{ stdenv, ruby, fetchFromGitHub }: +stdenv.mkDerivation ({ + pname = "telegram-history-dump"; + version = "468ea91-master"; + src = fetchFromGitHub { + owner = "tvdstaaij"; + repo = "telegram-history-dump"; + rev = "468ea91e543529b54bc2c5ea28b1ea17f362fd3e"; + sha256 = "1wmwiqacfa56bmwx50njnb15cg0fy6rbdrmrjd4xfbh8bs6yp0gh"; + fetchSubmodules = true; + }; + 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 ]; +}) -- cgit v1.2.3