mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
gnome3.gjs: 1.48.6 → 1.50.2
This commit is contained in:
parent
0f06bab3f3
commit
699aa4fc86
@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, gobjectIntrospection
|
||||
, spidermonkey_38, pango, readline, glib, libxml2, dbus }:
|
||||
, spidermonkey_52, pango, readline, glib, libxml2, dbus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
@ -7,12 +7,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxml2 gobjectIntrospection gtk3 glib pango readline dbus ];
|
||||
|
||||
propagatedBuildInputs = [ spidermonkey_38 ];
|
||||
|
||||
# GJS expects mozjs-38.pc but spidermonkey_38 only provides js.pc
|
||||
preConfigure = ''
|
||||
sed -i s/mozjs-38/js/ configure
|
||||
'';
|
||||
propagatedBuildInputs = [ spidermonkey_52 ];
|
||||
|
||||
postInstall = ''
|
||||
sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gjs-1.48.6";
|
||||
name = "gjs-1.50.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gjs/1.48/gjs-1.48.6.tar.xz;
|
||||
sha256 = "e85f65ba4b38bf80b6174949dfe6fce89e88b8213bbdde4ac1fde473c08bd312";
|
||||
url = mirror://gnome/sources/gjs/1.50/gjs-1.50.2.tar.xz;
|
||||
sha256 = "2fad902cf7a7806454121c03918755c646fcfd6b08b52d488987db4e2d691ff3";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user