depot/third_party/nixpkgs/pkgs/development/python-modules/wavinsentio/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

37 lines
720 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;
hash = "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 ];
};
}