My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/halohome/default.nix

43 lines
776 B

{ lib
, aiohttp
, bleak
, buildPythonPackage
, csrmesh
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "halohome";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nayaverdier";
repo = pname;
rev = version;
sha256 = "sha256-xnUOObqVg1E7mTDKHZMoC95KI9ZIn0YpkQjoASa5Dds=";
};
propagatedBuildInputs = [
aiohttp
bleak
csrmesh
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"halohome"
];
meta = with lib; {
description = "Python library to control Eaton HALO Home Smart Lights";
homepage = "https://github.com/nayaverdier/halohome";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}