gnome-builder: 3.32.4 → 3.34.0

* add pcre2
* don't override stdenv

Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
This commit is contained in:
Tor Hedin Brønner 2019-09-02 16:44:11 +00:00
parent 1e3e7822a6
commit 5a5f149e10

View File

@ -1,4 +1,4 @@
{ gcc8Stdenv
{ stdenv
, ctags
, appstream-glib
, desktop-file-utils
@ -23,6 +23,7 @@
, ninja
, ostree
, pcre
, pcre2
, pkgconfig
, python3
, sysprof
@ -33,20 +34,16 @@
, wrapGAppsHook
, dbus
, xvfb_run
, glib
}:
let
# Does not build with GCC 7
# https://gitlab.gnome.org/GNOME/gnome-builder/issues/868
stdenv = gcc8Stdenv;
in
stdenv.mkDerivation rec {
pname = "gnome-builder";
version = "3.32.4";
version = "3.34.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xip58m206p8wa28p0a3y4ykylzr5xzmirjl3dspg4j25r08i8qr";
sha256 = "19i2ipgw48fpd50wacwyhj35hajlg7qcyxpj8rsqk4g21ijfykrg";
};
nativeBuildInputs = [
@ -82,6 +79,7 @@ stdenv.mkDerivation rec {
libxml2
ostree
pcre
pcre2
python3
sysprof
template-glib
@ -100,6 +98,8 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/meson/post_install.py
'';
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
mesonFlags = [
"-Dpython_libprefix=${python3.libPrefix}"
"-Ddocs=true"