gtksourceview: remove with lib over entire file

This commit is contained in:
Sandro Jäckel 2023-02-14 23:34:35 +01:00
parent 34f3085148
commit 56a285e2b7
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -4,8 +4,6 @@
, testers
}:
with lib;
stdenv.mkDerivation (finalAttrs: {
pname = "gtksourceview";
version = "2.10.5";
@ -17,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e";
};
patches = optionals stdenv.isDarwin [
patches = lib.optionals stdenv.isDarwin [
(fetchpatch {
name = "change-igemacintegration-to-gtkosxapplication.patch";
url = "https://gitlab.gnome.org/GNOME/gtksourceview/commit/e88357c5f210a8796104505c090fb6a04c213902.patch";
@ -35,11 +33,11 @@ stdenv.mkDerivation (finalAttrs: {
atk cairo glib gtk2
pango libxml2Python perl
gettext
] ++ optionals stdenv.isDarwin [
] ++ lib.optionals stdenv.isDarwin [
gnome-common gtk-mac-integration-gtk2
];
preConfigure = optionalString stdenv.isDarwin ''
preConfigure = lib.optionalString stdenv.isDarwin ''
intltoolize --force
'';