Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 27 lines 702 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, pythonOlder, aiohttp }: 2 3buildPythonPackage rec { 4 pname = "pysqueezebox"; 5 version = "0.4.0"; 6 disabled = pythonOlder "3.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "02d73e98314a63a38c314d40942a0b098fb59d2f08ac39b2627cfa73f785cf0d"; 11 }; 12 13 propagatedBuildInputs = [ 14 aiohttp 15 ]; 16 17 # No tests in the Pypi distribution 18 doCheck = false; 19 pythonImportsCheck = [ "pysqueezebox" ]; 20 21 meta = with stdenv.lib; { 22 description = "Asynchronous library to control Logitech Media Server"; 23 homepage = "https://github.com/rajlaud/pysqueezebox"; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ nyanloutre ]; 26 }; 27}