nixpkgs/pkgs/applications/audio/vimpc/default.nix
Mateusz Kowalczyk 007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00

35 lines
915 B
Nix
Executable File

{ stdenv, fetchurl, autoconf, automake, mpd_clientlib, ncurses, pcre, pkgconfig, taglib }:
stdenv.mkDerivation rec {
version = "0.09.0";
name = "vimpc-${version}";
src = fetchurl {
url = "https://github.com/boysetsfrog/vimpc/archive/v${version}.tar.gz";
sha256 = "13eb229a5e9eee491765ee89f7fe6a38140a41a01434b117da3869d725c15706";
};
buildInputs = [ autoconf
automake
mpd_clientlib
ncurses
pcre
pkgconfig
taglib
];
preConfigure = "./autogen.sh";
postInstall = ''
mkdir -p $out/etc
cp doc/vimpcrc.example $out/etc
'';
meta = {
description = "A vi/vim inspired client for the Music Player Daemon (mpd).";
homepage = https://github.com/boysetsfrog/vimpc;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}