(address . guix-patches@gnu.org)
---
gnu/packages/mpd.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Toggle diff (58 lines)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index b97abcafc3..2c1f189421 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -513,3 +513,53 @@ for your favorite MPD client but an addition to get a better
album-experience.")
(home-page "https://gitlab.com/coderkun/mcg")
(license license:gpl3+)))
+
+(define-module (vimpc)
+ #:use-module (guix licenses)
+ #:use-module (guix packages)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages mpd)
+ #:use-module (gnu packages pcre)
+ #:use-module (gnu packages mp3)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages ncurses))
+
+(define-public vimpc
+ (package
+ (name "vimpc")
+ (version "0.09.2")
+
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/boysetsfrog/vimpc.git")
+ (commit (string-append "v" version))))
+ (sha256 (base32 "0lswzkap2nm7v5h7ppb6a64cb35rajysd09nb204rxgrkij4m6nx"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)))
+ (inputs `(("libmpdclient" ,libmpdclient)
+ ("pcre" ,pcre)
+ ("taglib" ,taglib)
+ ("pkg-config" ,pkg-config)
+ ("curl" ,curl)
+ ("ncurses" ,ncurses)
+ ))
+ (arguments
+ `(#:tests? #false
+
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-hardcoded-paths
+ (lambda _
+ (system* "./autogen")
+ )))))
+
+ (synopsis "Vi-like Mpd TUI client written in C++")
+ (description "Vimpc provides an alternative to other mpd clients (such as ncmpc and ncmpcpp) that tries to provide an interface similar to that of the vim text editor.")
+ (home-page "https://github.com/boysetsfrog/vimpc")
+ (license gpl3+)))
--
2.32.0