09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
31 lines
807 B
Nix
31 lines
807 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "${passthru.majorVersion}.${passthru.minorVersion}";
|
|
name = "libmpdclient-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "libmpdclient";
|
|
rev = "v${version}";
|
|
sha256 = "06rv2j8rw9v9l4nwpvbh28nad8bbg368hzd8s58znbr5pgb8dihd";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook doxygen ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
majorVersion = "2";
|
|
minorVersion = "11";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Client library for MPD (music player daemon)";
|
|
homepage = https://www.musicpd.org/libs/libmpdclient/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ mornfall ehmry ];
|
|
};
|
|
}
|