2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mpd_clientlib, 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";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake mpd_clientlib openssl ];
|
2016-08-17 03:53:14 +01:00
|
|
|
|
|
|
|
meta = {
|
2018-06-27 21:12:57 +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";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.siddharthist ];
|
2016-08-17 12:19:41 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-07-22 16:04:35 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-17 03:53:14 +01:00
|
|
|
};
|
|
|
|
}
|