depot/third_party/nixpkgs/pkgs/development/python-modules/py-sonic/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

23 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 ];
};
}