diff options
Diffstat (limited to 'pkgs/development/python-modules/aiohttp-openmetrics/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aiohttp-openmetrics/default.nix | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/aiohttp-openmetrics/default.nix b/pkgs/development/python-modules/aiohttp-openmetrics/default.nix index 11b979c4f6c2d..8f11cfb849962 100644 --- a/pkgs/development/python-modules/aiohttp-openmetrics/default.nix +++ b/pkgs/development/python-modules/aiohttp-openmetrics/default.nix @@ -1,15 +1,17 @@ -{ lib -, buildPythonPackage -, fetchPypi -, aiohttp -, prometheus-client -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + aiohttp, + prometheus-client, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "aiohttp-openmetrics"; version = "0.0.12"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -18,7 +20,9 @@ buildPythonPackage rec { hash = "sha256-/ZRngcMlroCVTvIl+30DR4SI8LsSnTovuzg3YduWgWA="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp prometheus-client ]; @@ -26,9 +30,7 @@ buildPythonPackage rec { # no tests doCheck = false; - pythonImportsCheck = [ - "aiohttp_openmetrics" - ]; + pythonImportsCheck = [ "aiohttp_openmetrics" ]; meta = with lib; { description = "OpenMetrics provider for aiohttp"; |