Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiolyric / default.nix
blobb6346a511aa5d2efd5637284a334bad97d00de1d
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "aiolyric";
11   version = "1.1.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "timmo001";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     hash = "sha256-LDLpNuwkoPacI/a2NSlqUABRgwy+jAjGwOxmShLskso=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   disabledTests = [
32     # AssertionError, https://github.com/timmo001/aiolyric/issues/61
33     "test_priority"
34   ];
36   pythonImportsCheck = [
37     "aiolyric"
38   ];
40   meta = with lib; {
41     description = "Python module for the Honeywell Lyric Platform";
42     homepage = "https://github.com/timmo001/aiolyric";
43     changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };