mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
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:
parent
2467c02500
commit
42fe6c4a0a
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user