depot/third_party/nixpkgs/pkgs/development/python-modules/pycoolmasternet-async/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

31 lines
721 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pycoolmasternet-async";
version = "0.1.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "OnFreund";
repo = "pycoolmasternet-async";
rev = "v${version}";
hash = "sha256-1Xd8OdN8d3g23kQZqihZrNLKoqLCbu5BvAMNitg8aDA=";
};
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pycoolmasternet_async" ];
meta = with lib; {
description = "Python library to control CoolMasterNet HVAC bridges over asyncio";
homepage = "https://github.com/OnFreund/pycoolmasternet-async";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}