about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix22
1 files changed, 2 insertions, 20 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix b/nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix
index d67ddba02b9c..d3150b453a63 100644
--- a/nixpkgs/pkgs/development/python-modules/py-air-control-exporter/default.nix
+++ b/nixpkgs/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; };