1
0
Fork 0

tg-archive: init
All checks were successful
Update Flake / update-flake (push) Successful in 1m20s
Build / build-amd64-linux (push) Successful in 1m29s
Build / build-arm64-linux (push) Successful in 12m36s

This commit is contained in:
Daniel Kempkens 2024-01-12 10:53:23 +01:00
parent 3f29411060
commit f1d3ded1de
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 32 additions and 0 deletions

View file

@ -46,6 +46,7 @@
redlib = import ./packages/redlib.nix { inherit pkgs lib; }; redlib = import ./packages/redlib.nix { inherit pkgs lib; };
rexit = import ./packages/rexit.nix { inherit pkgs lib; }; rexit = import ./packages/rexit.nix { inherit pkgs lib; };
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; }; rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
tg-archive = import ./packages/tg-archive.nix { inherit pkgs lib; };
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; }; vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; }; weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; };

31
packages/tg-archive.nix Normal file
View file

@ -0,0 +1,31 @@
{ pkgs, lib }:
pkgs.python3.pkgs.buildPythonApplication rec {
pname = "tg-archive";
version = "1.1.3";
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "knadh";
repo = pname;
rev = "v${version}";
hash = "sha256-mcobB/z+e4LzEbqELWlUzhbdV5RIM2iImeg9JdVQQZc=";
};
nativeBuildInputs = with pkgs.python3.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with pkgs.python3.pkgs; [
cryptg
feedgen
jinja2
telethon
pillow
python-magic
pysocks
pytz
pyyaml
];
}