841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
36 lines
697 B
Nix
36 lines
697 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, pyserial-asyncio
|
|
, pytz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "upb-lib";
|
|
version = "0.4.12";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e668055d9c389aefd09203afb96a950a320095f225ef0a1aa611e592db92a71b";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyserial-asyncio
|
|
pytz
|
|
];
|
|
|
|
# no tests on PyPI, no tags on GitHub
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "upb_lib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Library for interacting with UPB PIM";
|
|
homepage = "https://github.com/gwww/upb-lib";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|