about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/gjs
diff options
context:
space:
mode:
authorJan Tojnar2019-11-05 00:38:42 +0100
committerJan Tojnar2019-11-05 00:47:04 +0100
commit3d89ead7c698ad7cdab22903d78303405832bd11 (patch)
tree556c2e65a8703b7b890468bea621766170f52846 /pkgs/desktops/gnome-3/core/gjs
parentc4821a82f880df90987ff56a4e781fc42ed914b5 (diff)
gjs: move to top-level
Diffstat (limited to 'pkgs/desktops/gnome-3/core/gjs')
-rw-r--r--pkgs/desktops/gnome-3/core/gjs/default.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/desktops/gnome-3/core/gjs/default.nix b/pkgs/desktops/gnome-3/core/gjs/default.nix
deleted file mode 100644
index b0c1e2d30773..000000000000
--- a/pkgs/desktops/gnome-3/core/gjs/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, atk, gobject-introspection
-, spidermonkey_60, pango, readline, glib, libxml2, dbus, gdk-pixbuf
-, makeWrapper }:
-
-stdenv.mkDerivation rec {
-  pname = "gjs";
-  version = "1.58.1";
-
-  src = fetchurl {
-    url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
-    sha256 = "1xf68rbagkflb9yi3visfw8cbxqlzd717y8jakgw0y6whzm1dpxl";
-  };
-
-  passthru = {
-    updateScript = gnome3.updateScript { packageName = "gjs"; attrPath = "gnome3.gjs"; };
-  };
-
-  outputs = [ "out" "installedTests" ];
-
-  nativeBuildInputs = [ pkgconfig makeWrapper ];
-  buildInputs = [ libxml2 gobject-introspection glib pango readline dbus ];
-
-  propagatedBuildInputs = [ spidermonkey_60 ];
-
-  configureFlags = [
-    "--enable-installed-tests"
-  ];
-
-  postPatch = ''
-    for f in installed-tests/*.test.in; do
-      substituteInPlace "$f" --subst-var-by pkglibexecdir "$installedTests/libexec/gjs"
-    done
-  '';
-
-  postInstall = ''
-    sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la
-
-    moveToOutput "share/installed-tests" "$installedTests"
-    moveToOutput "libexec/gjs/installed-tests" "$installedTests"
-
-    wrapProgram "$installedTests/libexec/gjs/installed-tests/minijasmine" \
-      --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
-  '';
-
-  meta = with stdenv.lib; {
-    description = "JavaScript bindings for GNOME";
-    maintainers = gnome3.maintainers;
-    platforms = platforms.linux;
-    license = licenses.lgpl2Plus;
-  };
-}