2020-10-07 09:15:18 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-sonic";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "0.7.8";
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1nfpiry1jlgcyxcs5zamyfxwdvdiwg4yw0v8jysfc74hm362rg7d";
|
2020-10-07 09:15:18 +00: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;
|
|
|
|
maintainers = with maintainers; [ wenngle ];
|
|
|
|
};
|
|
|
|
}
|