nixpkgs/pkgs/development/python-modules/wavinsentio/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

38 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 ];
};
}