about summary refs log tree commit diff
path: root/pkgs/desktops/gnustep/back/default.nix
blob: e4ec5d03010acd466b6dbbb81bacc46b1d5bef8d (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
, make
, wrapGNUstepAppsHook
, cairo
, fetchzip
, base
, gui
, fontconfig
, freetype
, pkg-config
, libXft
, libXmu
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "gnustep-back";
  version = "0.31.0";

  src = fetchzip {
    url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${finalAttrs.version}.tar.gz";
    sha256 = "sha256-CjcoXlKiPVPJMOdrBKjxiNauTZvLcId5Lb8DzbgBbBg=";
  };

  nativeBuildInputs = [ make pkg-config wrapGNUstepAppsHook ];
  buildInputs = [ cairo base gui fontconfig freetype libXft libXmu ];

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