depot/third_party/nixpkgs/pkgs/development/python-modules/py-sonic/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
613 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 = "A python wrapper library for the Subsonic REST API";
license = licenses.gpl3;
maintainers = with maintainers; [ wenngle ];
};
}