nixpkgs/pkgs/desktops/gnome/core/dconf-editor/default.nix

70 lines
1.1 KiB
Nix
Raw Normal View History

2021-03-25 13:37:33 +00:00
{ lib
, stdenv
, fetchurl
, meson
, ninja
, vala
, libxslt
, pkg-config
, glib
, gtk3
, gnome
2021-03-25 13:37:33 +00:00
, python3
, dconf
, libxml2
, gettext
, docbook-xsl-nons
, wrapGAppsHook
, gobject-introspection
}:
stdenv.mkDerivation rec {
2018-03-13 19:10:44 +00:00
pname = "dconf-editor";
2021-03-25 13:37:33 +00:00
version = "3.38.3";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-03-25 13:37:33 +00:00
sha256 = "sha256-Vxr0x9rU8Em1PmzXKLea3fCMJ92ra8V7OW0hGGbueeM=";
};
nativeBuildInputs = [
2021-03-25 13:37:33 +00:00
meson
ninja
vala
libxslt
pkg-config
wrapGAppsHook
gettext
docbook-xsl-nons
libxml2
gobject-introspection
python3
];
2018-03-13 19:10:44 +00:00
2021-03-25 13:37:33 +00:00
buildInputs = [
glib
gtk3
dconf
];
2018-03-13 19:10:44 +00:00
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
2018-03-13 19:10:44 +00:00
passthru = {
updateScript = gnome.updateScript {
2019-09-08 23:38:31 +00:00
packageName = pname;
attrPath = "gnome.${pname}";
2018-03-13 19:10:44 +00:00
};
};
meta = with lib; {
2021-03-25 13:37:33 +00:00
description = "GSettings editor for GNOME";
homepage = "https://wiki.gnome.org/Apps/DconfEditor";
license = licenses.gpl3Plus;
maintainers = teams.gnome.members;
2021-03-25 13:37:33 +00:00
platforms = platforms.linux;
};
}