9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
25 lines
756 B
Nix
25 lines
756 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, mpd_clientlib, sphinx, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpc";
|
|
version = "0.33";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "mpc";
|
|
rev = "v${version}";
|
|
sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx";
|
|
};
|
|
|
|
buildInputs = [ mpd_clientlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config sphinx ];
|
|
|
|
meta = with lib; {
|
|
description = "A minimalist command line interface to MPD";
|
|
homepage = "https://www.musicpd.org/clients/mpc/";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ algorith ];
|
|
platforms = with platforms; linux ++ darwin;
|
|
};
|
|
}
|