mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #3374 from FlashKorten/vimpc
vimpc: initial install script
This commit is contained in:
commit
9539195227
2 changed files with 36 additions and 0 deletions
34
pkgs/applications/audio/vimpc/default.nix
Executable file
34
pkgs/applications/audio/vimpc/default.nix
Executable file
|
@ -0,0 +1,34 @@
|
|||
{ 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 = "GPL3";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -9810,6 +9810,8 @@ let
|
|||
flags = [ "python" "X11" ]; # only flag "X11" by now
|
||||
});
|
||||
|
||||
vimpc = callPackage ../applications/audio/vimpc { };
|
||||
|
||||
virtviewer = callPackage ../applications/virtualization/virt-viewer {
|
||||
gtkvnc = gtkvnc.override { enableGTK3 = true; };
|
||||
spice_gtk = spice_gtk.override { enableGTK3 = true; };
|
||||
|
|
Loading…
Reference in a new issue