stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / bluecurrent-api / default.nix
bloba42998c1d3188f4d3ac3415d6c7c7e9f04a0a915
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   pytz,
8   websockets,
9   pytest-asyncio,
10   pytest-mock,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "bluecurrent-api";
16   version = "1.2.3";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-mWRTSMS68+J1Z4PYOFF/UvofSqV1wv0gjiTACEWDfNg=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [
29     pytz
30     websockets
31   ];
33   pythonImportsCheck = [ "bluecurrent_api" ];
35   nativeCheckInputs = [
36     pytest-asyncio
37     pytest-mock
38     pytestCheckHook
39   ];
41   meta = {
42     description = "Wrapper for the Blue Current websocket api";
43     homepage = "https://github.com/bluecurrent/HomeAssistantAPI";
44     license = lib.licenses.mit;
45     maintainers = with lib.maintainers; [ dotlambda ];
46   };