icewm: enable on darwin (#413470)

authored by Aleksana and committed by GitHub 9012f9a5 db1256ac

+7 -5
+7 -5
pkgs/by-name/ic/icewm/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchFromGitHub, 5 cmake, 6 expat, ··· 39 pkg-config, 40 }: 41 42 - stdenv.mkDerivation (finalAttrs: { 43 pname = "icewm"; 44 version = "3.7.5"; 45 ··· 98 "-DPREFIX=$out" 99 "-DCFGDIR=/etc/icewm" 100 ]; 101 102 # install legacy themes 103 postInstall = '' ··· 105 $out/share/icewm/themes/ 106 ''; 107 108 - meta = with lib; { 109 homepage = "https://ice-wm.org/"; 110 description = "Simple, lightweight X window manager"; 111 longDescription = '' ··· 121 optional external background wallpaper manager with transparency support, 122 a simple session manager and a system tray. 123 ''; 124 - license = licenses.lgpl2Only; 125 maintainers = [ ]; 126 - platforms = platforms.linux; 127 }; 128 })
··· 1 { 2 lib, 3 + gccStdenv, 4 fetchFromGitHub, 5 cmake, 6 expat, ··· 39 pkg-config, 40 }: 41 42 + gccStdenv.mkDerivation (finalAttrs: { 43 pname = "icewm"; 44 version = "3.7.5"; 45 ··· 98 "-DPREFIX=$out" 99 "-DCFGDIR=/etc/icewm" 100 ]; 101 + 102 + env.NIX_CFLAGS_COMPILE = lib.optionalString gccStdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE"; 103 104 # install legacy themes 105 postInstall = '' ··· 107 $out/share/icewm/themes/ 108 ''; 109 110 + meta = { 111 homepage = "https://ice-wm.org/"; 112 description = "Simple, lightweight X window manager"; 113 longDescription = '' ··· 123 optional external background wallpaper manager with transparency support, 124 a simple session manager and a system tray. 125 ''; 126 + license = lib.licenses.lgpl2Only; 127 maintainers = [ ]; 128 + platforms = lib.platforms.unix; 129 }; 130 })