2021-02-12 11:34:16 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, libmpdclient
|
|
|
|
, openssl
|
|
|
|
}:
|
2016-08-17 03:53:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ympd";
|
2016-08-17 03:53:14 +01:00
|
|
|
version = "1.3.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "notandy";
|
|
|
|
repo = "ympd";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq";
|
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2021-02-12 11:34:16 +00:00
|
|
|
buildInputs = [ libmpdclient openssl ];
|
2016-08-17 03:53:14 +01:00
|
|
|
|
2021-02-12 11:34:16 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.ympd.org";
|
2016-08-17 03:53:14 +01:00
|
|
|
description = "Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS";
|
2021-02-12 11:34:16 +00:00
|
|
|
maintainers = [ maintainers.siddharthist ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.gpl2Plus;
|
2016-08-17 03:53:14 +01:00
|
|
|
};
|
|
|
|
}
|