pyrosimple: init at 2.7.0
Signed-off-by: Maurice Zhou <yuchen@apvc.uk>
This commit is contained in:
parent
a56b0af5ff
commit
7432b75233
2 changed files with 74 additions and 0 deletions
72
pkgs/applications/networking/p2p/pyrosimple/default.nix
Normal file
72
pkgs/applications/networking/p2p/pyrosimple/default.nix
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, python3Packages
|
||||||
|
, nix-update-script
|
||||||
|
, pyrosimple
|
||||||
|
, testers
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, bencode-py
|
||||||
|
, apscheduler
|
||||||
|
, jinja2
|
||||||
|
, python-daemon
|
||||||
|
, importlib-resources
|
||||||
|
, parsimonious
|
||||||
|
, prometheus-client
|
||||||
|
, prompt-toolkit
|
||||||
|
, requests
|
||||||
|
, shtab
|
||||||
|
, inotify
|
||||||
|
, withInotify ? stdenv.isLinux
|
||||||
|
, python-box
|
||||||
|
, tomli
|
||||||
|
, tomli-w
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "pyrosimple";
|
||||||
|
version = "2.7.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-SMqzvTbWFHwnbMQ+6K0m1v+PybceQK5EHEuN8FB6SaU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
bencode-py
|
||||||
|
apscheduler
|
||||||
|
jinja2
|
||||||
|
python-daemon
|
||||||
|
importlib-resources
|
||||||
|
parsimonious
|
||||||
|
prometheus-client
|
||||||
|
prompt-toolkit
|
||||||
|
requests
|
||||||
|
shtab
|
||||||
|
python-box
|
||||||
|
tomli
|
||||||
|
tomli-w
|
||||||
|
] ++ lib.optional withInotify inotify;
|
||||||
|
|
||||||
|
in buildPythonPackage {
|
||||||
|
inherit pname version src propagatedBuildInputs;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests = testers.testVersion {
|
||||||
|
package = pyrosimple;
|
||||||
|
command = "pyroadmin --version";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = let inherit (lib) licenses platforms maintainers;
|
||||||
|
in {
|
||||||
|
homepage = "https://kannibalox.github.io/pyrosimple/";
|
||||||
|
description = "A rTorrent client and Python 3 fork of the pyrocore tools";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
changelog = "https://github.com/kannibalox/pyrosimple/blob/v${version}/CHANGELOG.md";
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = builtins.attrValues { inherit (maintainers) ne9z; };
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -32898,6 +32898,8 @@ with pkgs;
|
||||||
|
|
||||||
pwdsafety = callPackage ../tools/security/pwdsafety { };
|
pwdsafety = callPackage ../tools/security/pwdsafety { };
|
||||||
|
|
||||||
|
pyrosimple = python3Packages.callPackage ../applications/networking/p2p/pyrosimple { };
|
||||||
|
|
||||||
qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
|
qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
|
||||||
qbittorrent-nox = qbittorrent.override {
|
qbittorrent-nox = qbittorrent.override {
|
||||||
guiSupport = false;
|
guiSupport = false;
|
||||||
|
|
Loading…
Reference in a new issue