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-10-26 02:01:36 +00:00
version = "1.2.2";
2024-01-12 09:53:23 +00:00
pyproject = true;
src = pkgs.fetchFromGitHub {
owner = "knadh";
repo = pname;
rev = "v${version}";
2024-10-26 02:01:36 +00:00
hash = "sha256-baosQnA67+v0XxGrXEYjGGsKCBj1uRcYgfKkqO2GST4=";
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
}