nixpkgs/pkgs/desktops/gnustep/base/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.3 KiB
Nix
Raw Normal View History

{ aspell, audiofile
, gsmakeDerivation
, cups
, fetchzip
2022-01-03 18:25:55 +00:00
, fetchpatch
, gmp, gnutls
, libffi, binutils-unwrapped
, libjpeg, libtiff, libpng, giflib
, libxml2, libxslt, libiconv
2016-07-15 18:04:41 +00:00
, libobjc, libgcrypt
, icu
2021-01-17 02:21:50 +00:00
, pkg-config, portaudio
, libiberty
}:
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";
};
2021-01-17 02:21:50 +00:00
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [
aspell audiofile
cups
gmp gnutls
libffi binutils-unwrapped
libjpeg libtiff libpng giflib
libxml2 libxslt libiconv
2016-07-15 18:04:41 +00:00
libobjc libgcrypt
icu
portaudio
libiberty
];
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
];
meta = {
description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
changelog = "https://github.com/gnustep/libs-base/releases/tag/base-${builtins.replaceStrings [ "." ] [ "_" ] version}";
};
}