52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
}:
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "BeatPrints";
|
|
version = "1.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TrueMyst";
|
|
repo = "BeatPrints";
|
|
rev = "v${version}";
|
|
hash = "sha256-HtYPEnHbJarSC3P337l3IGagk62FgEohSAVyv6PBnIs=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
poetry-core
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"Pillow"
|
|
"rich"
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
requests
|
|
pylette
|
|
lrclibapi
|
|
fonttools
|
|
questionary
|
|
rich
|
|
toml
|
|
pillow
|
|
spotipy
|
|
];
|
|
|
|
meta = {
|
|
description = "Create eye-catching, Pinterest-style music posters effortlessly";
|
|
longDescription = ''
|
|
Create eye-catching, Pinterest-style music posters effortlessly. BeatPrints integrates with Spotify and LRClib API to help you design custom posters for your favorite tracks or albums. 🍀
|
|
'';
|
|
homepage = "https://beatprints.readthedocs.io";
|
|
changelog = "https://github.com/TrueMyst/BeatPrints/releases/tag/v${version}";
|
|
mainProgram = "beatprints";
|
|
license = lib.licenses.cc-by-nc-sa-40;
|
|
maintainers = with lib.maintainers; [ DataHearth ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|