Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113690 from fabaff/python-velbus
- Loading branch information
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchFromGitHub | ||
, pyserial | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "python-velbus"; | ||
version = "2.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "thomasdelaet"; | ||
repo = pname; | ||
rev = "v${version}"; | ||
sha256 = "0dv7dsjp5li87ispdphaz7jd0a9xc328rxwawf2f58b1ii904xr4"; | ||
}; | ||
|
||
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters