2020-10-07 09:15:18 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-sonic";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.8.0";
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-BzHBoN7zfZ6Bh1IC1TG5NSa6EiFNje2hQY+lSA/PV+c=";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# package has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "libsonic" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/crustymonkey/py-sonic";
|
|
|
|
description = "A python wrapper library for the Subsonic REST API";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ wenngle ];
|
|
|
|
};
|
|
|
|
}
|