11 buildPythonPackage rec {
16 disabled = pythonOlder "3.11";
18 src = fetchFromGitHub {
21 rev = "refs/tags/${version}";
22 hash = "sha256-WTRqYw66iD4bbb1aWJfBI67+DtE1FE4oiuUKpfVqypE=";
29 propagatedBuildInputs = [
33 # https://github.com/ludeeus/pytraccar/issues/31
34 doCheck = lib.versionOlder aiohttp.version "3.9.0";
46 # Upstream doesn't set version in the repo
47 substituteInPlace pyproject.toml \
48 --replace 'version = "0"' 'version = "${version}"'
51 pythonImportsCheck = [
56 description = "Python library to handle device information from Traccar";
57 homepage = "https://github.com/ludeeus/pytraccar";
58 changelog = "https://github.com/ludeeus/pytraccar/releases/tag/${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [ fab ];