nixpkgs/pkgs/development/python-modules/orvibo/default.nix

34 lines
694 B
Nix
Raw Normal View History

2021-01-14 19:40:47 +00:00
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, pytest-runner
, pytestCheckHook
, requests
, websocket-client
2021-01-14 19:40:47 +00:00
}:
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 ];
};
}