bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
29 lines
611 B
Nix
29 lines
611 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy27,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-sonic";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-DU1T86T0jQ6ptkWdjuV70VC8MFx/rK5aQFYjbK6F2Hk=";
|
|
};
|
|
|
|
# package has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "libsonic" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/crustymonkey/py-sonic";
|
|
description = "Python wrapper library for the Subsonic REST API";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ wenngle ];
|
|
};
|
|
}
|