From d1caa9bcaf241a3105dc5b7fd0143d2f9db9cc88 Mon Sep 17 00:00:00 2001 From: Zeke Stephens Date: Wed, 30 Sep 2020 23:06:52 -0400 Subject: [PATCH] python3Packages.py-sonic: init at 0.7.7 --- .../python-modules/py-sonic/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/py-sonic/default.nix diff --git a/pkgs/development/python-modules/py-sonic/default.nix b/pkgs/development/python-modules/py-sonic/default.nix new file mode 100644 index 000000000000..324d6027bc61 --- /dev/null +++ b/pkgs/development/python-modules/py-sonic/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, isPy27 }: + +buildPythonPackage rec { + pname = "py-sonic"; + version = "0.7.7"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "4cea42a2b0dc2ed0fd8568d6bf0509cfa2675a8b1c347ce9364a00881ebc0272"; + }; + + # 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; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 650288022f08..a3643200d1ee 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5412,6 +5412,8 @@ in { pysolr = callPackage ../development/python-modules/pysolr { }; + py-sonic = callPackage ../development/python-modules/py-sonic { }; + pysonos = callPackage ../development/python-modules/pysonos { }; pysoundfile = self.soundfile; # Alias added 23-06-2019