ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / aioslimproto / default.nix
blob7d5dfa0ba519f5b16950a9c5d928c5c2e052b11f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "aioslimproto";
10   version = "2.1.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.9";
15   src = fetchFromGitHub {
16     owner = "home-assistant-libs";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-Er7UsJDBDXD8CQSkUIOeO78HQaCsrRycU18LOjBpv/w=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
26   disabledTests = [
27     # AssertionError: assert ['mixer', 'volume', '50'] == ['volume', '50']
28     "test_msg_instantiation"
29   ];
31   pythonImportsCheck = [
32     "aioslimproto"
33   ];
35   meta = with lib; {
36     description = "Module to control Squeezebox players";
37     homepage = "https://github.com/home-assistant-libs/aioslimproto";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };