2023-12-18 02:10:46 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, make
|
|
|
|
, wrapGNUstepAppsHook
|
2014-12-01 10:56:13 +00:00
|
|
|
, cairo
|
2021-05-07 17:12:10 +00:00
|
|
|
, fetchzip
|
2023-12-18 02:10:46 +00:00
|
|
|
, base
|
|
|
|
, gui
|
2022-12-03 20:20:54 +00:00
|
|
|
, fontconfig
|
2014-12-01 10:56:13 +00:00
|
|
|
, freetype
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2022-12-03 20:20:54 +00:00
|
|
|
, libXft
|
2017-03-30 17:36:02 +00:00
|
|
|
, libXmu
|
2014-12-01 10:56:13 +00:00
|
|
|
}:
|
2021-05-07 17:12:10 +00:00
|
|
|
|
2023-12-18 02:10:46 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-05-07 17:12:10 +00:00
|
|
|
pname = "gnustep-back";
|
2023-10-30 03:38:26 +00:00
|
|
|
version = "0.30.0";
|
2021-05-07 17:12:10 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
2023-12-18 02:10:46 +00:00
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${finalAttrs.version}.tar.gz";
|
2023-10-30 03:38:26 +00:00
|
|
|
sha256 = "sha256-HD4PLdkE573nPWqFwffUmcHw8VYIl5rLiPKWrbnwpCI=";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2021-05-07 17:12:10 +00:00
|
|
|
|
2023-12-18 02:10:46 +00:00
|
|
|
nativeBuildInputs = [ make pkg-config wrapGNUstepAppsHook ];
|
2022-12-03 20:20:54 +00:00
|
|
|
buildInputs = [ cairo base gui fontconfig freetype libXft libXmu ];
|
2023-12-18 02:10:46 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
meta = {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Generic backend for GNUstep";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gpbs";
|
2023-12-18 02:10:46 +00:00
|
|
|
homepage = "https://gnustep.github.io/";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2023-12-18 02:10:46 +00:00
|
|
|
})
|