Merge pull request #237095 from fabaff/pyobihai-bump
python311Packages.pyobihai: 1.4.1 -> 1.4.2
This commit is contained in:
commit
2df6a4c467
1 changed files with 14 additions and 10 deletions
|
@ -1,22 +1,24 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, defusedxml
|
, defusedxml
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyobihai";
|
pname = "pyobihai";
|
||||||
version = "1.4.1";
|
version = "1.4.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
# GitHub release, https://github.com/dshokouhi/pyobihai/issues/10
|
src = fetchFromGitHub {
|
||||||
src = fetchPypi {
|
owner = "ejpenney";
|
||||||
inherit pname version;
|
repo = pname;
|
||||||
hash = "sha256-L/AQy9IxsBDeSlu+45j+/86jjMFzTjAkPGwZoa1QYho=";
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-tDPu/ceH7+7AnxokADDfl+G56B0+ri8RxXxXEyWa61Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -24,16 +26,18 @@ buildPythonPackage rec {
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
# Project has no tests
|
nativeCheckInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"pyobihai"
|
"pyobihai"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python package to interact with Obihai devices";
|
description = "Module to interact with Obihai devices";
|
||||||
homepage = "https://github.com/dshokouhi/pyobihai";
|
homepage = "https://github.com/ejpenney/pyobihai";
|
||||||
|
changelog = "https://github.com/ejpenney/pyobihai/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue