2025-04-20 17:26:35 +00:00

30 lines
611 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
}:
buildPythonPackage rec {
pname = "py-sonic";
version = "1.0.3";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-Kcly3pTBL9ZMDcCfKgI1pO8Iyr15/tv8PVoi5WUUUKE=";
};
# 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 ];
};
}