tg-archive: init
This commit is contained in:
parent
3f29411060
commit
f1d3ded1de
2 changed files with 32 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
||||||
redlib = import ./packages/redlib.nix { inherit pkgs lib; };
|
redlib = import ./packages/redlib.nix { inherit pkgs lib; };
|
||||||
rexit = import ./packages/rexit.nix { inherit pkgs lib; };
|
rexit = import ./packages/rexit.nix { inherit pkgs lib; };
|
||||||
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
|
rimgo = import ./packages/rimgo.nix { inherit pkgs lib; };
|
||||||
|
tg-archive = import ./packages/tg-archive.nix { inherit pkgs lib; };
|
||||||
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
|
vuetorrent = import ./packages/vuetorrent.nix { inherit pkgs lib; };
|
||||||
|
|
||||||
weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; };
|
weewx-proxy = import ./packages/weewx-proxy.nix { inherit pkgs lib; };
|
||||||
|
|
31
packages/tg-archive.nix
Normal file
31
packages/tg-archive.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue