about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorArtyom Shalkhakov <artyom.shalkhakov@gmail.com>2014-12-12 22:58:21 +0600
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 20:59:58 +0000
commit15c5a533b54b335f48c2d841909730340978ec28 (patch)
treea0b9c8e5f191b21f1870533aa4464927984e3c75 /pkgs/applications
parentea3dcb3264e8b8d6f6b9b257ed44f55ce92ff274 (diff)
gnustep: add gworkspace and systempreferences
Packaging some basic GNUstep apps: GWorkspace and SystemPreferences.

Unfortunately, GWorkspace doesn't work well, because gdomap, gdnc, gpbs
are not started. Also, there is some issue with fonts not being found.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/gworkspace/default.nix32
-rw-r--r--pkgs/applications/misc/systempreferences/default.nix27
2 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gworkspace/default.nix b/pkgs/applications/misc/gworkspace/default.nix
new file mode 100644
index 0000000000000..2081e1540a0b6
--- /dev/null
+++ b/pkgs/applications/misc/gworkspace/default.nix
@@ -0,0 +1,32 @@
+{ gnustep_back, gnustep_base, gnustep_gui, gnustep_make
+, fetchurl
+, sqlite
+, stdenv
+, system_preferences
+}:
+let
+  version = "0.9.2";
+in
+stdenv.mkDerivation {
+  name = "gworkspace-${version}";
+  src = fetchurl {
+    url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/gworkspace-${version}.tar.gz";
+    sha256 = "1yzlka2dl1gb353wf9kw6l26sdihdhgwvdfg5waqwdfl7ycfyfaj";
+  };
+  # additional dependencies:
+  # - PDFKit framework from http://gap.nongnu.org/
+  GNUSTEP_MAKEFILES = "${gnustep_make}/share/GNUstep/Makefiles";
+  buildInputs = [ gnustep_back gnustep_base gnustep_make gnustep_gui sqlite system_preferences ];
+  propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui sqlite system_preferences ];
+  configureFlags = [ "--enable-gwmetadata" "--with-inotify" ];
+  meta = {
+    description = "GWorkspace is a workspace manager for GNUstep";
+
+    homepage = http://www.gnustep.org/experience/GWorkspace.html;
+
+    license = stdenv.lib.licenses.lgpl2Plus;
+
+    maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}
diff --git a/pkgs/applications/misc/systempreferences/default.nix b/pkgs/applications/misc/systempreferences/default.nix
new file mode 100644
index 0000000000000..13d4312213b7b
--- /dev/null
+++ b/pkgs/applications/misc/systempreferences/default.nix
@@ -0,0 +1,27 @@
+{ gnustep_back, gnustep_base, gnustep_gui, gnustep_make
+, fetchurl
+, stdenv
+}:
+let
+  version = "1.1.0";
+in
+stdenv.mkDerivation {
+  name = "system_preferences-${version}";
+  src = fetchurl {
+    url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/SystemPreferences-${version}.tar.gz";
+    sha256 = "1q68bs8rlq0dxkar01qs5wfyas4iivddnama371jd7ll6cxzmpy7";
+  };
+  GNUSTEP_MAKEFILES = "${gnustep_make}/share/GNUstep/Makefiles";
+  buildInputs = [ gnustep_back gnustep_base gnustep_make gnustep_gui ];
+  propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui ];
+  meta = {
+    description = "System Preferences allows to manage the settings of many aspects of the GNUstep environment and its applications";
+
+    homepage = http://www.gnustep.org/experience/systempreferences.html;
+
+    license = stdenv.lib.licenses.lgpl2Plus;
+
+    maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}