pythonPackages.pysqueezebox: init at 0.4.0

This commit is contained in:
nyanloutre 2020-08-30 20:55:03 +02:00 committed by Jonathan Ringer
parent d32c437639
commit 14de1392aa
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0
3 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }:
buildPythonPackage rec {
pname = "pysqueezebox";
version = "0.4.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "02d73e98314a63a38c314d40942a0b098fb59d2f08ac39b2627cfa73f785cf0d";
};
propagatedBuildInputs = [
aiohttp
];
# No tests in the Pypi distribution
doCheck = false;
pythonImportsCheck = [ "pysqueezebox" ];
meta = with stdenv.lib; {
description = "Asynchronous library to control Logitech Media Server";
homepage = "https://github.com/rajlaud/pysqueezebox";
license = licenses.asl20;
maintainers = with maintainers; [ nyanloutre ];
};
}

View file

@ -755,7 +755,7 @@
"spotcrime" = ps: with ps; [ ]; # missing inputs: spotcrime
"spotify" = ps: with ps; [ aiohttp-cors spotipy ];
"sql" = ps: with ps; [ sqlalchemy ];
"squeezebox" = ps: with ps; [ ]; # missing inputs: pysqueezebox
"squeezebox" = ps: with ps; [ pysqueezebox ];
"ssdp" = ps: with ps; [ aiohttp-cors defusedxml netdisco zeroconf ];
"starline" = ps: with ps; [ ]; # missing inputs: starline
"starlingbank" = ps: with ps; [ ]; # missing inputs: starlingbank

View file

@ -5366,6 +5366,8 @@ in {
pysqlite = callPackage ../development/python-modules/pysqlite { };
pysqueezebox = callPackage ../development/python-modules/pysqueezebox { };
pysrim = callPackage ../development/python-modules/pysrim { };
pysrt = callPackage ../development/python-modules/pysrt { };