2021-02-12 12:31:57 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libtool
|
|
|
|
, intltool
|
|
|
|
, pkg-config
|
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, curl
|
|
|
|
, libmpdclient
|
|
|
|
, libsoup
|
|
|
|
, gob2
|
|
|
|
, vala
|
|
|
|
, libunique
|
|
|
|
, libSM
|
|
|
|
, libICE
|
|
|
|
, sqlite
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, wrapGAppsHook
|
2013-04-04 17:42:17 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gmpc";
|
2013-04-04 17:42:17 +02:00
|
|
|
version = "11.8.16";
|
|
|
|
|
|
|
|
libmpd = stdenv.mkDerivation {
|
|
|
|
name = "libmpd-11.8.17";
|
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/libmpd-11.8.17.tar.gz";
|
2013-04-04 17:42:17 +02:00
|
|
|
sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y";
|
|
|
|
};
|
2014-12-10 09:55:22 +01:00
|
|
|
patches = [ ./libmpd-11.8.17-remove-strndup.patch ];
|
2017-09-14 21:24:37 +02:00
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ glib ];
|
2013-04-04 17:42:17 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ];
|
2013-04-04 17:42:17 +02:00
|
|
|
buildInputs = [
|
2021-02-12 12:31:57 +01:00
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
curl
|
|
|
|
libmpdclient
|
|
|
|
libsoup
|
|
|
|
libunique
|
|
|
|
libmpd
|
|
|
|
libSM
|
|
|
|
libICE
|
|
|
|
sqlite
|
|
|
|
hicolor-icon-theme
|
2013-04-04 17:42:17 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://gmpclient.org";
|
2013-04-04 17:42:17 +02:00
|
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
|
|
license = licenses.gpl2;
|
2019-08-20 15:24:01 +02:00
|
|
|
maintainers = [];
|
2013-04-05 09:36:45 +02:00
|
|
|
platforms = platforms.linux;
|
2013-04-04 17:42:17 +02:00
|
|
|
};
|
|
|
|
}
|
2021-02-12 12:31:57 +01:00
|
|
|
# TODO: what is this libmpd derivation embedded above?
|