2014-12-01 10:56:13 +00:00
|
|
|
{ aspell, audiofile
|
2015-01-25 16:34:52 +00:00
|
|
|
, gsmakeDerivation
|
|
|
|
, cups
|
2021-05-07 17:02:37 +00:00
|
|
|
, fetchzip
|
2022-01-03 18:25:55 +00:00
|
|
|
, fetchpatch
|
2014-12-08 16:25:47 +00:00
|
|
|
, gmp, gnutls
|
2020-02-03 17:42:42 +00:00
|
|
|
, libffi, binutils-unwrapped
|
2021-02-12 21:15:48 +00:00
|
|
|
, libjpeg, libtiff, libpng, giflib
|
2014-12-01 10:56:13 +00:00
|
|
|
, libxml2, libxslt, libiconv
|
2016-07-15 18:04:41 +00:00
|
|
|
, libobjc, libgcrypt
|
2014-12-01 10:56:13 +00:00
|
|
|
, icu
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config, portaudio
|
2020-01-08 20:05:57 +00:00
|
|
|
, libiberty
|
2014-12-01 10:56:13 +00:00
|
|
|
}:
|
2021-05-07 17:02:37 +00:00
|
|
|
gsmakeDerivation rec {
|
|
|
|
pname = "gnustep-base";
|
|
|
|
version = "1.28.0";
|
|
|
|
src = fetchzip {
|
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "05vjz19v1w7yb7hm8qrc41bqh6xd8in7sgg2p0h1vldyyaa5sh90";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
2021-01-17 02:21:50 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-12-01 10:56:13 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aspell audiofile
|
|
|
|
cups
|
|
|
|
gmp gnutls
|
2020-02-03 17:42:42 +00:00
|
|
|
libffi binutils-unwrapped
|
2022-06-01 02:24:15 +00:00
|
|
|
libjpeg libtiff libpng giflib
|
2014-12-01 10:56:13 +00:00
|
|
|
libxml2 libxslt libiconv
|
2016-07-15 18:04:41 +00:00
|
|
|
libobjc libgcrypt
|
2014-12-01 10:56:13 +00:00
|
|
|
icu
|
|
|
|
portaudio
|
2020-01-08 20:05:57 +00:00
|
|
|
libiberty
|
2014-12-01 10:56:13 +00:00
|
|
|
];
|
2021-02-28 14:44:58 +00:00
|
|
|
patches = [
|
|
|
|
./fixup-paths.patch
|
2022-01-03 18:25:55 +00:00
|
|
|
# https://github.com/gnustep/libs-base/issues/212 / https://www.sogo.nu/bugs/view.php?id=5416#c15585
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/gnustep/libs-base/commit/bd5f2909e6edc8012a0a6e44ea1402dfbe1353a4.patch";
|
|
|
|
revert = true;
|
|
|
|
sha256 = "02awigkbhqa60hfhqfh2wjsa960y3q6557qck1k2l231piz2xasa";
|
|
|
|
})
|
2021-02-28 14:44:58 +00:00
|
|
|
];
|
2020-01-08 20:05:57 +00:00
|
|
|
|
2014-12-01 10:56:13 +00:00
|
|
|
meta = {
|
2016-07-11 20:00:49 +00:00
|
|
|
description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
|
2021-05-07 17:02:37 +00:00
|
|
|
changelog = "https://github.com/gnustep/libs-base/releases/tag/base-${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
2014-12-01 10:56:13 +00:00
|
|
|
};
|
|
|
|
}
|