evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / upb-lib / default.nix
blobb19508b01754c2cfb370cfe52bd07e9e490fac69
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.8";
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-YCJl3cIaNmRQ5+GbIDcAvDhI0R4r2AWG2Ba1zmnfbMA=";
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   };