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