2020-04-24 23:36:52 +00:00
|
|
|
{ aspell, audiofile
|
|
|
|
, gsmakeDerivation
|
|
|
|
, cups
|
2021-03-09 03:18:52 +00:00
|
|
|
, fetchurl, 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
|
|
|
|
}:
|
|
|
|
let
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "1.27.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
gsmakeDerivation {
|
|
|
|
name = "gnustep-base-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "10xjrv5d443wzll6lf9y65p6v9kvx7xxklhsm1j05y93vwgzl0w8";
|
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
|
|
|
|
(fetchpatch { # for icu68 compatibility, remove with next update(?)
|
|
|
|
url = "https://github.com/gnustep/libs-base/commit/06fa7792a51cb970e5d010a393cb88eb127830d7.patch";
|
|
|
|
sha256 = "150n1sa34av9ywc04j36jvj7ic9x6pgr123rbn2mx5fj76q23852";
|
|
|
|
})
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
|
|
|
|
};
|
|
|
|
}
|