nixpkgs/pkgs/development/python-modules/py-sonic/default.nix
2023-01-16 18:46:33 +00:00

24 lines
581 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27 }:
buildPythonPackage rec {
pname = "py-sonic";
version = "0.8.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BzHBoN7zfZ6Bh1IC1TG5NSa6EiFNje2hQY+lSA/PV+c=";
};
# 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 ];
};
}