summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioguardian
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-11-05 20:22:26 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-11-05 20:22:26 +0100
commit5fc42890c93405cc7ea98e8d6cd514b970a492ed (patch)
treef7c0b76602b23ee5808acce02665eb6af8957983 /pkgs/development/python-modules/aioguardian
parent6f6f476bd68225f7e6d079c0cb996363e91c282c (diff)
downloadnixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar.gz
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar.bz2
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar.lz
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar.xz
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.tar.zst
nixpkgs-5fc42890c93405cc7ea98e8d6cd514b970a492ed.zip
python3Packages.aioguardian: 2021.10.0 -> 2021.11.0
Diffstat (limited to 'pkgs/development/python-modules/aioguardian')
-rw-r--r--pkgs/development/python-modules/aioguardian/default.nix19
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/aioguardian/default.nix b/pkgs/development/python-modules/aioguardian/default.nix
index 08b1a1402dd..7b16e2ffc50 100644
--- a/pkgs/development/python-modules/aioguardian/default.nix
+++ b/pkgs/development/python-modules/aioguardian/default.nix
@@ -4,6 +4,7 @@
 , asyncio-dgram
 , asynctest
 , buildPythonPackage
+, docutils
 , fetchFromGitHub
 , poetry-core
 , pytest-aiohttp
@@ -15,13 +16,13 @@
 
 buildPythonPackage rec {
   pname = "aioguardian";
-  version = "2021.10.0";
+  version = "2021.11.0";
 
   src = fetchFromGitHub {
     owner = "bachya";
     repo = pname;
     rev = version;
-    sha256 = "sha256-LKtuBMbpaVnp/eQ5hW1RQiArEBw4Lw+29y/q6Dq/tyI=";
+    sha256 = "sha256-jQIRACm0d0a5mQqlwxSTgLZfJFvGLWuJTb/MacppmS4=";
   };
 
   format = "pyproject";
@@ -34,6 +35,7 @@ buildPythonPackage rec {
     aiohttp
     async-timeout
     asyncio-dgram
+    docutils
     voluptuous
   ];
 
@@ -45,9 +47,18 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  disabledTestPaths = [ "examples/" ];
+  postPatch = ''
+    substituteInPlace pyproject.toml \
+      --replace 'docutils = "<0.18"' 'docutils = "*"'
+  '';
 
-  pythonImportsCheck = [ "aioguardian" ];
+  disabledTestPaths = [
+    "examples/"
+  ];
+
+  pythonImportsCheck = [
+    "aioguardian"
+  ];
 
   meta = with lib; {
     description = " Python library to interact with Elexa Guardian devices";