python3Packages.beets-ytimport: init at 1.13.0
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
ytmusicapi,
|
||||
yt-dlp,
|
||||
beets-minimal,
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "beets-ytimport";
|
||||
version = "1.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mgoltzsche";
|
||||
repo = "beets-ytimport";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-EwSL1rBEPTcMfrlTkQcqRuhR8OtibBZqA0qQz4+qLEw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
ytmusicapi
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
beets-minimal
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
writableTmpDirAsHomeHook
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mgoltzsche/beets-ytimport/releases/tag/v${version}";
|
||||
description = "Beets plugin to import music from Youtube and SoundCloud";
|
||||
homepage = "https://github.com/mgoltzsche/beets-ytimport";
|
||||
maintainers = with lib.maintainers; [ pyrox0 ];
|
||||
license = [ lib.licenses.asl20 ];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
@@ -2066,6 +2066,8 @@ self: super: with self; {
|
||||
disableAllPlugins = true;
|
||||
};
|
||||
|
||||
beets-ytimport = callPackage ../development/python-modules/beets-ytimport { };
|
||||
|
||||
beewi-smartclim = callPackage ../development/python-modules/beewi-smartclim { };
|
||||
|
||||
before-after = callPackage ../development/python-modules/before-after { };
|
||||
|
||||
Reference in New Issue
Block a user