2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libtool, intltool, pkg-config, glib
|
2020-04-24 23:36:52 +00:00
|
|
|
, gtk2, curl, mpd_clientlib, libsoup, gob2, vala, libunique
|
|
|
|
, libSM, libICE, sqlite, hicolor-icon-theme, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gmpc";
|
|
|
|
version = "11.8.16";
|
|
|
|
|
|
|
|
libmpd = stdenv.mkDerivation {
|
|
|
|
name = "libmpd-11.8.17";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz";
|
|
|
|
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
|
|
|
};
|
|
|
|
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib gtk2 curl mpd_clientlib libsoup
|
|
|
|
libunique libmpd libSM libICE sqlite hicolor-icon-theme
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://gmpclient.org";
|
|
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|