about summary refs log tree commit diff
path: root/pkgs/applications/audio/vimpc
diff options
context:
space:
mode:
authorSebastian Korten <Sebastian.Korten@gmail.com>2014-07-25 15:32:04 +0200
committerSebastian Korten <Sebastian.Korten@gmail.com>2014-07-25 15:32:04 +0200
commit620100a406035a8e40c6ef4c26e0ff5b57eb5dc9 (patch)
tree5f6b7a9ed41a5d0ed37df13c58fef719ee2f9b0b /pkgs/applications/audio/vimpc
parent50510d1985e37cd7513464e9e308c0d1c24928de (diff)
vimpc: initial install script
Diffstat (limited to 'pkgs/applications/audio/vimpc')
-rwxr-xr-xpkgs/applications/audio/vimpc/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/audio/vimpc/default.nix b/pkgs/applications/audio/vimpc/default.nix
new file mode 100755
index 0000000000000..3e365cae8e944
--- /dev/null
+++ b/pkgs/applications/audio/vimpc/default.nix
@@ -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;
+  };
+}