ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pymfy / default.nix
blobe48966e9da064374a700d169fb0641ae2b9f34e8
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , httpretty
5 , poetry-core
6 , pytestCheckHook
7 , pythonOlder
8 , requests
9 , requests-oauthlib
12 buildPythonPackage rec {
13   pname = "pymfy";
14   version = "0.11.0";
15   format = "pyproject";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "tetienne";
21     repo = "somfy-open-api";
22     rev = "v${version}";
23     sha256 = "0wpjwjmywfyqgwvfa5kwcjpaljc32qa088kk88nl9nqdvc31mzhv";
24   };
26   nativeBuildInputs = [
27     poetry-core
28   ];
30   propagatedBuildInputs = [
31     requests
32     requests-oauthlib
33   ];
35   checkInputs = [
36     httpretty
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "pymfy"
42   ];
44   meta = with lib; {
45     description = "Python client for the Somfy Open API";
46     homepage = "https://github.com/tetienne/somfy-open-api";
47     license = with licenses; [ gpl3Only ];
48     maintainers = with maintainers; [ fab ];
49   };