Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / libsoundtouch / default.nix
blob2abd187d0476e3a06bd3eb602cfccbe53a75c549
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , enum-compat
5 , requests
6 , websocket-client
7 , zeroconf
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname   = "libsoundtouch";
13   version = "0.8.0";
15   src = fetchFromGitHub {
16     owner = "CharlesBlonde";
17     repo = "libsoundtouch";
18     rev = version;
19     sha256 = "1wl2w5xfdkrv0qzsz084z2k6sycfyq62mqqgciycha3dywf2fvva";
20   };
22   propagatedBuildInputs = [
23     requests
24     enum-compat
25     websocket-client
26     zeroconf
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   disabledTests = [
34     # mock data order mismatch
35     "test_select_content_item"
36     "test_snapshot_restore"
37   ];
39   meta = with lib; {
40     description = "Bose Soundtouch Python library";
41     homepage    = "https://github.com/CharlesBlonde/libsoundtouch";
42     license     = licenses.asl20;
43   };