nixpkgs/pkgs/applications/audio/ympd/default.nix
Frederik Rietdijk 27af1633a4 fix eval
broken by dac43da8da
cc @pSub
2018-07-22 17:05:00 +02:00

24 lines
696 B
Nix

{ stdenv, fetchFromGitHub, cmake, 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake mpd_clientlib openssl ];
meta = {
homepage = https://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.unix;
license = stdenv.lib.licenses.gpl2;
};
}