1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/development/libraries/gnome-menus/default.nix
Daniel Schaefer 06fad89bd6 treewide: Update meta of packages hosted on gnome
- Update homepage URLs
- Add missing meta entries
2019-05-13 03:01:25 -04:00

34 lines
1,014 B
Nix

{ stdenv, fetchurl, pkgconfig, gettext, glib, gobject-introspection, gnome3 }:
stdenv.mkDerivation rec {
pname = "gnome-menus";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68";
};
makeFlags = [
"INTROSPECTION_GIRDIR=${placeholder ''out''}/share/gir-1.0/"
"INTROSPECTION_TYPELIBDIR=${placeholder ''out''}/lib/girepository-1.0"
];
nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ glib gobject-introspection ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-menus";
description = "Library that implements freedesktops's Desktop Menu Specification in GNOME";
license = with licenses; [ gpl2 lgpl2 ];
platforms = platforms.linux;
};
}