mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
28 lines
702 B
Nix
28 lines
702 B
Nix
{ 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 ];
|
|
};
|
|
}
|