Merge pull request #175064 from r-ryantm/auto-update/python3.10-pysqueezebox
python310Packages.pysqueezebox: 0.5.5 -> 0.6.0
This commit is contained in:
commit
96cd229248
1 changed files with 29 additions and 8 deletions
|
@ -1,22 +1,43 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysqueezebox";
|
pname = "pysqueezebox";
|
||||||
version = "0.5.5";
|
version = "0.6.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "rajlaud";
|
||||||
sha256 = "93e6a3824b560d4ea2b2e5f0a67fdf3b309b6194fbf9927e44fc0d12c7fdc6c0";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-0ArKVRy4H0NWShlQMziKvbHp9OjpAkEKp4zrvpVlXOk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
];
|
];
|
||||||
|
|
||||||
# No tests in the Pypi distribution
|
checkInputs = [
|
||||||
doCheck = false;
|
pytest-asyncio
|
||||||
pythonImportsCheck = [ "pysqueezebox" ];
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pysqueezebox"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Tests require network access
|
||||||
|
"tests/test_integration.py"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Asynchronous library to control Logitech Media Server";
|
description = "Asynchronous library to control Logitech Media Server";
|
||||||
|
|
Loading…
Reference in a new issue