-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
/
default.nix
45 lines (39 loc) · 845 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, buildPythonPackage
, fetchFromGitHub
, enum-compat
, requests
, websocket-client
, zeroconf
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "libsoundtouch";
version = "0.8.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "CharlesBlonde";
repo = "libsoundtouch";
rev = version;
sha256 = "1wl2w5xfdkrv0qzsz084z2k6sycfyq62mqqgciycha3dywf2fvva";
};
propagatedBuildInputs = [
requests
enum-compat
websocket-client
zeroconf
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# mock data order mismatch
"test_select_content_item"
"test_snapshot_restore"
];
meta = with lib; {
description = "Bose Soundtouch Python library";
homepage = "https://github.com/CharlesBlonde/libsoundtouch";
license = licenses.asl20;
};
}