diff options
| author | dan <i@dan.games> | 2026-03-05 17:41:05 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-05 17:55:44 +0200 |
| commit | 08ca724ee355daff0e9572d32a78d1e6bba5f26e (patch) | |
| tree | 2b5c53b4d69a7eeac96faf9f77857db448dd1062 /gnu/packages/rust-apps.scm | |
| parent | 8a57f9a7a9fda0f8ad0cadb5543913f1e7866d38 (diff) | |
gnu: Add ncspot.
* gnu/packages/rust-apps.scm (ncspot): New variable.
* gnu/packages/rust-crates.scm (lookup-crate-inputs): Add entry for
ncspot.
Change-Id: I9c3d93ee018781d8216613abf62e5da9400c5d21
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 8a54f12b8b4..2e9c7d73452 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -46,6 +46,7 @@ ;;; Copyright © 2025 Julian Flake <julian@flake.de> ;;; Copyright © 2025 Ahmad Jarara <ajarara@fastmail.com> ;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org> +;;; Copyright © 2025 dan <i@dan.games> ;;; Copyright © 2026 Daniel Khodabakhsh <d@niel.khodabakh.sh> ;;; ;;; This file is part of GNU Guix. @@ -106,6 +107,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages libffi) + #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages ninja) #:use-module (gnu packages shells) @@ -2129,6 +2131,40 @@ distributor. Message encryption keys are never stored nor received by Mollysocket.") (license license:agpl3+))) +(define-public ncspot + (package + (name "ncspot") + (version "1.3.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hrkfdn/ncspot") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02i5v7jad80zx2ad9a2ppxg4ipd3faisys41gxcwmpy2kisrlssk")))) + (build-system cargo-build-system) + (arguments + (list #:install-source? #f)) + (inputs + (cons* dbus + libxcb + ncurses + openssl + pulseaudio + (cargo-inputs 'ncspot))) + (native-inputs + (list pkg-config python)) + (home-page "https://github.com/hrkfdn/ncspot") + (synopsis "Ncurses Spotify client written in Rust") + (description + "@command{ncspot} is an ncurses Spotify client written in Rust using +librespot. It is heavily inspired by ncurses MPD clients, such as +@command{ncmpc}. It provides a simple and resource friendly alternative to +the official client.") + (license license:bsd-2))) + (define-public netavark (package (name "netavark") |
