mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #149801 from fabaff/cometblue-lite
python3Packages.cometblue-lite: init at 0.4.1
This commit is contained in:
commit
33425c2c13
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/cometblue-lite/default.nix
Normal file
39
pkgs/development/python-modules/cometblue-lite/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, bluepy
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cometblue-lite";
|
||||
version = "0.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neffs";
|
||||
repo = "python-cometblue_lite";
|
||||
rev = version;
|
||||
sha256 = "sha256-kK6P8almFQac/bt7we02Q96RIB/s9wAqb+dn09tFx7k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bluepy
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cometblue_lite"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Eurotronic Comet Blue thermostats";
|
||||
homepage = "https://github.com/neffs/python-cometblue_lite";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1711,6 +1711,8 @@ in {
|
|||
|
||||
colour = callPackage ../development/python-modules/colour { };
|
||||
|
||||
cometblue-lite = callPackage ../development/python-modules/cometblue-lite { };
|
||||
|
||||
commandparse = callPackage ../development/python-modules/commandparse { };
|
||||
|
||||
commentjson = callPackage ../development/python-modules/commentjson { };
|
||||
|
|
Loading…
Reference in a new issue