1
0
Fork 0
nix-overlay/packages/tg-archive.nix
Daniel Kempkens e2395cf307
All checks were successful
Build / build-amd64-linux (push) Successful in 59s
Build / build-arm64-linux (push) Successful in 1m0s
tg-archive: fix build
2024-02-04 22:45:24 +01:00

33 lines
573 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
];
dontCheckRuntimeDeps = true;
}