From 6b84305e5cc0efe58ae3af0ba939c4f414b34305 Mon Sep 17 00:00:00 2001 From: Matej Urbas Date: Sun, 19 Sep 2021 10:36:00 +0100 Subject: [PATCH] python37Packages.py-air-control-exporter: 0.3.0 -> 0.3.1 --- .../py-air-control-exporter/default.nix | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/py-air-control-exporter/default.nix b/pkgs/development/python-modules/py-air-control-exporter/default.nix index d67ddba02b9c..d3150b453a63 100644 --- a/pkgs/development/python-modules/py-air-control-exporter/default.nix +++ b/pkgs/development/python-modules/py-air-control-exporter/default.nix @@ -8,23 +8,18 @@ , prometheus-client , py-air-control , pytestCheckHook -, setuptools-scm }: buildPythonPackage rec { pname = "py-air-control-exporter"; - version = "0.3.0"; + version = "0.3.1"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "ece2e446273542e5c0352c9d6e80d8279132c6ada3649c59e87a711448801a3b"; + sha256 = "0cwhcyyjzc6wlj7jp5h7fcj1hl03wzrz1if3sg205kh2hfrzzlqq"; }; - nativeBuildInputs = [ - setuptools-scm - ]; - propagatedBuildInputs = [ click flask @@ -36,19 +31,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace setup.py \ - --replace "pytest-runner" "" - substituteInPlace setup.cfg \ - --replace "--cov=py_air_control_exporter" "" - ''; - - disabledTests = [ - # Tests are outdated - "test_help" - "test_unknown_protocol" - ]; - pythonImportsCheck = [ "py_air_control_exporter" ]; passthru.tests = { inherit (nixosTests.prometheus-exporters) py-air-control; };