saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / crownstone-sse / default.nix
blob82f106d8f9ec624c2ca95f5012a680758b0f111a
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   certifi,
6   fetchPypi,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "crownstone-sse";
13   version = "2.0.5";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     pname = "crownstone_sse";
20     inherit version;
21     hash = "sha256-RUqo68UAVGV+JmauKsGlp7dG8FzixHBDnr3eho/IQdY=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [
27     aiohttp
28     certifi
29   ];
31   # Tests are only providing coverage
32   doCheck = false;
34   pythonImportsCheck = [ "crownstone_sse" ];
36   meta = with lib; {
37     description = "Python module for listening to Crownstone SSE events";
38     homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-sse";
39     license = with licenses; [ mit ];
40     maintainers = with maintainers; [ fab ];
41   };