nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6python3Packages.buildPythonApplication rec {
7 pname = "BeatPrints";
8 version = "1.1.4";
9 pyproject = true;
10
11 src = fetchFromGitHub {
12 owner = "TrueMyst";
13 repo = "BeatPrints";
14 rev = "v${version}";
15 hash = "sha256-HtYPEnHbJarSC3P337l3IGagk62FgEohSAVyv6PBnIs=";
16 };
17
18 build-system = with python3Packages; [
19 poetry-core
20 ];
21
22 pythonRelaxDeps = [
23 "Pillow"
24 "rich"
25 ];
26
27 dependencies = with python3Packages; [
28 requests
29 pylette
30 lrclibapi
31 fonttools
32 questionary
33 rich
34 toml
35 pillow
36 spotipy
37 ];
38
39 meta = {
40 description = "Create eye-catching, Pinterest-style music posters effortlessly";
41 longDescription = ''
42 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. 🍀
43 '';
44 homepage = "https://beatprints.readthedocs.io";
45 changelog = "https://github.com/TrueMyst/BeatPrints/releases/tag/v${version}";
46 mainProgram = "beatprints";
47 license = lib.licenses.cc-by-nc-sa-40;
48 maintainers = with lib.maintainers; [ DataHearth ];
49 platforms = lib.platforms.all;
50 };
51}