2014-01-11 12:28:12 +00:00
|
|
|
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp_av, gnome3, makeWrapper}:
|
2008-06-18 23:34:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-01-14 20:33:11 +00:00
|
|
|
name = "gupnp-tools-${version}";
|
|
|
|
majorVersion = "0.8";
|
|
|
|
version = "${majorVersion}.8";
|
2008-06-18 23:34:49 +01:00
|
|
|
src = fetchurl {
|
2014-01-14 20:33:11 +00:00
|
|
|
url = "mirror://gnome/sources/gupnp-tools/${majorVersion}/gupnp-tools-${version}.tar.xz";
|
2014-01-11 12:28:12 +00:00
|
|
|
sha256 = "160dgh9pmlb85qfavwqz46lqawpshs8514bx2b57f9rbiny8kbij";
|
2008-06-18 23:34:49 +01:00
|
|
|
};
|
|
|
|
|
2014-01-11 12:28:12 +00:00
|
|
|
buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av gnome3.gnome_icon_theme gnome3.gnome_themes_standard makeWrapper];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
|
|
|
|
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome3.gnome_themes_standard}/share:${gnome3.gnome_icon_theme}/share:$out/share"
|
|
|
|
'';
|
2008-06-18 23:34:49 +01:00
|
|
|
}
|