diff --git a/pkgs/by-name/be/beatprints/package.nix b/pkgs/by-name/be/beatprints/package.nix new file mode 100644 index 000000000000..90e90c64d91e --- /dev/null +++ b/pkgs/by-name/be/beatprints/package.nix @@ -0,0 +1,51 @@ +{ + 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 = with lib; { + 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 = licenses.cc-by-nc-sa-40; + maintainers = with maintainers; [ DataHearth ]; + platforms = platforms.all; + }; +}