gjs: clean up
* format * add homepage
This commit is contained in:
parent
3d89ead7c6
commit
a2f6928257
@ -1,6 +1,19 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, atk, gobject-introspection
|
{ fetchurl
|
||||||
, spidermonkey_60, pango, readline, glib, libxml2, dbus, gdk-pixbuf
|
, stdenv
|
||||||
, makeWrapper }:
|
, pkgconfig
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, atk
|
||||||
|
, gobject-introspection
|
||||||
|
, spidermonkey_60
|
||||||
|
, pango
|
||||||
|
, readline
|
||||||
|
, glib
|
||||||
|
, libxml2
|
||||||
|
, dbus
|
||||||
|
, gdk-pixbuf
|
||||||
|
, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gjs";
|
pname = "gjs";
|
||||||
@ -11,16 +24,25 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1xf68rbagkflb9yi3visfw8cbxqlzd717y8jakgw0y6whzm1dpxl";
|
sha256 = "1xf68rbagkflb9yi3visfw8cbxqlzd717y8jakgw0y6whzm1dpxl";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "gjs"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "installedTests" ];
|
outputs = [ "out" "installedTests" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libxml2 gobject-introspection glib pango readline dbus ];
|
pkgconfig
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ spidermonkey_60 ];
|
buildInputs = [
|
||||||
|
libxml2
|
||||||
|
gobject-introspection
|
||||||
|
glib
|
||||||
|
pango
|
||||||
|
readline
|
||||||
|
dbus
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
spidermonkey_60
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-installed-tests"
|
"--enable-installed-tests"
|
||||||
@ -42,10 +64,17 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
|
--prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = "gjs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "JavaScript bindings for GNOME";
|
description = "JavaScript bindings for GNOME";
|
||||||
|
homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
|
||||||
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.lgpl2Plus;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user