Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "somfy-mylink-synergy";
9 version = "1.0.6";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "bendews";
14 repo = "somfy-mylink-synergy";
15 rev = "v${version}";
16 sha256 = "1aa178b5lxdzfa4z7sjw6ky39dkfazp7dqs9dq78z2zay2sqgmgr";
17 };
18
19 # no tests implemented
20 doCheck = false;
21
22 pythonImportsCheck = [ "somfy_mylink_synergy" ];
23
24 meta = {
25 description = "Python API to utilise the Somfy Synergy JsonRPC API";
26 homepage = "https://github.com/bendews/somfy-mylink-synergy";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ dotlambda ];
29 };
30}