Unverified Commit eaa54b21 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #233994 from vamega/pyrosimple-2.8.0

parents 77025aff 16fc2300
Loading
Loading
Loading
Loading
+20 −9
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@
, testers
, fetchPypi
, buildPythonPackage
, pythonRelaxDepsHook
, poetry-core
, bencode-py
, apscheduler
, jinja2
@@ -25,13 +27,26 @@

let
 pname = "pyrosimple";
  version = "2.7.0";
 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 ];
  };

}