1
0
Fork 0
nix-overlay/packages/tg-archive.nix

34 lines
573 B
Nix
Raw Normal View History

2024-01-12 09:53:23 +00:00
{ pkgs, lib }:
pkgs.python3.pkgs.buildPythonApplication rec {
pname = "tg-archive";
2024-07-22 02:01:52 +00:00
version = "1.2.0";
2024-01-12 09:53:23 +00:00
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "knadh";
repo = pname;
rev = "v${version}";
2024-07-22 02:01:52 +00:00
hash = "sha256-wAVfq/rsMAI/Hwqt61PrKAPNppP7R1nn6Xsjx5xx8Fo=";
2024-01-12 09:53:23 +00:00
};
nativeBuildInputs = with pkgs.python3.pkgs; [
setuptools
wheel
];
propagatedBuildInputs = with pkgs.python3.pkgs; [
cryptg
feedgen
jinja2
telethon
pillow
python-magic
pysocks
pytz
pyyaml
];
2024-02-04 21:45:24 +00:00
dontCheckRuntimeDeps = true;
2024-01-12 09:53:23 +00:00
}