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

33 lines
687 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
}:
buildPythonPackage rec {
pname = "python-velbus";
version = "2.1.4";
src = fetchFromGitHub {
owner = "thomasdelaet";
repo = pname;
rev = version;
sha256 = "1z0a7fc9xfrcpwi9xiimxsgbzbp2iwyi1rij6vqd5z47mzi49fv9";
};
propagatedBuildInputs = [
pyserial
];
# Project has not tests
doCheck = false;
pythonImportsCheck = [ "velbus" ];
meta = with lib; {
description = "Python library to control the Velbus home automation system";
homepage = "https://github.com/thomasdelaet/python-velbus";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}