gnustep: move GNUstep packages to by-name

It used newScope before which doesn't work well if at all with overlays.

+220 -203
+54
pkgs/by-name/gn/gnustep-back/package.nix
···
··· 1 + { 2 + lib, 3 + clangStdenv, 4 + fetchzip, 5 + cairo, 6 + fontconfig, 7 + freetype, 8 + gnustep-base, 9 + gnustep-gui, 10 + gnustep-make, 11 + libXft, 12 + libXmu, 13 + pkg-config, 14 + wrapGNUstepAppsHook, 15 + }: 16 + 17 + clangStdenv.mkDerivation (finalAttrs: { 18 + pname = "gnustep-back"; 19 + version = "0.31.0"; 20 + 21 + src = fetchzip { 22 + url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${finalAttrs.version}.tar.gz"; 23 + sha256 = "sha256-CjcoXlKiPVPJMOdrBKjxiNauTZvLcId5Lb8DzbgBbBg="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + gnustep-make 28 + pkg-config 29 + wrapGNUstepAppsHook 30 + ]; 31 + 32 + buildInputs = [ 33 + cairo 34 + fontconfig 35 + freetype 36 + gnustep-base 37 + gnustep-gui 38 + libXft 39 + libXmu 40 + ]; 41 + 42 + meta = { 43 + description = "Generic backend for GNUstep"; 44 + mainProgram = "gpbs"; 45 + homepage = "https://gnustep.github.io/"; 46 + license = lib.licenses.lgpl2Plus; 47 + maintainers = with lib.maintainers; [ 48 + ashalkhakov 49 + dblsaiko 50 + matthewbauer 51 + ]; 52 + platforms = lib.platforms.linux; 53 + }; 54 + })
+8 -6
pkgs/by-name/ow/owl-compositor/package.nix
··· 1 { lib 2 , clangStdenv 3 , fetchFromGitHub 4 - , gnustep 5 , libxkbcommon 6 , makeWrapper 7 , wayland ··· 41 darwin.DarwinTools 42 darwin.bootstrap_cmds 43 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 44 - gnustep.make 45 - gnustep.wrapGNUstepAppsHook 46 ]; 47 48 buildInputs = [ ··· 51 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 52 darwin.apple_sdk.frameworks.Cocoa 53 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 54 - gnustep.back 55 - gnustep.base 56 - gnustep.gui 57 ]; 58 59 preConfigure = ''
··· 1 { lib 2 , clangStdenv 3 , fetchFromGitHub 4 + , gnustep-make 5 + , gnustep-base 6 + , gnustep-gui 7 + , wrapGNUstepAppsHook 8 , libxkbcommon 9 , makeWrapper 10 , wayland ··· 44 darwin.DarwinTools 45 darwin.bootstrap_cmds 46 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 47 + gnustep-make 48 + wrapGNUstepAppsHook 49 ]; 50 51 buildInputs = [ ··· 54 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 55 darwin.apple_sdk.frameworks.Cocoa 56 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 57 + gnustep-base 58 + gnustep-gui 59 ]; 60 61 preConfigure = ''
+8 -6
pkgs/by-name/pi/pikopixel/package.nix
··· 1 { lib 2 , clangStdenv 3 , fetchurl 4 - , gnustep 5 }: 6 7 clangStdenv.mkDerivation rec { ··· 16 sourceRoot = "PikoPixel.Sources.${version}/PikoPixel"; 17 18 nativeBuildInputs = [ 19 - gnustep.make 20 - gnustep.wrapGNUstepAppsHook 21 ]; 22 23 buildInputs = [ 24 - gnustep.base 25 - gnustep.gui 26 - gnustep.back 27 ]; 28 29 # Fix the Exec and Icon paths in the .desktop file, and save the file in the
··· 1 { lib 2 , clangStdenv 3 , fetchurl 4 + , gnustep-make 5 + , gnustep-base 6 + , gnustep-gui 7 + , wrapGNUstepAppsHook 8 }: 9 10 clangStdenv.mkDerivation rec { ··· 19 sourceRoot = "PikoPixel.Sources.${version}/PikoPixel"; 20 21 nativeBuildInputs = [ 22 + gnustep-make 23 + wrapGNUstepAppsHook 24 ]; 25 26 buildInputs = [ 27 + gnustep-base 28 + gnustep-gui 29 ]; 30 31 # Fix the Exec and Icon paths in the .desktop file, and save the file in the
+11 -9
pkgs/by-name/so/sogo/package.nix
··· 1 - { gnustep, lib, fetchFromGitHub, makeWrapper, python3, lndir, libxcrypt 2 , openssl, openldap, sope, libmemcached, curl, libsodium, libytnef, libzip, pkg-config, nixosTests 3 , oath-toolkit 4 , enableActiveSync ? false 5 , libwbxml }: 6 - gnustep.stdenv.mkDerivation rec { 7 pname = "sogo"; 8 version = "5.11.2"; 9 ··· 15 hash = "sha256-c+547x7ugYoLMgGVLcMmmb9rzquRJOv8n+Js2CuE7I0="; 16 }; 17 18 - nativeBuildInputs = [ gnustep.make makeWrapper python3 pkg-config ]; 19 - buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip openldap oath-toolkit libxcrypt ] 20 ++ lib.optional enableActiveSync libwbxml; 21 22 patches = lib.optional enableActiveSync ./enable-activesync.patch; ··· 33 34 # Move all GNUStep makefiles to a common directory 35 mkdir -p makefiles 36 - cp -r {${gnustep.make},${sope}}/share/GNUstep/Makefiles/* makefiles 37 38 # Modify the search path for GNUStep makefiles 39 find . -type f -name GNUmakefile -exec sed -i "s:\\$.GNUSTEP_MAKEFILES.:$PWD/makefiles:g" {} + ··· 50 preFixup = '' 51 # Create gnustep.conf 52 mkdir -p $out/share/GNUstep 53 - cp ${gnustep.make}/etc/GNUstep/GNUstep.conf $out/share/GNUstep/ 54 - sed -i "s:${gnustep.make}:$out:g" $out/share/GNUstep/GNUstep.conf 55 56 # Link in GNUstep base 57 - ${lndir}/bin/lndir ${lib.getLib gnustep.base}/lib/GNUstep/ $out/lib/GNUstep/ 58 59 # Link in sope 60 ${lndir}/bin/lndir ${sope}/ $out/ ··· 80 maintainers = with maintainers; [ jceb ]; 81 }; 82 } 83 -
··· 1 + { lib, clangStdenv, fetchFromGitHub, fetchpatch, makeWrapper, python3, lndir, libxcrypt 2 , openssl, openldap, sope, libmemcached, curl, libsodium, libytnef, libzip, pkg-config, nixosTests 3 , oath-toolkit 4 + , gnustep-make 5 + , gnustep-base 6 , enableActiveSync ? false 7 , libwbxml }: 8 + 9 + clangStdenv.mkDerivation rec { 10 pname = "sogo"; 11 version = "5.11.2"; 12 ··· 18 hash = "sha256-c+547x7ugYoLMgGVLcMmmb9rzquRJOv8n+Js2CuE7I0="; 19 }; 20 21 + nativeBuildInputs = [ gnustep-make makeWrapper python3 pkg-config ]; 22 + buildInputs = [ gnustep-base sope openssl libmemcached curl libsodium libytnef libzip openldap oath-toolkit libxcrypt ] 23 ++ lib.optional enableActiveSync libwbxml; 24 25 patches = lib.optional enableActiveSync ./enable-activesync.patch; ··· 36 37 # Move all GNUStep makefiles to a common directory 38 mkdir -p makefiles 39 + cp -r {${gnustep-make},${sope}}/share/GNUstep/Makefiles/* makefiles 40 41 # Modify the search path for GNUStep makefiles 42 find . -type f -name GNUmakefile -exec sed -i "s:\\$.GNUSTEP_MAKEFILES.:$PWD/makefiles:g" {} + ··· 53 preFixup = '' 54 # Create gnustep.conf 55 mkdir -p $out/share/GNUstep 56 + cp ${gnustep-make}/etc/GNUstep/GNUstep.conf $out/share/GNUstep/ 57 + sed -i "s:${gnustep-make}:$out:g" $out/share/GNUstep/GNUstep.conf 58 59 # Link in GNUstep base 60 + ${lndir}/bin/lndir ${lib.getLib gnustep-base}/lib/GNUstep/ $out/lib/GNUstep/ 61 62 # Link in sope 63 ${lndir}/bin/lndir ${sope}/ $out/ ··· 83 maintainers = with maintainers; [ jceb ]; 84 }; 85 }
+9 -6
pkgs/by-name/so/sope/package.nix
··· 1 - { gnustep, lib, fetchFromGitHub, fetchpatch, libxml2, openssl 2 - , openldap, mariadb, libmysqlclient, postgresql }: 3 4 - gnustep.stdenv.mkDerivation rec { 5 pname = "sope"; 6 version = "5.11.2"; 7 ··· 12 hash = "sha256-6vec2ZgpK5jcKr3c2SLn6fLAun56MDjupWtR6dMdjag="; 13 }; 14 15 - nativeBuildInputs = [ gnustep.make ]; 16 - buildInputs = [ gnustep.base libxml2 openssl ] 17 ++ lib.optional (openldap != null) openldap 18 ++ lib.optionals (mariadb != null) [ libmysqlclient mariadb ] 19 ++ lib.optional (postgresql != null) postgresql; ··· 24 # installed to in the install phase. We move them over after the installation. 25 preConfigure = '' 26 mkdir -p /build/Makefiles 27 - ln -s ${gnustep.make}/share/GNUstep/Makefiles/* /build/Makefiles 28 cat <<EOF > /build/GNUstep.conf 29 GNUSTEP_MAKEFILES=/build/Makefiles 30 EOF
··· 1 + { lib, clangStdenv, fetchFromGitHub, fetchpatch, libxml2, openssl 2 + , openldap, mariadb, libmysqlclient, postgresql 3 + , gnustep-make 4 + , gnustep-base 5 + }: 6 7 + clangStdenv.mkDerivation rec { 8 pname = "sope"; 9 version = "5.11.2"; 10 ··· 15 hash = "sha256-6vec2ZgpK5jcKr3c2SLn6fLAun56MDjupWtR6dMdjag="; 16 }; 17 18 + nativeBuildInputs = [ gnustep-make ]; 19 + buildInputs = [ gnustep-base libxml2 openssl ] 20 ++ lib.optional (openldap != null) openldap 21 ++ lib.optionals (mariadb != null) [ libmysqlclient mariadb ] 22 ++ lib.optional (postgresql != null) postgresql; ··· 27 # installed to in the install phase. We move them over after the installation. 28 preConfigure = '' 29 mkdir -p /build/Makefiles 30 + ln -s ${gnustep-make}/share/GNUstep/Makefiles/* /build/Makefiles 31 cat <<EOF > /build/GNUstep.conf 32 GNUSTEP_MAKEFILES=/build/Makefiles 33 EOF
+9
pkgs/by-name/wr/wrapGNUstepAppsHook/package.nix
···
··· 1 + { 2 + makeBinaryWrapper, 3 + makeSetupHook, 4 + }: 5 + 6 + makeSetupHook { 7 + name = "wrapGNUstepAppsHook"; 8 + propagatedBuildInputs = [ makeBinaryWrapper ]; 9 + } ./wrapGNUstepAppsHook.sh
-36
pkgs/desktops/gnustep/back/default.nix
··· 1 - { lib 2 - , stdenv 3 - , make 4 - , wrapGNUstepAppsHook 5 - , cairo 6 - , fetchzip 7 - , base 8 - , gui 9 - , fontconfig 10 - , freetype 11 - , pkg-config 12 - , libXft 13 - , libXmu 14 - }: 15 - 16 - stdenv.mkDerivation (finalAttrs: { 17 - pname = "gnustep-back"; 18 - version = "0.31.0"; 19 - 20 - src = fetchzip { 21 - url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${finalAttrs.version}.tar.gz"; 22 - sha256 = "sha256-CjcoXlKiPVPJMOdrBKjxiNauTZvLcId5Lb8DzbgBbBg="; 23 - }; 24 - 25 - nativeBuildInputs = [ make pkg-config wrapGNUstepAppsHook ]; 26 - buildInputs = [ cairo base gui fontconfig freetype libXft libXmu ]; 27 - 28 - meta = { 29 - description = "Generic backend for GNUstep"; 30 - mainProgram = "gpbs"; 31 - homepage = "https://gnustep.github.io/"; 32 - license = lib.licenses.lgpl2Plus; 33 - maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ]; 34 - platforms = lib.platforms.linux; 35 - }; 36 - })
···
+29 -24
pkgs/desktops/gnustep/base/default.nix pkgs/by-name/gn/gnustep-base/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 aspell, 5 audiofile, 6 - make, 7 - wrapGNUstepAppsHook, 8 cups, 9 - fetchzip, 10 - fetchpatch, 11 gmp, 12 gnutls, 13 libffi, 14 - binutils-unwrapped, 15 libjpeg, 16 libtiff, 17 - libpng, 18 - giflib, 19 libxml2, 20 libxslt, 21 - libiconv, 22 - libobjc, 23 - libgcrypt, 24 - icu, 25 pkg-config, 26 portaudio, 27 - libiberty, 28 }: 29 30 - stdenv.mkDerivation (finalAttrs: { 31 pname = "gnustep-base"; 32 version = "1.29.0"; 33 src = fetchzip { 34 url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${finalAttrs.version}.tar.gz"; 35 hash = "sha256-4fjdsLBsYEDxLOFrq17dKii2sLKvOaFCu0cw3qQtM5U="; 36 }; 37 outputs = [ 38 "out" 39 "dev" 40 "lib" 41 ]; 42 nativeBuildInputs = [ 43 pkg-config 44 - make 45 wrapGNUstepAppsHook 46 ]; 47 propagatedBuildInputs = [ 48 aspell 49 audiofile 50 cups 51 gmp 52 gnutls 53 libffi 54 - binutils-unwrapped 55 libjpeg 56 - libtiff 57 libpng 58 - giflib 59 libxml2 60 libxslt 61 - libiconv 62 - libobjc 63 - libgcrypt 64 - icu 65 portaudio 66 - libiberty 67 ]; 68 patches = [ 69 ./fixup-paths.patch 70 # https://github.com/gnustep/libs-base/issues/212 / https://www.sogo.nu/bugs/view.php?id=5416#c15585 ··· 95 license = lib.licenses.lgpl2Plus; 96 maintainers = with lib.maintainers; [ 97 ashalkhakov 98 - matthewbauer 99 dblsaiko 100 ]; 101 platforms = lib.platforms.linux; 102 };
··· 1 { 2 lib, 3 + clangStdenv, 4 + fetchpatch, 5 + fetchzip, 6 aspell, 7 audiofile, 8 + binutils-unwrapped, 9 cups, 10 + giflib, 11 gmp, 12 + gnustep-libobjc, 13 + gnustep-make, 14 gnutls, 15 + icu, 16 libffi, 17 + libgcrypt, 18 + libiberty, 19 + libiconv, 20 libjpeg, 21 + libpng, 22 libtiff, 23 libxml2, 24 libxslt, 25 pkg-config, 26 portaudio, 27 + wrapGNUstepAppsHook, 28 }: 29 30 + clangStdenv.mkDerivation (finalAttrs: { 31 pname = "gnustep-base"; 32 version = "1.29.0"; 33 + 34 src = fetchzip { 35 url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${finalAttrs.version}.tar.gz"; 36 hash = "sha256-4fjdsLBsYEDxLOFrq17dKii2sLKvOaFCu0cw3qQtM5U="; 37 }; 38 + 39 outputs = [ 40 "out" 41 "dev" 42 "lib" 43 ]; 44 + 45 nativeBuildInputs = [ 46 + gnustep-make 47 pkg-config 48 wrapGNUstepAppsHook 49 ]; 50 + 51 propagatedBuildInputs = [ 52 aspell 53 audiofile 54 + binutils-unwrapped 55 cups 56 + giflib 57 gmp 58 + gnustep-libobjc 59 gnutls 60 + icu 61 libffi 62 + libgcrypt 63 + libiberty 64 + libiconv 65 libjpeg 66 libpng 67 + libtiff 68 libxml2 69 libxslt 70 portaudio 71 ]; 72 + 73 patches = [ 74 ./fixup-paths.patch 75 # https://github.com/gnustep/libs-base/issues/212 / https://www.sogo.nu/bugs/view.php?id=5416#c15585 ··· 100 license = lib.licenses.lgpl2Plus; 101 maintainers = with lib.maintainers; [ 102 ashalkhakov 103 dblsaiko 104 + matthewbauer 105 ]; 106 platforms = lib.platforms.linux; 107 };
pkgs/desktops/gnustep/base/fixup-paths.patch pkgs/by-name/gn/gnustep-base/fixup-paths.patch
-26
pkgs/desktops/gnustep/default.nix
··· 1 - { newScope 2 - , llvmPackages 3 - }: 4 - 5 - let 6 - callPackage = newScope self; 7 - 8 - self = { 9 - stdenv = llvmPackages.stdenv; 10 - 11 - wrapGNUstepAppsHook = callPackage ./wrapGNUstepAppsHook.nix {}; 12 - 13 - make = callPackage ./make {}; 14 - 15 - libobjc = callPackage ./libobjc2 {}; 16 - base = callPackage ./base {}; 17 - back = callPackage ./back {}; 18 - gui = callPackage ./gui {}; 19 - 20 - gorm = callPackage ./gorm {}; 21 - projectcenter = callPackage ./projectcenter {}; 22 - system_preferences = callPackage ./systempreferences {}; 23 - gworkspace = callPackage ./gworkspace {}; 24 - }; 25 - 26 - in self
···
+12 -11
pkgs/desktops/gnustep/gorm/default.nix pkgs/by-name/go/gorm/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchzip, 5 - base, 6 - back, 7 - make, 8 wrapGNUstepAppsHook, 9 - gui, 10 }: 11 12 - stdenv.mkDerivation (finalAttrs: { 13 pname = "gorm"; 14 version = "1.4.0"; 15 ··· 19 }; 20 21 nativeBuildInputs = [ 22 - make 23 wrapGNUstepAppsHook 24 ]; 25 buildInputs = [ 26 - base 27 - back 28 - gui 29 ]; 30 31 meta = { ··· 35 mainProgram = "Gorm"; 36 maintainers = with lib.maintainers; [ 37 ashalkhakov 38 - matthewbauer 39 dblsaiko 40 ]; 41 platforms = lib.platforms.linux; 42 };
··· 1 { 2 lib, 3 + clangStdenv, 4 fetchzip, 5 + gnustep-back, 6 + gnustep-base, 7 + gnustep-gui, 8 + gnustep-make, 9 wrapGNUstepAppsHook, 10 }: 11 12 + clangStdenv.mkDerivation (finalAttrs: { 13 pname = "gorm"; 14 version = "1.4.0"; 15 ··· 19 }; 20 21 nativeBuildInputs = [ 22 + gnustep-make 23 wrapGNUstepAppsHook 24 ]; 25 + 26 buildInputs = [ 27 + gnustep-back 28 + gnustep-base 29 + gnustep-gui 30 ]; 31 32 meta = { ··· 36 mainProgram = "Gorm"; 37 maintainers = with lib.maintainers; [ 38 ashalkhakov 39 dblsaiko 40 + matthewbauer 41 ]; 42 platforms = lib.platforms.linux; 43 };
+10 -8
pkgs/desktops/gnustep/gui/default.nix pkgs/by-name/gn/gnustep-gui/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 - make, 5 wrapGNUstepAppsHook, 6 - fetchzip, 7 - base, 8 }: 9 10 - stdenv.mkDerivation (finalAttrs: { 11 version = "0.31.1"; 12 pname = "gnustep-gui"; 13 ··· 17 }; 18 19 nativeBuildInputs = [ 20 - make 21 wrapGNUstepAppsHook 22 ]; 23 - buildInputs = [ base ]; 24 25 patches = [ 26 ./fixup-all.patch 27 ]; 28 meta = { 29 changelog = "https://github.com/gnustep/libs-gui/releases/tag/gui-${ 30 builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version ··· 34 license = lib.licenses.lgpl2Plus; 35 maintainers = with lib.maintainers; [ 36 ashalkhakov 37 - matthewbauer 38 dblsaiko 39 ]; 40 platforms = lib.platforms.linux; 41 };
··· 1 { 2 lib, 3 + clangStdenv, 4 + fetchzip, 5 + gnustep-base, 6 + gnustep-make, 7 wrapGNUstepAppsHook, 8 }: 9 10 + clangStdenv.mkDerivation (finalAttrs: { 11 version = "0.31.1"; 12 pname = "gnustep-gui"; 13 ··· 17 }; 18 19 nativeBuildInputs = [ 20 + gnustep-make 21 wrapGNUstepAppsHook 22 ]; 23 + 24 + buildInputs = [ gnustep-base ]; 25 26 patches = [ 27 ./fixup-all.patch 28 ]; 29 + 30 meta = { 31 changelog = "https://github.com/gnustep/libs-gui/releases/tag/gui-${ 32 builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version ··· 36 license = lib.licenses.lgpl2Plus; 37 maintainers = with lib.maintainers; [ 38 ashalkhakov 39 dblsaiko 40 + matthewbauer 41 ]; 42 platforms = lib.platforms.linux; 43 };
pkgs/desktops/gnustep/gui/fixup-all.patch pkgs/by-name/gn/gnustep-gui/fixup-all.patch
+16 -14
pkgs/desktops/gnustep/gworkspace/default.nix pkgs/by-name/gw/gworkspace/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 - back, 5 - base, 6 - gui, 7 - make, 8 wrapGNUstepAppsHook, 9 - fetchurl, 10 - system_preferences, 11 }: 12 13 - stdenv.mkDerivation (finalAttrs: { 14 pname = "gworkspace"; 15 version = "1.0.0"; 16 ··· 23 # - PDFKit framework from http://gap.nongnu.org/ 24 # - TODO: to --enable-gwmetadata, need libDBKit as well as sqlite! 25 nativeBuildInputs = [ 26 - make 27 wrapGNUstepAppsHook 28 ]; 29 buildInputs = [ 30 - back 31 - base 32 - gui 33 - system_preferences 34 ]; 35 configureFlags = [ "--with-inotify" ]; 36 37 meta = { ··· 41 mainProgram = "GWorkspace"; 42 maintainers = with lib.maintainers; [ 43 ashalkhakov 44 - matthewbauer 45 dblsaiko 46 ]; 47 platforms = lib.platforms.linux; 48 };
··· 1 { 2 lib, 3 + clangStdenv, 4 + fetchurl, 5 + gnustep-back, 6 + gnustep-base, 7 + gnustep-gui, 8 + gnustep-make, 9 + gnustep-systempreferences, 10 wrapGNUstepAppsHook, 11 }: 12 13 + clangStdenv.mkDerivation (finalAttrs: { 14 pname = "gworkspace"; 15 version = "1.0.0"; 16 ··· 23 # - PDFKit framework from http://gap.nongnu.org/ 24 # - TODO: to --enable-gwmetadata, need libDBKit as well as sqlite! 25 nativeBuildInputs = [ 26 + gnustep-make 27 wrapGNUstepAppsHook 28 ]; 29 + 30 buildInputs = [ 31 + gnustep-back 32 + gnustep-base 33 + gnustep-gui 34 + gnustep-systempreferences 35 ]; 36 + 37 configureFlags = [ "--with-inotify" ]; 38 39 meta = { ··· 43 mainProgram = "GWorkspace"; 44 maintainers = with lib.maintainers; [ 45 ashalkhakov 46 dblsaiko 47 + matthewbauer 48 ]; 49 platforms = lib.platforms.linux; 50 };
+5 -5
pkgs/desktops/gnustep/libobjc2/default.nix pkgs/by-name/gn/gnustep-libobjc/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchFromGitHub, 5 cmake, 6 robin-map, 7 }: 8 9 - stdenv.mkDerivation (finalAttrs: { 10 - pname = "libobjc2"; 11 version = "2.2.1"; 12 13 src = fetchFromGitHub { ··· 24 cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; 25 26 meta = with lib; { 27 - broken = stdenv.hostPlatform.isDarwin; 28 description = "Objective-C runtime for use with GNUstep"; 29 homepage = "https://gnustep.github.io/"; 30 license = licenses.mit; 31 maintainers = with lib.maintainers; [ 32 ashalkhakov 33 - matthewbauer 34 dblsaiko 35 ]; 36 platforms = platforms.unix; 37 };
··· 1 { 2 lib, 3 + clangStdenv, 4 fetchFromGitHub, 5 cmake, 6 robin-map, 7 }: 8 9 + clangStdenv.mkDerivation (finalAttrs: { 10 + pname = "gnustep-libobjc"; 11 version = "2.2.1"; 12 13 src = fetchFromGitHub { ··· 24 cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; 25 26 meta = with lib; { 27 + broken = clangStdenv.hostPlatform.isDarwin; 28 description = "Objective-C runtime for use with GNUstep"; 29 homepage = "https://gnustep.github.io/"; 30 license = licenses.mit; 31 maintainers = with lib.maintainers; [ 32 ashalkhakov 33 dblsaiko 34 + matthewbauer 35 ]; 36 platforms = platforms.unix; 37 };
pkgs/desktops/gnustep/make/GNUstep.conf pkgs/by-name/gn/gnustep-make/GNUstep.conf
+9 -6
pkgs/desktops/gnustep/make/default.nix pkgs/by-name/gn/gnustep-make/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchurl, 5 which, 6 - libobjc, 7 }: 8 9 - stdenv.mkDerivation (finalAttrs: { 10 pname = "gnustep-make"; 11 version = "2.9.2"; 12 ··· 18 configureFlags = [ 19 "--with-layout=fhs-system" 20 "--disable-install-p" 21 - "--with-config-file=${placeholder "out"}/etc/GNUstep/GNUstep.conf" 22 ]; 23 24 makeFlags = [ 25 "GNUSTEP_INSTALLATION_DOMAIN=SYSTEM" 26 ]; 27 28 - buildInputs = [ libobjc ]; 29 30 propagatedBuildInputs = [ which ]; 31 ··· 41 license = lib.licenses.lgpl2Plus; 42 maintainers = with lib.maintainers; [ 43 ashalkhakov 44 - matthewbauer 45 dblsaiko 46 ]; 47 platforms = lib.platforms.unix; 48 };
··· 1 { 2 lib, 3 + clangStdenv, 4 fetchurl, 5 + gnustep-libobjc, 6 which, 7 }: 8 9 + clangStdenv.mkDerivation (finalAttrs: { 10 pname = "gnustep-make"; 11 version = "2.9.2"; 12 ··· 18 configureFlags = [ 19 "--with-layout=fhs-system" 20 "--disable-install-p" 21 ]; 22 23 + preConfigure = '' 24 + configureFlags="$configureFlags --with-config-file=$out/etc/GNUstep/GNUstep.conf" 25 + ''; 26 + 27 makeFlags = [ 28 "GNUSTEP_INSTALLATION_DOMAIN=SYSTEM" 29 ]; 30 31 + buildInputs = [ gnustep-libobjc ]; 32 33 propagatedBuildInputs = [ which ]; 34 ··· 44 license = lib.licenses.lgpl2Plus; 45 maintainers = with lib.maintainers; [ 46 ashalkhakov 47 dblsaiko 48 + matthewbauer 49 ]; 50 platforms = lib.platforms.unix; 51 };
pkgs/desktops/gnustep/make/fixup-paths.patch pkgs/by-name/gn/gnustep-make/fixup-paths.patch
pkgs/desktops/gnustep/make/setup-hook.sh pkgs/by-name/gn/gnustep-make/setup-hook.sh
+15 -15
pkgs/desktops/gnustep/projectcenter/default.nix pkgs/by-name/pr/projectcenter/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchFromGitHub, 5 - make, 6 - wrapGNUstepAppsHook, 7 - base, 8 - back, 9 - gui, 10 gorm, 11 - gnumake, 12 - gdb, 13 }: 14 15 - stdenv.mkDerivation (finalAttrs: { 16 pname = "projectcenter"; 17 version = "0.7.0"; 18 ··· 24 }; 25 26 nativeBuildInputs = [ 27 - make 28 wrapGNUstepAppsHook 29 ]; 30 ··· 32 # 1. Framework/PCProjectLauncher.m, locate gdb (say among NIX_GNUSTEP_SYSTEM_TOOLS) 33 # 2. Framework/PCProjectBuilder.m, locate gmake (similar) 34 propagatedBuildInputs = [ 35 - base 36 - back 37 - gui 38 gnumake 39 - gdb 40 gorm 41 ]; 42 ··· 47 mainProgram = "ProjectCenter"; 48 maintainers = with lib.maintainers; [ 49 ashalkhakov 50 - matthewbauer 51 dblsaiko 52 ]; 53 platforms = lib.platforms.linux; 54 };
··· 1 { 2 lib, 3 + clangStdenv, 4 fetchFromGitHub, 5 + gdb, 6 + gnumake, 7 + gnustep-back, 8 + gnustep-base, 9 + gnustep-gui, 10 + gnustep-make, 11 gorm, 12 + wrapGNUstepAppsHook, 13 }: 14 15 + clangStdenv.mkDerivation (finalAttrs: { 16 pname = "projectcenter"; 17 version = "0.7.0"; 18 ··· 24 }; 25 26 nativeBuildInputs = [ 27 + gnustep-make 28 wrapGNUstepAppsHook 29 ]; 30 ··· 32 # 1. Framework/PCProjectLauncher.m, locate gdb (say among NIX_GNUSTEP_SYSTEM_TOOLS) 33 # 2. Framework/PCProjectBuilder.m, locate gmake (similar) 34 propagatedBuildInputs = [ 35 + gdb 36 gnumake 37 + gnustep-back 38 + gnustep-base 39 + gnustep-gui 40 gorm 41 ]; 42 ··· 47 mainProgram = "ProjectCenter"; 48 maintainers = with lib.maintainers; [ 49 ashalkhakov 50 dblsaiko 51 + matthewbauer 52 ]; 53 platforms = lib.platforms.linux; 54 };
+12 -11
pkgs/desktops/gnustep/systempreferences/default.nix pkgs/by-name/gn/gnustep-systempreferences/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchurl, 5 - make, 6 wrapGNUstepAppsHook, 7 - back, 8 - base, 9 - gui, 10 }: 11 12 - stdenv.mkDerivation (finalAttrs: { 13 pname = "system-preferences"; 14 version = "1.2.0"; 15 ··· 19 }; 20 21 nativeBuildInputs = [ 22 - make 23 wrapGNUstepAppsHook 24 ]; 25 buildInputs = [ 26 - back 27 - base 28 - gui 29 ]; 30 31 meta = { ··· 35 mainProgram = "SystemPreferences"; 36 maintainers = with lib.maintainers; [ 37 ashalkhakov 38 - matthewbauer 39 dblsaiko 40 ]; 41 platforms = lib.platforms.linux; 42 };
··· 1 { 2 lib, 3 + clangStdenv, 4 fetchurl, 5 + gnustep-back, 6 + gnustep-base, 7 + gnustep-gui, 8 + gnustep-make, 9 wrapGNUstepAppsHook, 10 }: 11 12 + clangStdenv.mkDerivation (finalAttrs: { 13 pname = "system-preferences"; 14 version = "1.2.0"; 15 ··· 19 }; 20 21 nativeBuildInputs = [ 22 + gnustep-make 23 wrapGNUstepAppsHook 24 ]; 25 + 26 buildInputs = [ 27 + gnustep-back 28 + gnustep-base 29 + gnustep-gui 30 ]; 31 32 meta = { ··· 36 mainProgram = "SystemPreferences"; 37 maintainers = with lib.maintainers; [ 38 ashalkhakov 39 dblsaiko 40 + matthewbauer 41 ]; 42 platforms = lib.platforms.linux; 43 };
-8
pkgs/desktops/gnustep/wrapGNUstepAppsHook.nix
··· 1 - {makeBinaryWrapper, makeSetupHook}: 2 - 3 - makeSetupHook 4 - { 5 - name = "wrapGNUstepAppsHook"; 6 - propagatedBuildInputs = [makeBinaryWrapper]; 7 - } 8 - ./wrapGNUstepAppsHook.sh
···
pkgs/desktops/gnustep/wrapGNUstepAppsHook.sh pkgs/by-name/wr/wrapGNUstepAppsHook/wrapGNUstepAppsHook.sh
+2 -2
pkgs/development/tools/analysis/hopper/default.nix
··· 3 , lib 4 , autoPatchelfHook 5 , wrapQtAppsHook 6 - , gnustep 7 , libbsd 8 , libffi_3_3 9 , ncurses6 ··· 27 ]; 28 29 buildInputs = [ 30 - gnustep.libobjc 31 libbsd 32 libffi_3_3 33 ncurses6
··· 3 , lib 4 , autoPatchelfHook 5 , wrapQtAppsHook 6 + , gnustep-libobjc 7 , libbsd 8 , libffi_3_3 9 , ncurses6 ··· 27 ]; 28 29 buildInputs = [ 30 + gnustep-libobjc 31 libbsd 32 libffi_3_3 33 ncurses6
+4 -3
pkgs/tools/archivers/unar/default.nix
··· 2 , stdenv 3 , fetchFromGitHub 4 , installShellFiles 5 - , gnustep 6 , bzip2 7 , zlib 8 , icu ··· 54 ''); 55 56 buildInputs = [ bzip2 icu openssl wavpack zlib ] ++ 57 - lib.optionals stdenv.hostPlatform.isLinux [ gnustep.base ] ++ 58 lib.optionals stdenv.hostPlatform.isDarwin [ Foundation AppKit ]; 59 60 nativeBuildInputs = [ installShellFiles ] ++ 61 - lib.optionals stdenv.hostPlatform.isLinux [ gnustep.make ] ++ 62 lib.optionals stdenv.hostPlatform.isDarwin [ xcbuildHook ]; 63 64 xcbuildFlags = lib.optionals stdenv.hostPlatform.isDarwin [
··· 2 , stdenv 3 , fetchFromGitHub 4 , installShellFiles 5 + , gnustep-base 6 + , gnustep-make 7 , bzip2 8 , zlib 9 , icu ··· 55 ''); 56 57 buildInputs = [ bzip2 icu openssl wavpack zlib ] ++ 58 + lib.optionals stdenv.hostPlatform.isLinux [ gnustep-base ] ++ 59 lib.optionals stdenv.hostPlatform.isDarwin [ Foundation AppKit ]; 60 61 nativeBuildInputs = [ installShellFiles ] ++ 62 + lib.optionals stdenv.hostPlatform.isLinux [ gnustep-make ] ++ 63 lib.optionals stdenv.hostPlatform.isDarwin [ xcbuildHook ]; 64 65 xcbuildFlags = lib.optionals stdenv.hostPlatform.isDarwin [
+6 -4
pkgs/tools/networking/openvpn/openvpn-auth-ldap.nix
··· 4 fetchFromGitHub, 5 fetchpatch2, 6 autoreconfHook, 7 - gnustep, 8 re2c, 9 openldap, 10 openssl, ··· 40 41 nativeBuildInputs = [ 42 autoreconfHook 43 - gnustep.base 44 - gnustep.libobjc 45 - gnustep.make 46 re2c 47 ]; 48
··· 4 fetchFromGitHub, 5 fetchpatch2, 6 autoreconfHook, 7 + gnustep-make, 8 + gnustep-base, 9 + gnustep-libobjc, 10 re2c, 11 openldap, 12 openssl, ··· 42 43 nativeBuildInputs = [ 44 autoreconfHook 45 + gnustep-libobjc 46 + gnustep-make 47 + gnustep-base 48 re2c 49 ]; 50
+1
pkgs/top-level/aliases.nix
··· 522 gnuradio3_8 = throw "gnuradio3_8 has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 523 gnuradio3_8Minimal = throw "gnuradio3_8Minimal has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 524 gnuradio3_8Packages = throw "gnuradio3_8Minimal has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 525 gn1924 = throw "gn1924 has been removed because it was broken and no longer used by envoy."; # Added 2024-11-03 526 gobby5 = throw "'gobby5' has been renamed to/replaced by 'gobby'"; # Converted to throw 2024-10-17 527 gradle_6 = throw "Gradle 6 has been removed, as it is end-of-life (https://endoflife.date/gradle) and has many vulnerabilities that are not resolved until Gradle 7."; # Added 2024-10-30
··· 522 gnuradio3_8 = throw "gnuradio3_8 has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 523 gnuradio3_8Minimal = throw "gnuradio3_8Minimal has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 524 gnuradio3_8Packages = throw "gnuradio3_8Minimal has been removed because it was too old and incompatible with a not EOL swig"; # Added 2024-11-18 525 + gnustep = throw "The gnustep scope has been replaced with top-level packages: gnustep-back, -base, -gui, -libobjc, -make, -systempreferences; gorm, gworkspace, projectcenter."; # Added 2025-01-25 526 gn1924 = throw "gn1924 has been removed because it was broken and no longer used by envoy."; # Added 2024-11-03 527 gobby5 = throw "'gobby5' has been renamed to/replaced by 'gobby'"; # Converted to throw 2024-10-17 528 gradle_6 = throw "Gradle 6 has been removed, as it is end-of-life (https://endoflife.date/gradle) and has many vulnerabilities that are not resolved until Gradle 7."; # Added 2024-10-30
-3
pkgs/top-level/all-packages.nix
··· 16792 16793 gnome-session-ctl = callPackage ../by-name/gn/gnome-session/ctl.nix { }; 16794 16795 - # Using 43 to match Mutter used in Pantheon 16796 - gnustep = recurseIntoAttrs (callPackage ../desktops/gnustep { }); 16797 - 16798 lomiri = recurseIntoAttrs (callPackage ../desktops/lomiri { }); 16799 16800 lumina = recurseIntoAttrs (callPackage ../desktops/lumina { });
··· 16792 16793 gnome-session-ctl = callPackage ../by-name/gn/gnome-session/ctl.nix { }; 16794 16795 lomiri = recurseIntoAttrs (callPackage ../desktops/lomiri { }); 16796 16797 lumina = recurseIntoAttrs (callPackage ../desktops/lumina { });