summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/demetriek/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/demetriek/default.nix')
-rw-r--r--pkgs/development/python-modules/demetriek/default.nix44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/demetriek/default.nix b/pkgs/development/python-modules/demetriek/default.nix
index 68f2660f6bb7..b51e463c67f0 100644
--- a/pkgs/development/python-modules/demetriek/default.nix
+++ b/pkgs/development/python-modules/demetriek/default.nix
@@ -1,18 +1,19 @@
-{ lib
-, aiohttp
-, aresponses
-, awesomeversion
-, backoff
-, buildPythonPackage
-, fetchFromGitHub
-, fetchpatch
-, poetry-core
-, pydantic
-, pytest-asyncio
-, pytestCheckHook
-, pythonOlder
-, pythonRelaxDepsHook
-, yarl
+{
+ lib,
+ aiohttp,
+ aresponses,
+ awesomeversion,
+ backoff,
+ buildPythonPackage,
+ fetchFromGitHub,
+ fetchpatch,
+ poetry-core,
+ pydantic,
+ pytest-asyncio,
+ pytestCheckHook,
+ pythonOlder,
+ pythonRelaxDepsHook,
+ yarl,
}:
buildPythonPackage rec {
@@ -34,7 +35,10 @@ buildPythonPackage rec {
(fetchpatch {
name = "pydantic_2-compatibility.patch";
url = "https://github.com/frenck/python-demetriek/commit/e677fe5b735b6b28572e3e5fd6aab56fc056f5e6.patch";
- excludes = [ "pyproject.toml" "poetry.lock" ];
+ excludes = [
+ "pyproject.toml"
+ "poetry.lock"
+ ];
hash = "sha256-oMVR45KHDhcPId/0X9obJXCPE8s1gk5IgsGsgZesdZw=";
})
];
@@ -46,9 +50,7 @@ buildPythonPackage rec {
--replace "--cov" ""
'';
- pythonRelaxDeps = [
- "pydantic"
- ];
+ pythonRelaxDeps = [ "pydantic" ];
nativeBuildInputs = [
poetry-core
@@ -69,9 +71,7 @@ buildPythonPackage rec {
pytestCheckHook
];
- pythonImportsCheck = [
- "demetriek"
- ];
+ pythonImportsCheck = [ "demetriek" ];
__darwinAllowLocalNetworking = true;