Unverified Commit 69ec7a47 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.pytraccar: run tests (#457680)

parents b15b768e 7e49f0d1
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  poetry-core,
  pytestCheckHook,
  pytest-asyncio,
  pythonOlder,
}:

buildPythonPackage rec {
@@ -14,8 +13,6 @@ buildPythonPackage rec {
  version = "3.0.0";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "ludeeus";
    repo = "pytraccar";
@@ -23,12 +20,9 @@ buildPythonPackage rec {
    hash = "sha256-DtxZCvLuvQpbu/1lIXz2BVbACt5Q1N2txVMyqwd4d9A=";
  };

  nativeBuildInputs = [ poetry-core ];

  propagatedBuildInputs = [ aiohttp ];
  build-system = [ poetry-core ];

  # https://github.com/ludeeus/pytraccar/issues/31
  doCheck = lib.versionOlder aiohttp.version "3.9.0";
  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    pytestCheckHook