39 lines
999 B
Nix
39 lines
999 B
Nix
{ stdenv, fetchurl, meson, ninja, vala, libxslt, pkgconfig, glib, gtk3, gnome3, python3, dconf
|
|
, libxml2, gettext, docbook_xsl, wrapGAppsHook, gobject-introspection }:
|
|
|
|
let
|
|
pname = "dconf-editor";
|
|
version = "3.34.4";
|
|
in stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "129a2klywvnrj49rz6p5camwsamajldqpsfkl1rgpm6nw0q2lnyy";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja vala libxslt pkgconfig wrapGAppsHook
|
|
gettext docbook_xsl libxml2 gobject-introspection python3
|
|
];
|
|
|
|
buildInputs = [ glib gtk3 dconf ];
|
|
|
|
postPatch = ''
|
|
chmod +x meson_post_install.py
|
|
patchShebangs meson_post_install.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
attrPath = "gnome3.${pname}";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = platforms.linux;
|
|
maintainers = gnome3.maintainers;
|
|
};
|
|
}
|