depot/third_party/nixpkgs/pkgs/development/python-modules/libsoundtouch/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

45 lines
845 B
Nix

{ 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;
};
}