about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/gnustep/gworkspace/default.nix
blob: d2343dfb0113b6cdb8253b6d23b892e54748df6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, stdenv
, back
, base
, gui
, make
, wrapGNUstepAppsHook
, fetchurl
, system_preferences
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "gworkspace";
  version = "1.0.0";

  src = fetchurl {
    url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/gworkspace-${finalAttrs.version}.tar.gz";
    sha256 = "sha256-M7dV7RVatw8gdYHQlRi5wNBd6MGT9GqW04R/DoKNu6I=";
  };

  # additional dependencies:
  # - PDFKit framework from http://gap.nongnu.org/
  # - TODO: to --enable-gwmetadata, need libDBKit as well as sqlite!
  nativeBuildInputs = [ make wrapGNUstepAppsHook ];
  buildInputs = [ back base gui system_preferences ];
  configureFlags = [ "--with-inotify" ];

  meta = {
    description = "A workspace manager for GNUstep";
    homepage = "https://gnustep.github.io/";
    license = lib.licenses.lgpl2Plus;
    mainProgram = "GWorkspace";
    maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
    platforms = lib.platforms.linux;
  };
})