summary refs log tree commit diff
path: root/pkgs/applications/editors/projectcenter/default.nix
diff options
context:
space:
mode:
authorArtyom Shalkhakov <artyom.shalkhakov@gmail.com>2015-01-25 22:34:52 +0600
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 21:00:27 +0000
commitd3d580ebbe1ef6330f194ed5fd9116030bd09025 (patch)
treed1be6e38a4e431610c3f906360754c214e3f43ba /pkgs/applications/editors/projectcenter/default.nix
parent9b17cd8fab54b8a06e32109299e4102fcdf3d53d (diff)
downloadnixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar.gz
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar.bz2
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar.lz
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar.xz
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.tar.zst
nixpkgs-d3d580ebbe1ef6330f194ed5fd9116030bd09025.zip
gnustep: cleanup
Major clean-up. Everything builds fine.
Diffstat (limited to 'pkgs/applications/editors/projectcenter/default.nix')
-rw-r--r--pkgs/applications/editors/projectcenter/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/applications/editors/projectcenter/default.nix b/pkgs/applications/editors/projectcenter/default.nix
index 2de8df9bf29..ccb885f7477 100644
--- a/pkgs/applications/editors/projectcenter/default.nix
+++ b/pkgs/applications/editors/projectcenter/default.nix
@@ -1,18 +1,22 @@
 { stdenv, fetchurl
-, gnustep_base, gnustep_back, gnustep_make, gnustep_gui
+, gnustep_base, gnustep_back, gsmakeDerivation, gnustep_gui, gorm
+, gnumake, gdb
 }:
 let
   version = "0.6.2";
 in
-stdenv.mkDerivation rec {
+gsmakeDerivation {
   name = "projectcenter-${version}";
   src = fetchurl {
     url = "ftp://ftp.gnustep.org/pub/gnustep/dev-apps/ProjectCenter-${version}.tar.gz";
     sha256 = "0wwlbpqf541apw192jb633d634zkpjhcrrkd1j80y9hihphll465";
   };
 
-  buildInputs = [ gnustep_make gnustep_base gnustep_back gnustep_gui ];
-  propagatedBuildInputs = [ gnustep_base gnustep_back gnustep_gui ];
+  # NOTE: need a patch for ProjectCenter to help it locate some necessary tools:
+  # 1. Framework/PCProjectLauncher.m, locate gdb (say among NIX_GNUSTEP_SYSTEM_TOOLS)
+  # 2. Framework/PCProjectBuilder.m, locate gmake (similar)
+  buildInputs = [ gnustep_base gnustep_back gnustep_gui ];
+  propagatedBuildInputs = [ gnustep_base gnustep_back gnustep_gui gnumake gdb gorm ];
   
   meta = {
     description = "ProjectCenter is GNUstep's integrated development environment (IDE) and allows a rapid development and easy managment of ProjectCenter running on GNUstep applications, tools and frameworks.";