about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/pyrosimple
diff options
context:
space:
mode:
authorVarun Madiath <git@madiathv.com>2023-05-25 13:28:08 +0000
committerVarun Madiath <git@madiathv.com>2023-05-26 01:46:28 -0400
commit6d93518c5f05716bbbdd37e556eed06c076e54ba (patch)
tree9226e5d6626c8db36f8a462204e718408e26a824 /pkgs/applications/networking/p2p/pyrosimple
parent21eb6c6ba74dcbe3ea5926ee46287300fb066630 (diff)
pyrosimple: 2.7.0 -> 2.8.0
Diffstat (limited to 'pkgs/applications/networking/p2p/pyrosimple')
-rw-r--r--pkgs/applications/networking/p2p/pyrosimple/default.nix24
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/applications/networking/p2p/pyrosimple/default.nix b/pkgs/applications/networking/p2p/pyrosimple/default.nix
index 15a9ce266e00d..f8427b9dad6bc 100644
--- a/pkgs/applications/networking/p2p/pyrosimple/default.nix
+++ b/pkgs/applications/networking/p2p/pyrosimple/default.nix
@@ -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 {