otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / development / python-modules / upb-lib / default.nix
blob0dde8e7401e5dedc267d4b6fb733511b038e36f7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pyserial-asyncio-fast,
6   pytestCheckHook,
7   pythonOlder,
8   pytz,
9   poetry-core,
12 buildPythonPackage rec {
13   pname = "upb-lib";
14   version = "0.5.9";
15   pyproject = true;
17   disabled = pythonOlder "3.11";
19   src = fetchFromGitHub {
20     owner = "gwww";
21     repo = "upb-lib";
22     rev = "refs/tags/${version}";
23     hash = "sha256-GnNzKU4mqBu2pUOju+4+HMLsTupd8s+nAAieixkBCDk=";
24   };
26   build-system = [ poetry-core ];
28   dependencies = [
29     pyserial-asyncio-fast
30     pytz
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "upb_lib" ];
37   disabledTests = [
38     # AssertionError
39     "test_create_control_word_all"
40   ];
42   meta = with lib; {
43     description = "Library for interacting with UPB PIM";
44     homepage = "https://github.com/gwww/upb-lib";
45     changelog = "https://github.com/gwww/upb-lib/releases/tag/${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ dotlambda ];
48   };