2015-07-01 17:30:55 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkgconfig
|
|
|
|
, taglib }:
|
2014-07-25 14:32:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-22 10:30:43 +01:00
|
|
|
version = "0.09.1";
|
2014-07-25 14:32:04 +01:00
|
|
|
name = "vimpc-${version}";
|
|
|
|
|
2015-07-01 17:30:55 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boysetsfrog";
|
|
|
|
repo = "vimpc";
|
2018-05-23 11:31:59 +01:00
|
|
|
rev = "v${version}";
|
2017-10-22 10:30:43 +01:00
|
|
|
sha256 = "1495a702df4nja8mlxq98mkbic2zv88sjiinimf9qddrfb38jxk6";
|
2014-07-25 14:32:04 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ mpd_clientlib ncurses pcre taglib ];
|
2014-07-25 14:32:04 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/etc
|
|
|
|
cp doc/vimpcrc.example $out/etc
|
|
|
|
'';
|
|
|
|
|
2015-07-01 17:30:55 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A vi/vim inspired client for the Music Player Daemon (mpd)";
|
2014-07-25 14:32:04 +01:00
|
|
|
homepage = https://github.com/boysetsfrog/vimpc;
|
2015-07-01 17:30:55 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-07-25 14:32:04 +01:00
|
|
|
};
|
|
|
|
}
|