From c31a567a83d7a77661014a916830b61658cdf385 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Mon, 24 Jan 2022 21:59:10 -0300 Subject: mpc_cli: put myself as new maintainer Also, a cosmetical reformat. --- pkgs/applications/audio/mpc/default.nix | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix index 0511367db3b..38f417ea2bc 100644 --- a/pkgs/applications/audio/mpc/default.nix +++ b/pkgs/applications/audio/mpc/default.nix @@ -1,12 +1,12 @@ { lib , stdenv , fetchFromGitHub +, libiconv +, libmpdclient , meson , ninja , pkg-config -, libmpdclient , sphinx -, libiconv }: stdenv.mkDerivation rec { @@ -14,21 +14,29 @@ stdenv.mkDerivation rec { version = "0.34"; src = fetchFromGitHub { - owner = "MusicPlayerDaemon"; - repo = "mpc"; - rev = "v${version}"; - sha256 = "sha256-2FjYBfak0IjibuU+CNQ0y9Ei8hTZhynS/BK2DNerhVw="; + owner = "MusicPlayerDaemon"; + repo = "mpc"; + rev = "v${version}"; + hash = "sha256-2FjYBfak0IjibuU+CNQ0y9Ei8hTZhynS/BK2DNerhVw="; }; - buildInputs = [ libmpdclient ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; + buildInputs = [ + libmpdclient + ] + ++ lib.optionals stdenv.isDarwin [ libiconv ]; - nativeBuildInputs = [ meson ninja pkg-config sphinx ]; + nativeBuildInputs = [ + meson + ninja + pkg-config + sphinx + ]; meta = with lib; { - description = "A minimalist command line interface to MPD"; homepage = "https://www.musicpd.org/clients/mpc/"; + description = "A minimalist command line interface to MPD"; license = licenses.gpl2; - maintainers = with maintainers; [ algorith ]; - platforms = with platforms; linux ++ darwin; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; unix; }; } -- cgit 1.4.1