mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
59 lines
1.0 KiB
Nix
59 lines
1.0 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, gupnp
|
|
, gssdp
|
|
, pkg-config
|
|
, gtk3
|
|
, libuuid
|
|
, gettext
|
|
, gupnp-av
|
|
, gtksourceview4
|
|
, gnome
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gupnp-tools";
|
|
version = "0.10.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "13d1qr1avz9r76989nvgxhhclmqzr025xjk4rfnja94fpbspznj1";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gettext
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gupnp
|
|
libuuid
|
|
gssdp
|
|
gtk3
|
|
gupnp-av
|
|
gtksourceview4
|
|
gnome.adwaita-icon-theme
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Set of utilities and demos to work with UPnP";
|
|
homepage = "https://wiki.gnome.org/Projects/GUPnP";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|