Merge pull request #233994 from vamega/pyrosimple-2.8.0

This commit is contained in:
Sandro 2023-05-31 21:54:57 +02:00 committed by GitHub
commit eaa54b2105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@
, testers
, fetchPypi
, buildPythonPackage
, pythonRelaxDepsHook
, poetry-core
, bencode-py
, apscheduler
, jinja2
@ -24,14 +26,27 @@
}:
let
pname = "pyrosimple";
version = "2.7.0";
pname = "pyrosimple";
version = "2.8.0";
in buildPythonPackage {
inherit pname version;
src = fetchPypi {
inherit pname version;
hash = "sha256-SMqzvTbWFHwnbMQ+6K0m1v+PybceQK5EHEuN8FB6SaU=";
hash = "sha256-K0QjEcGzROlSWuUHWqUbcOdKccrHex2SlwPAmsmIbaQ=";
};
format = "pyproject";
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"python-daemon"
];
propagatedBuildInputs = [
bencode-py
apscheduler
@ -48,9 +63,6 @@ let
tomli-w
] ++ lib.optional withInotify inotify;
in buildPythonPackage {
inherit pname version src propagatedBuildInputs;
passthru = {
updateScript = nix-update-script { };
tests = testers.testVersion {
@ -59,14 +71,13 @@ in buildPythonPackage {
};
};
meta = let inherit (lib) licenses platforms maintainers;
in {
meta = with lib; {
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; };
maintainers = with maintainers; [ ne9z vamega ];
};
}