python311Packages.py-opensonic: init at 5.1.1

A python library to wrap the Open Subsonic REST API.
This commit is contained in:
Martin Weinelt
2024-07-17 22:29:37 +02:00
parent 1876f93d40
commit 622256abb5
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, requests
}:
buildPythonPackage rec {
pname = "py-opensonic";
version = "5.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "khers";
repo = "py-opensonic";
rev = "v${version}";
hash = "sha256-wXTXuX+iIMEoALxsciopucmvBxAyEeiOgjJPrbD63gM=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
doCheck = false; # no tests
pythonImportsCheck = [
"libopensonic"
];
meta = with lib; {
description = "Python library to wrap the Open Subsonic REST API";
homepage = "https://github.com/khers/py-opensonic";
changelog = "https://github.com/khers/py-opensonic/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ hexa ];
};
}
+2
View File
@@ -9191,6 +9191,8 @@ self: super: with self; {
py-expression-eval = callPackage ../development/python-modules/py-expression-eval { };
py-opensonic = callPackage ../development/python-modules/py-opensonic { };
py-radix-sr = callPackage ../development/python-modules/py-radix-sr { };
nwdiag = callPackage ../development/python-modules/nwdiag { };