2024-01-12 09:53:23 +00:00
|
|
|
{ pkgs, lib }:
|
|
|
|
|
|
|
|
pkgs.python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "tg-archive";
|
2024-08-23 02:01:54 +00:00
|
|
|
version = "1.2.1";
|
2024-01-12 09:53:23 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "knadh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-08-23 02:01:54 +00:00
|
|
|
hash = "sha256-msgF4sSd8bvwN2+CK4xeaKaXGduChDNw8qQrT9lpfyk=";
|
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
|
|
|
}
|