forked from mirrors/nixpkgs
Add ncmpcpp
Patch by mornfall svn path=/nixpkgs/trunk/; revision=30730
This commit is contained in:
parent
b7833639ba
commit
69e12ad16e
21
pkgs/applications/audio/ncmpcpp/default.nix
Normal file
21
pkgs/applications/audio/ncmpcpp/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{stdenv, fetchurl, ncurses, curl, taglib, fftw, mpd_clientlib, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5.8";
|
||||
name = "ncmpcpp-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://unkart.ovh.org/ncmpcpp/ncmpcpp-${version}.tar.bz2";
|
||||
sha256 = "1kbkngs4fhf9z53awskqiwdl94i5slvxmjiajkrayi99373fallx";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses curl taglib fftw mpd_clientlib pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "Curses-based interface for MPD (music player daemon)";
|
||||
homepage = http://unkart.ovh.org/ncmpcpp/;
|
||||
license = "GPLv2+";
|
||||
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
||||
};
|
||||
}
|
||||
|
17
pkgs/servers/mpd/clientlib.nix
Normal file
17
pkgs/servers/mpd/clientlib.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmpdclient-2.6";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/musicpd/${name}.tar.bz2";
|
||||
sha256 = "1j8kn0fawdsvczrkhf6xm2yp0h6w49b326i3c08zwvhskd3phljw";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Client library for MPD (music player daemon)";
|
||||
homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki;
|
||||
license = "GPLv2";
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
||||
};
|
||||
}
|
|
@ -4975,6 +4975,7 @@ let
|
|||
mod_wsgi = callPackage ../servers/http/apache-modules/mod_wsgi { };
|
||||
|
||||
mpd = callPackage ../servers/mpd { };
|
||||
mpd_clientlib = callPackage ../servers/mpd/clientlib.nix { };
|
||||
|
||||
miniHttpd = callPackage ../servers/http/mini-httpd {};
|
||||
|
||||
|
@ -7078,6 +7079,8 @@ let
|
|||
|
||||
mpg321 = callPackage ../applications/audio/mpg321 { };
|
||||
|
||||
ncmpcpp = callPackage ../applications/audio/ncmpcpp { };
|
||||
|
||||
MPlayer = callPackage ../applications/video/MPlayer { };
|
||||
|
||||
MPlayerPlugin = browser:
|
||||
|
|
Loading…
Reference in a new issue