mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
gmpc 11.8.16: New package, a GTK MPD (Music Player Daemon) client
This commit is contained in:
parent
7dbec8267c
commit
e31ffe6fb0
2 changed files with 52 additions and 0 deletions
50
pkgs/applications/audio/gmpc/default.nix
Normal file
50
pkgs/applications/audio/gmpc/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ stdenv, fetchurl, libtool, intltool, pkgconfig, glib
|
||||
, gtk, curl, mpd_clientlib, libsoup, gob2, vala
|
||||
}:
|
||||
|
||||
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";
|
||||
};
|
||||
buildInputs = [ pkgconfig glib ];
|
||||
};
|
||||
|
||||
libunique = stdenv.mkDerivation {
|
||||
name = "libunique-1.1.6";
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-1.1.6.tar.gz;
|
||||
sha256 = "2cb918dde3554228a211925ba6165a661fd782394bd74dfe15e3853dc9c573ea";
|
||||
};
|
||||
buildInputs = [ pkgconfig glib gtk ];
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/remove_G_CONST_RETURN.patch?h=packages/libunique";
|
||||
sha256 = "0da2qi7cyyax4rr1p25drlhk360h8d3lapgypi5w95wj9k6bykhr";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gmpclient.org;
|
||||
description = "A GTK2 frontend for Music Player Daemon";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.rickynils ];
|
||||
};
|
||||
}
|
|
@ -7183,6 +7183,8 @@ let
|
|||
|
||||
gqview = callPackage ../applications/graphics/gqview { };
|
||||
|
||||
gmpc = callPackage ../applications/audio/gmpc { };
|
||||
|
||||
gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk {
|
||||
inherit (gnome) GConf;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue