qbit-manage wip
This commit is contained in:
parent
e13587733e
commit
7e658479f8
34
pkgs/bencodepy.nix
Normal file
34
pkgs/bencodepy.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
python3,
|
||||||
|
fetchPypi,
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "bencodepy";
|
||||||
|
version = "0.9.5";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-r0chNNc+pY7as8LLLyz2HrnXg5CChMPS1bHP0434ZLg=";
|
||||||
|
extension = "zip";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
python3.pkgs.setuptools
|
||||||
|
python3.pkgs.wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"bencodepy"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Bencode encoder/decoder written in Python 3 under the GPLv2";
|
||||||
|
homepage = "https://pypi.org/project/bencodepy/";
|
||||||
|
license = lib.licenses.gpl2Only;
|
||||||
|
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
||||||
|
mainProgram = "bencodepy";
|
||||||
|
};
|
||||||
|
}
|
||||||
46
pkgs/qbit-manage.nix
Normal file
46
pkgs/qbit-manage.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
python3,
|
||||||
|
fetchFromGitHub,
|
||||||
|
callPackage,
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "qbit-manage";
|
||||||
|
version = "4.1.14";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "StuffAnThings";
|
||||||
|
repo = "qbit_manage";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-JTQZlJ2d0oOpT8lIf9mgQ/onTs5jiWfvzFx0XBjbCQo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
python3.pkgs.setuptools
|
||||||
|
python3.pkgs.wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = with python3.pkgs; [
|
||||||
|
croniter
|
||||||
|
gitpython
|
||||||
|
humanize
|
||||||
|
pytimeparse2
|
||||||
|
qbittorrent-api
|
||||||
|
requests
|
||||||
|
retrying
|
||||||
|
ruamel-yaml
|
||||||
|
schedule
|
||||||
|
(callPackage ./bencodepy.nix { })
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more";
|
||||||
|
homepage = "https://github.com/StuffAnThings/qbit_manage";
|
||||||
|
changelog = "https://github.com/StuffAnThings/qbit_manage/blob/${src.rev}/CHANGELOG";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
||||||
|
mainProgram = "qbit-manage";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user