python3Packages.pyobihai: add format
This commit is contained in:
parent
2167e68d9e
commit
fd2c89dc6b
1 changed files with 7 additions and 3 deletions
|
@ -8,12 +8,14 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "pyobihai";
|
||||
version = "1.3.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-zhsnJyhXlugK0nJ7FJZZcrq2VDQt1a9uCgsJAIABZ28=";
|
||||
hash = "sha256-zhsnJyhXlugK0nJ7FJZZcrq2VDQt1a9uCgsJAIABZ28=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -23,7 +25,9 @@ buildPythonPackage rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyobihai" ];
|
||||
pythonImportsCheck = [
|
||||
"pyobihai"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package to interact with Obihai devices";
|
||||
|
|
Loading…
Reference in a new issue