diff --git a/pkgs/applications/audio/sptlrx/default.nix b/pkgs/applications/audio/sptlrx/default.nix new file mode 100644 index 000000000000..1d53c2f4cea4 --- /dev/null +++ b/pkgs/applications/audio/sptlrx/default.nix @@ -0,0 +1,24 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "sptlrx"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "raitonoberu"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-Wk4vXm6sB+Rw0VFAhfD0GKxsP+1LwpS6VFHa3UENuJk="; + }; + + vendorSha256 = "sha256-l5gIbjB2rJyNmZBqrHo4kwClmAgjgDWHTs5KWzrfC08="; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Spotify lyrics in your terminal"; + homepage = "https://github.com/raitonoberu/sptlrx"; + license = licenses.mit; + maintainers = with maintainers; [ MoritzBoehme ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 57db65aaa5a8..1af93f995069 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28672,6 +28672,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) AppKit Security; }; + sptlrx = callPackage ../applications/audio/sptlrx { }; + squishyball = callPackage ../applications/audio/squishyball { ncurses = ncurses5; };