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/boschshcpy/default.nix

45 lines
832 B

{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, getmac
, pythonOlder
, requests
, zeroconf
}:
buildPythonPackage rec {
pname = "boschshcpy";
version = "0.2.32";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tschamm";
repo = pname;
rev = version;
sha256 = "sha256-tJlgmxa6HppLLTs4ZggnJ5H6NOH3v+C9pUfLBmxr4XY=";
};
propagatedBuildInputs = [
cryptography
getmac
requests
zeroconf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"boschshcpy"
];
meta = with lib; {
description = "Python module to work with the Bosch Smart Home Controller API";
homepage = "https://github.com/tschamm/boschshcpy";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}