about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/orvibo/default.nix
blob: 6209baa144bbcc67ade27dd0e5fc6086a578470c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
}:

buildPythonPackage rec {
  pname = "orvibo";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "happyleavesaoc";
    repo = "python-orvibo";
    rev = version;
    sha256 = "042prd5yxqvlfija7ii1xn424iv1p7ndhxv6m67ij8cbvspwx356";
  };

  # Project as no tests
  doCheck = false;
  pythonImportsCheck = [ "orvibo" ];

  meta = with lib; {
    description = "Python client to work with Orvibo devices";
    homepage = "https://github.com/happyleavesaoc/python-orvibo";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}