diff --git a/pkgs/development/python-modules/pydanfossair/default.nix b/pkgs/development/python-modules/pydanfossair/default.nix index dd8a8d9c71af..00c600d305cf 100644 --- a/pkgs/development/python-modules/pydanfossair/default.nix +++ b/pkgs/development/python-modules/pydanfossair/default.nix @@ -2,27 +2,32 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, }: buildPythonPackage rec { pname = "pydanfossair"; - version = "0.2.0"; - format = "setuptools"; + version = "0.3.0"; + pyproject = true; src = fetchFromGitHub { owner = "JonasPed"; repo = "pydanfoss-air"; - rev = "v${version}"; - hash = "sha256-WTRiEQbd3wwNAz1gk0rS3khy6lg61rcGZQTMlBc0uO8="; + rev = "refs/tags/v${version}"; + hash = "sha256-ZTairxQbvijNiSomDoeZtmL/Hn3ce1Z5TEOf+0C8cYg="; }; + build-system = [ setuptools ]; + # Project has no tests doCheck = false; + pythonImportsCheck = [ "pydanfossair" ]; meta = with lib; { description = "Python interface for Danfoss Air HRV systems"; homepage = "https://github.com/JonasPed/pydanfoss-air"; + changelog = "https://github.com/JonasPed/pydanfoss-air/releases/tag/v${version}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };