Merge pull request #308365 from fabaff/upb-lib-bump
python312Packages.upb-lib: 0.5.4 -> 0.5.6
This commit is contained in:
commit
8b2679fdb3
1 changed files with 27 additions and 13 deletions
|
@ -1,37 +1,51 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pyserial-asyncio-fast
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchPypi
|
|
||||||
, pyserial-asyncio
|
|
||||||
, pytz
|
, pytz
|
||||||
|
, poetry-core
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "upb-lib";
|
pname = "upb-lib";
|
||||||
version = "0.5.4";
|
version = "0.5.6";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.11";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
pname = "upb_lib";
|
owner = "gwww";
|
||||||
inherit version;
|
repo = "upb-lib";
|
||||||
hash = "sha256-KEnSADj+sQtz37Xbi6fXoe2TN+F5Z9SYnlvCgXtxVnk=";
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-e8LYywKA5lNZ4UYFZTwcfePDWB4cTNz38Tiy4xzOxOs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [
|
||||||
pyserial-asyncio
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
pyserial-asyncio-fast
|
||||||
pytz
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests on PyPI, no tags on GitHub
|
nativeCheckInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "upb_lib" ];
|
pythonImportsCheck = [ "upb_lib" ];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# AssertionError
|
||||||
|
"test_create_control_word_all"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library for interacting with UPB PIM";
|
description = "Library for interacting with UPB PIM";
|
||||||
homepage = "https://github.com/gwww/upb-lib";
|
homepage = "https://github.com/gwww/upb-lib";
|
||||||
|
changelog = "https://github.com/gwww/upb-lib/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue