libpeas2: 1.99.0 → 1.99.1

https://gitlab.gnome.org/GNOME/libpeas/-/compare/1.99.0...1.99.1

Require mozjs115.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-09-02 02:34:42 +00:00 committed by Jan Tojnar
parent 2467c02500
commit 42fe6c4a0a

View File

@ -10,19 +10,19 @@
, glib
, lua5_1
, python3
, spidermonkey_102
, spidermonkey_115
, gnome
}:
stdenv.mkDerivation rec {
pname = "libpeas";
version = "1.99.0";
version = "1.99.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-BODO8oG8kCYo4IU+0+e8KOSrYxFjgUCb/UDBrEvdMnQ=";
hash = "sha256-81O9usCGjFQziwZ6OmuEWr+kKfFRHN+AVgML7j8qUvo=";
};
depsBuildBuild = [
@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
lua5_1.pkgs.lgi
python3
python3.pkgs.pygobject3
spidermonkey_115
];
propagatedBuildInputs = [
@ -55,10 +56,6 @@ stdenv.mkDerivation rec {
"-Dgtk_doc=true"
];
# Direct usage in `loaders/gjs/peas-plugin-loader-gjs.cpp`.
# https://gitlab.gnome.org/GNOME/libpeas/-/issues/51
env.NIX_CFLAGS_COMPILE = "-I${spidermonkey_102.dev}/include/mozjs-102";
postPatch = ''
# Checks lua51 and lua5.1 executable but we have non of them.
substituteInPlace meson.build --replace \