2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mpd_clientlib, openssl }:
|
2016-08-17 04:53:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ympd";
|
2016-08-17 04:53:14 +02:00
|
|
|
version = "1.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "notandy";
|
|
|
|
repo = "ympd";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake mpd_clientlib openssl ];
|
2016-08-17 04:53:14 +02:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.ympd.org";
|
2016-08-17 04:53:14 +02:00
|
|
|
description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.siddharthist ];
|
2016-08-17 13:19:41 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-07-22 17:04:35 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-17 04:53:14 +02:00
|
|
|
};
|
|
|
|
}
|