13 buildPythonPackage rec {
18 disabled = pythonOlder "3.9";
20 src = fetchFromGitHub {
21 owner = "klaasnicolaas";
22 repo = "python-p1monitor";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-2NlFXeI+6ooh4D1OxUWwYrmM4zpL9gg8vhnseLjj2dM=";
31 propagatedBuildInputs = [
43 substituteInPlace pyproject.toml \
44 --replace '"0.0.0"' '"${version}"' \
45 --replace 'addopts = "--cov"' ""
48 pythonImportsCheck = [
53 description = "Module for interacting with the P1 Monitor";
54 homepage = "https://github.com/klaasnicolaas/python-p1monitor";
55 changelog = "https://github.com/klaasnicolaas/python-p1monitor/releases/tag/v${version}";
56 license = with licenses; [ mit ];
57 maintainers = with maintainers; [ fab ];