2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, make
|
|
|
|
, wrapGNUstepAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, cairo
|
2021-07-14 22:03:04 +00:00
|
|
|
, fetchzip
|
2024-04-21 15:54:59 +00:00
|
|
|
, base
|
|
|
|
, gui
|
2022-12-17 10:02:37 +00:00
|
|
|
, fontconfig
|
2020-04-24 23:36:52 +00:00
|
|
|
, freetype
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2022-12-17 10:02:37 +00:00
|
|
|
, libXft
|
2020-04-24 23:36:52 +00:00
|
|
|
, libXmu
|
|
|
|
}:
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-07-14 22:03:04 +00:00
|
|
|
pname = "gnustep-back";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.31.0";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
2024-04-21 15:54:59 +00:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${finalAttrs.version}.tar.gz";
|
2024-07-27 06:49:29 +00:00
|
|
|
sha256 = "sha256-CjcoXlKiPVPJMOdrBKjxiNauTZvLcId5Lb8DzbgBbBg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [ make pkg-config wrapGNUstepAppsHook ];
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = [ cairo base gui fontconfig freetype libXft libXmu ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Generic backend for GNUstep";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gpbs";
|
|
|
|
homepage = "https://gnustep.github.io/";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
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
|
|
|
})
|