2020-10-01 04:06:52 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-sonic";
|
2021-02-20 09:09:14 +00:00
|
|
|
version = "0.7.9";
|
2020-10-01 04:06:52 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-20 09:09:14 +00:00
|
|
|
sha256 = "1677b7287914567b5123de90ad872b441628d8a7777cf4a5f41671b813facf75";
|
2020-10-01 04:06:52 +01: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;
|
2020-10-02 02:33:48 +01:00
|
|
|
maintainers = with maintainers; [ wenngle ];
|
2020-10-01 04:06:52 +01:00
|
|
|
};
|
|
|
|
}
|