depot/third_party/nixpkgs/pkgs/development/python-modules/crownstone-sse/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}