depot/third_party/nixpkgs/pkgs/development/python-modules/wavinsentio/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

37 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "wavinsentio";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-c3MpFoJrT2FBQrNce+zP/bfIZFqu8gSAA9oIa1jKYCo=";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"wavinsentio"
];
meta = with lib; {
description = "Python module to interact with the Wavin Sentio underfloor heating system";
homepage = "https://github.com/djerik/wavinsentio";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}