python3Packages.librespot: init at 0.0.9
This commit is contained in:
parent
6852867140
commit
4c26a41a99
61
pkgs/development/python-modules/librespot/default.nix
Normal file
61
pkgs/development/python-modules/librespot/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, defusedxml
|
||||||
|
, protobuf
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
, websocket-client
|
||||||
|
, pyogg
|
||||||
|
, zeroconf
|
||||||
|
, requests
|
||||||
|
, pycryptodomex
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "librespot";
|
||||||
|
version = "0.0.9";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kokarare1212";
|
||||||
|
repo = "librespot-python";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
defusedxml
|
||||||
|
protobuf
|
||||||
|
pycryptodomex
|
||||||
|
pyogg
|
||||||
|
requests
|
||||||
|
websocket-client
|
||||||
|
zeroconf
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"protobuf"
|
||||||
|
"pyogg"
|
||||||
|
"requests"
|
||||||
|
"zeroconf"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Doesn't include any tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"librespot"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Open Source Spotify Client";
|
||||||
|
homepage = "https://github.com/kokarare1212/librespot-python";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ onny ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5860,6 +5860,8 @@ self: super: with self; {
|
||||||
(p: p.py)
|
(p: p.py)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
librespot = callPackage ../development/python-modules/librespot { };
|
||||||
|
|
||||||
libretranslate = callPackage ../development/python-modules/libretranslate { };
|
libretranslate = callPackage ../development/python-modules/libretranslate { };
|
||||||
|
|
||||||
librosa = callPackage ../development/python-modules/librosa { };
|
librosa = callPackage ../development/python-modules/librosa { };
|
||||||
|
|
Loading…
Reference in a new issue