2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkg-config
|
2019-02-16 08:10:28 +01:00
|
|
|
, taglib, curl }:
|
2014-07-25 15:32:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-16 08:10:28 +01:00
|
|
|
version = "0.09.2";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "vimpc";
|
2014-07-25 15:32:04 +02:00
|
|
|
|
2015-07-01 18:30:55 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boysetsfrog";
|
|
|
|
repo = "vimpc";
|
2018-05-23 12:31:59 +02:00
|
|
|
rev = "v${version}";
|
2019-02-16 08:10:28 +01:00
|
|
|
sha256 = "0lswzkap2nm7v5h7ppb6a64cb35rajysd09nb204rxgrkij4m6nx";
|
2014-07-25 15:32:04 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-02-16 08:10:28 +01:00
|
|
|
buildInputs = [ mpd_clientlib ncurses pcre taglib curl ];
|
2014-07-25 15:32:04 +02:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/etc
|
|
|
|
cp doc/vimpcrc.example $out/etc
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A vi/vim inspired client for the Music Player Daemon (mpd)";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/boysetsfrog/vimpc";
|
2015-07-01 18:30:55 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-07-25 15:32:04 +02:00
|
|
|
};
|
|
|
|
}
|