mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
0f8fe82096
gmpc wouldn't start because the icons aren't found.
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ stdenv, fetchurl, libtool, intltool, pkgconfig, glib
|
|
, gtk, curl, mpd_clientlib, libsoup, gob2, vala, libunique
|
|
, libSM, libICE, sqlite, hicolor_icon_theme, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gmpc-${version}";
|
|
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 ];
|
|
buildInputs = [ pkgconfig glib ];
|
|
};
|
|
|
|
src = fetchurl {
|
|
url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz";
|
|
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
|
|
};
|
|
|
|
buildInputs = [
|
|
libtool intltool pkgconfig glib gtk curl mpd_clientlib libsoup
|
|
libunique libmpd gob2 vala libSM libICE sqlite hicolor_icon_theme
|
|
wrapGAppsHook
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://gmpclient.org;
|
|
description = "A GTK2 frontend for Music Player Daemon";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.rickynils ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|