2023-12-18 02:10:46 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, back
|
|
|
|
, base
|
|
|
|
, gui
|
|
|
|
, make
|
|
|
|
, wrapGNUstepAppsHook
|
2014-12-12 16:58:21 +00:00
|
|
|
, fetchurl
|
|
|
|
, system_preferences
|
|
|
|
}:
|
2023-12-18 02:10:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "gworkspace";
|
2022-02-11 18:36:48 +00:00
|
|
|
version = "1.0.0";
|
2023-12-18 02:10:46 +00:00
|
|
|
|
2014-12-12 16:58:21 +00:00
|
|
|
src = fetchurl {
|
2023-12-18 02:10:46 +00:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/gworkspace-${finalAttrs.version}.tar.gz";
|
2022-02-11 18:36:48 +00:00
|
|
|
sha256 = "sha256-M7dV7RVatw8gdYHQlRi5wNBd6MGT9GqW04R/DoKNu6I=";
|
2014-12-12 16:58:21 +00:00
|
|
|
};
|
2023-12-18 02:10:46 +00:00
|
|
|
|
2014-12-12 16:58:21 +00:00
|
|
|
# additional dependencies:
|
|
|
|
# - PDFKit framework from http://gap.nongnu.org/
|
2014-12-12 17:10:32 +00:00
|
|
|
# - TODO: to --enable-gwmetadata, need libDBKit as well as sqlite!
|
2023-12-18 02:10:46 +00:00
|
|
|
nativeBuildInputs = [ make wrapGNUstepAppsHook ];
|
2016-06-27 20:32:47 +00:00
|
|
|
buildInputs = [ back base gui system_preferences ];
|
2014-12-12 17:10:32 +00:00
|
|
|
configureFlags = [ "--with-inotify" ];
|
2023-12-18 02:10:46 +00:00
|
|
|
|
2014-12-12 16:58:21 +00:00
|
|
|
meta = {
|
2016-07-11 20:00:49 +00:00
|
|
|
description = "Workspace manager for GNUstep";
|
2023-12-18 02:10:46 +00:00
|
|
|
homepage = "https://gnustep.github.io/";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
mainProgram = "GWorkspace";
|
|
|
|
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-12-12 16:58:21 +00:00
|
|
|
};
|
2023-12-18 02:10:46 +00:00
|
|
|
})
|