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
|
|
|
};
|
|
|
|
|
2015-05-19 13:44:27 +01:00
|
|
|
buildInputs = [gupnp libuuid gssdp pkgconfig gtk3 intltool gupnp_av
|
|
|
|
gnome3.defaultIconTheme gnome3.gnome_themes_standard makeWrapper];
|
2014-01-11 12:28:12 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
2015-10-05 21:56:47 +01:00
|
|
|
wrapProgram "$out/bin/gupnp-av-cp" --prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
|
|
|
|
wrapProgram "$out/bin/gupnp-universal-cp" --prefix XDG_DATA_DIRS : "${gtk3.out}/share:${gnome3.gnome_themes_standard}/share:${gnome3.defaultIconTheme}/share:$out/share"
|
2014-01-11 12:28:12 +00:00
|
|
|
'';
|
2008-06-18 23:34:49 +01:00
|
|
|
}
|