mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
ympd: init at 1.3.0
This commit is contained in:
parent
1db8403e6f
commit
0cc89278a1
30
pkgs/applications/audio/ympd/default.nix
Normal file
30
pkgs/applications/audio/ympd/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, llvmPackages, pkgconfig, mpd_clientlib, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ympd-${version}";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "notandy";
|
||||
repo = "ympd";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export LIBMPDCLIENT_LIBS=${mpd_clientlib}/lib/libmpdclient.${if stdenv.isDarwin then mpd_clientlib.majorVersion + ".dylib" else "so." + mpd_clientlib.majorVersion + ".0." + mpd_clientlib.minorVersion}
|
||||
export LIBMPDCLIENT_CFLAGS=${mpd_clientlib}
|
||||
|
||||
export LIBCLANG_CXXFLAGS="-isystem ${llvmPackages.clang.cc}/include $(llvm-config --cxxflags)"
|
||||
export LIBCLANG_LIBDIR="${llvmPackages.clang.cc}/lib"
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake pkgconfig mpd_clientlib openssl ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.ympd.org";
|
||||
description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS";
|
||||
maintainers = [ stdenv.lib.maintainers.siddharthist ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -13963,6 +13963,8 @@ in
|
||||
|
||||
ncmpcpp = callPackage ../applications/audio/ncmpcpp { };
|
||||
|
||||
ympd = callPackage ../applications/audio/ympd { };
|
||||
|
||||
nload = callPackage ../applications/networking/nload { };
|
||||
|
||||
normalize = callPackage ../applications/audio/normalize { };
|
||||
|
Loading…
Reference in New Issue
Block a user