2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, make
|
|
|
|
, wrapGNUstepAppsHook
|
|
|
|
, base
|
|
|
|
, back
|
|
|
|
, gui
|
|
|
|
, gorm
|
|
|
|
, gnumake
|
|
|
|
, gdb
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-03-27 19:17:25 +00:00
|
|
|
pname = "projectcenter";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.7.0";
|
2023-03-27 19:17:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnustep";
|
|
|
|
repo = "apps-projectcenter";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "projectcenter-${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
2023-03-27 19:17:25 +00:00
|
|
|
hash = "sha256-uXT2UUvMZNc6Fqi2BUXQimbZk8b3IqXzB+A2btBOmms=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [ make wrapGNUstepAppsHook ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# 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)
|
|
|
|
propagatedBuildInputs = [ base back gui gnumake gdb gorm ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "GNUstep's integrated development environment";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://gnustep.github.io/";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
mainProgram = "ProjectCenter";
|
|
|
|
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
})
|