1
0
Fork 0
nix-overlay/packages/tg-archive.nix
Daniel Kempkens f1d3ded1de
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
tg-archive: init
2024-01-12 10:53:45 +01:00

32 lines
541 B
Nix

{ 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
];
}