evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ihcsdk / default.nix
blob7750e89c27faea50fabbbd6b5c78d6ccdd12072c
2   buildPythonPackage,
3   cryptography,
4   fetchFromGitHub,
5   lib,
6   requests,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "ihcsdk";
12   version = "2.8.6";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "dingusdk";
17     repo = "PythonIhcSdk";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-0meYr/SywtRfp/TBW3t8QUMlenb5KnzvKfn6c7Przpc=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [
25     cryptography
26     requests
27   ];
29   pythonImportsCheck = [ "ihcsdk" ];
31   # upstream has no tests
32   doCheck = false;
34   meta = {
35     changelog = "https://github.com/dingusdk/PythonIhcSdk/releases/tag/v${version}";
36     description = "SDK for connection to the LK IHC Controller";
37     homepage = "https://github.com/dingusdk/PythonIhcSdk";
38     license = lib.licenses.gpl3Plus;
39     maintainers = with lib.maintainers; [ dotlambda ];
40   };