Skip to content

Commit

Permalink
python312Packages.p1monitor: 3.1.0 -> 3.1.0 (#347035)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 7, 2024
2 parents f2fbd0f + dba08ef commit b9a9881
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkgs/development/python-modules/p1monitor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
poetry-core,
pytest-asyncio,
pytestCheckHook,
syrupy,
pythonOlder,
yarl,
}:

buildPythonPackage rec {
pname = "p1monitor";
version = "3.0.1";
version = "3.1.0";
pyproject = true;

disabled = pythonOlder "3.11";
Expand All @@ -22,7 +23,7 @@ buildPythonPackage rec {
owner = "klaasnicolaas";
repo = "python-p1monitor";
rev = "refs/tags/v${version}";
hash = "sha256-WEvNPtaKGJsbHLjGjSl0/9BewmLLMFLoN9SHMdEBoAM=";
hash = "sha256-vr/JLvn593cgZ2KEsfDW1lS4QlGiymr0qZ8130zo6Ec=";
};

postPatch = ''
Expand All @@ -31,9 +32,9 @@ buildPythonPackage rec {
--replace 'addopts = "--cov"' ""
'';

nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
aiohttp
yarl
];
Expand All @@ -42,6 +43,7 @@ buildPythonPackage rec {
aresponses
pytest-asyncio
pytestCheckHook
syrupy
];

pythonImportsCheck = [ "p1monitor" ];
Expand All @@ -50,7 +52,7 @@ buildPythonPackage rec {
description = "Module for interacting with the P1 Monitor";
homepage = "https://github.com/klaasnicolaas/python-p1monitor";
changelog = "https://github.com/klaasnicolaas/python-p1monitor/releases/tag/v${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

0 comments on commit b9a9881

Please sign in to comment.