fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
826 B
Nix
42 lines
826 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
certifi,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "crownstone-sse";
|
|
version = "2.0.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "crownstone_sse";
|
|
inherit version;
|
|
hash = "sha256-RUqo68UAVGV+JmauKsGlp7dG8FzixHBDnr3eho/IQdY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
certifi
|
|
];
|
|
|
|
# Tests are only providing coverage
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "crownstone_sse" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for listening to Crownstone SSE events";
|
|
homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-sse";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|