diff options
Diffstat (limited to 'pkgs/upmpdcli')
-rw-r--r-- | pkgs/upmpdcli/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/upmpdcli/default.nix b/pkgs/upmpdcli/default.nix new file mode 100644 index 0000000..7ae3ec0 --- /dev/null +++ b/pkgs/upmpdcli/default.nix @@ -0,0 +1,43 @@ +{ pkgs ? import <nixpkgs> {} +, autoconf +, jsoncpp +, autoreconfHook +, curl +, fetchgit +, libmicrohttpd +, libupnpp ? pkgs.eth.libupnpp +, mpd_clientlib +, pkgconfig +, stdenv +}: + +stdenv.mkDerivation rec { + name = "upmpdcli-${version}"; + version = "latest"; + + src = fetchgit { + url = "https://framagit.org/medoc92/upmpdcli.git"; + rev = "898b202b9c23be423775207a5407046a1e70fd52"; + sha256 = "0i25za83r2rgipx3m72n8cma7s2jqibvgm6r0kh4kcy2rlxwz0kv"; + }; + + nativeBuildInputs = [ + autoconf + autoreconfHook + pkgconfig + ]; + + buildInputs = [ + jsoncpp + curl.dev + libmicrohttpd + libupnpp + mpd_clientlib + ]; + + meta = { + description = "An UPnP Audio Media Renderer based on MPD"; + homepage = "https://www.lesbonscomptes.com/upmpdcli/"; + license = stdenv.lib.licenses.lgpl21; + }; +} |