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