git.iko.soy/typeable/nixpkgs
on master help sign in
gjs: clean up

* format * add homepage

commita2f69282576b441447e454a166014278c4bfbcbb authorJan Tojnar <jtojnar@gmail.com> dateTue 5 Nov 2019, 00:49 (7 years ago) parent3d89ead
1 file changed+40−11
pkgs/development/libraries/gjs/default.nix+40−11
pkgs/development/libraries/gjs/default.nix+40−11
@@ -1,6 +1,19 @@
1−{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, atk, gobject-introspection
2−, spidermonkey_60, pango, readline, glib, libxml2, dbus, gdk-pixbuf
3−, makeWrapper }:
1+{ fetchurl
2+, stdenv
3+, pkgconfig
4+, gnome3
5+, gtk3
6+, atk
7+, gobject-introspection
8+, spidermonkey_60
9+, pango
10+, readline
11+, glib
12+, libxml2
13+, dbus
14+, gdk-pixbuf
15+, makeWrapper
16+}:
417
518stdenv.mkDerivation rec {
619 pname = "gjs";
@@ -11,16 +24,25 @@ stdenv.mkDerivation rec {
1124 sha256 = "1xf68rbagkflb9yi3visfw8cbxqlzd717y8jakgw0y6whzm1dpxl";
1225 };
1326
14− passthru = {
15− updateScript = gnome3.updateScript { packageName = "gjs"; };
16− };
17−
1827 outputs = [ "out" "installedTests" ];
1928
20− nativeBuildInputs = [ pkgconfig makeWrapper ];
21− buildInputs = [ libxml2 gobject-introspection glib pango readline dbus ];
29+ nativeBuildInputs = [
30+ pkgconfig
31+ makeWrapper
32+ ];
33+
34+ buildInputs = [
35+ libxml2
36+ gobject-introspection
37+ glib
38+ pango
39+ readline
40+ dbus
41+ ];
2242
23− propagatedBuildInputs = [ spidermonkey_60 ];
43+ propagatedBuildInputs = [
44+ spidermonkey_60
45+ ];
2446
2547 configureFlags = [
2648 "--enable-installed-tests"
@@ -42,10 +64,17 @@ stdenv.mkDerivation rec {
4264 --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
4365 '';
4466
67+ passthru = {
68+ updateScript = gnome3.updateScript {
69+ packageName = "gjs";
70+ };
71+ };
72+
4573 meta = with stdenv.lib; {
4674 description = "JavaScript bindings for GNOME";
75+ homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
76+ license = licenses.lgpl2Plus;
4777 maintainers = gnome3.maintainers;
4878 platforms = platforms.linux;
49− license = licenses.lgpl2Plus;
5079 };
5180}