nixpkgs-suyu/pkgs/applications/audio/vimpc/default.nix
2017-10-22 11:30:43 +02:00

32 lines
951 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, mpd_clientlib, ncurses, pcre, pkgconfig
, taglib }:
stdenv.mkDerivation rec {
version = "0.09.1";
name = "vimpc-${version}";
src = fetchFromGitHub {
owner = "boysetsfrog";
repo = "vimpc";
# Using commit-hash as there is not tag available
# https://github.com/boysetsfrog/vimpc/issues/70
rev = "63556da6b94ab27d7e3f542399f5e0975a5812ba";
sha256 = "1495a702df4nja8mlxq98mkbic2zv88sjiinimf9qddrfb38jxk6";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ mpd_clientlib ncurses pcre taglib ];
postInstall = ''
mkdir -p $out/etc
cp doc/vimpcrc.example $out/etc
'';
meta = with stdenv.lib; {
description = "A vi/vim inspired client for the Music Player Daemon (mpd)";
homepage = https://github.com/boysetsfrog/vimpc;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}