mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
parent
131bc22b84
commit
6aa729cf52
@ -11,20 +11,12 @@ stdenv.mkDerivation rec {
|
||||
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;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user