1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6}:
7
8buildPythonPackage rec {
9 pname = "py-sonic";
10 version = "1.0.3";
11 format = "setuptools";
12 disabled = isPy27;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-Kcly3pTBL9ZMDcCfKgI1pO8Iyr15/tv8PVoi5WUUUKE=";
17 };
18
19 # package has no tests
20 doCheck = false;
21 pythonImportsCheck = [ "libsonic" ];
22
23 meta = with lib; {
24 homepage = "https://github.com/crustymonkey/py-sonic";
25 description = "Python wrapper library for the Subsonic REST API";
26 license = licenses.gpl3;
27 maintainers = with maintainers; [ wenngle ];
28 };
29}