depot/third_party/nixpkgs/pkgs/development/python-modules/pydanfossair/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
654 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "pydanfossair";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "JonasPed";
repo = "pydanfoss-air";
rev = "v${version}";
hash = "sha256-WTRiEQbd3wwNAz1gk0rS3khy6lg61rcGZQTMlBc0uO8=";
};
# 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";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}