02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
25 lines
604 B
Nix
25 lines
604 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py-sonic";
|
|
version = "1.0.0";
|
|
format = "setuptools";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-9ho0F5kf74pCsLujwLt+pU+Ikxu70/kk+WP7lnD7CiE=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|