nixpkgs/pkgs/applications/audio/vimpc/default.nix

31 lines
818 B
Nix
Raw Normal View History

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