2020-04-24 23:36:52 +00:00
|
|
|
{ aspell, audiofile
|
|
|
|
, gsmakeDerivation
|
|
|
|
, cups
|
2021-07-14 22:03:04 +00:00
|
|
|
, fetchzip
|
2022-01-07 04:07:37 +00:00
|
|
|
, fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, gmp, gnutls
|
|
|
|
, libffi, binutils-unwrapped
|
2021-05-20 23:08:51 +00:00
|
|
|
, libjpeg, libtiff, libpng, giflib
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxml2, libxslt, libiconv
|
|
|
|
, libobjc, libgcrypt
|
|
|
|
, icu
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config, portaudio
|
2020-04-24 23:36:52 +00:00
|
|
|
, libiberty
|
|
|
|
}:
|
2021-07-14 22:03:04 +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";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aspell audiofile
|
|
|
|
cups
|
|
|
|
gmp gnutls
|
|
|
|
libffi binutils-unwrapped
|
2021-05-20 23:08:51 +00:00
|
|
|
libjpeg libtiff libpng giflib giflib
|
2020-04-24 23:36:52 +00:00
|
|
|
libxml2 libxslt libiconv
|
|
|
|
libobjc libgcrypt
|
|
|
|
icu
|
|
|
|
portaudio
|
|
|
|
libiberty
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
patches = [
|
|
|
|
./fixup-paths.patch
|
2022-01-07 04:07:37 +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-03-09 03:18:52 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
|
2021-07-14 22:03:04 +00:00
|
|
|
changelog = "https://github.com/gnustep/libs-base/releases/tag/base-${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|