Merge branch 'master' into staging-next

Artturin 6789222b d6d2d6c6

+1207 -456
+16
maintainers/maintainer-list.nix
··· 845 845 githubId = 11699655; 846 846 name = "Stanislas Lange"; 847 847 }; 848 + AngryAnt = { 849 + name = "Emil Johansen"; 850 + email = "git@eej.dk"; 851 + matrix = "@angryant:envs.net"; 852 + github = "AngryAnt"; 853 + githubId = 102513; 854 + keys = [{ 855 + fingerprint = "B7B7 582E 564E 789B FCB8 71AB 0C6D FE2F B234 534A"; 856 + }]; 857 + }; 848 858 anhdle14 = { 849 859 name = "Le Anh Duc"; 850 860 email = "anhdle14@icloud.com"; ··· 14719 14729 name = "Daniel Fithian"; 14720 14730 github = "dfithian"; 14721 14731 githubId = 8409320; 14732 + }; 14733 + nikstur = { 14734 + email = "nikstur@outlook.com"; 14735 + name = "nikstur"; 14736 + github = "nikstur"; 14737 + githubId = 61635709; 14722 14738 }; 14723 14739 }
+1
nixos/modules/module-list.nix
··· 1088 1088 ./services/web-apps/nifi.nix 1089 1089 ./services/web-apps/node-red.nix 1090 1090 ./services/web-apps/phylactery.nix 1091 + ./services/web-apps/onlyoffice.nix 1091 1092 ./services/web-apps/pict-rs.nix 1092 1093 ./services/web-apps/peertube.nix 1093 1094 ./services/web-apps/plantuml-server.nix
+1 -1
nixos/modules/services/databases/openldap.nix
··· 245 245 }; 246 246 }; 247 247 248 - meta.maintainers = with lib.maintainers; [ mic92 kwohlfahrt ]; 248 + meta.maintainers = with lib.maintainers; [ kwohlfahrt ]; 249 249 250 250 config = mkIf cfg.enable { 251 251 assertions = map (opt: {
+288
nixos/modules/services/web-apps/onlyoffice.nix
··· 1 + { lib, config, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.onlyoffice; 7 + in 8 + { 9 + options.services.onlyoffice = { 10 + enable = mkEnableOption "OnlyOffice DocumentServer"; 11 + 12 + enableExampleServer = mkEnableOption "OnlyOffice example server"; 13 + 14 + hostname = mkOption { 15 + type = types.str; 16 + default = "localhost"; 17 + description = "FQDN for the onlyoffice instance."; 18 + }; 19 + 20 + jwtSecretFile = mkOption { 21 + type = types.nullOr types.str; 22 + default = null; 23 + description = '' 24 + Path to a file that contains the secret to sign web requests using JSON Web Tokens. 25 + If left at the default value null signing is disabled. 26 + ''; 27 + }; 28 + 29 + package = mkOption { 30 + type = types.package; 31 + default = pkgs.onlyoffice-documentserver; 32 + defaultText = "pkgs.onlyoffice-documentserver"; 33 + description = "Which package to use for the OnlyOffice instance."; 34 + }; 35 + 36 + port = mkOption { 37 + type = types.port; 38 + default = 8000; 39 + description = "Port the OnlyOffice DocumentServer should listens on."; 40 + }; 41 + 42 + examplePort = mkOption { 43 + type = types.port; 44 + default = null; 45 + description = "Port the OnlyOffice Example server should listens on."; 46 + }; 47 + 48 + postgresHost = mkOption { 49 + type = types.str; 50 + default = "/run/postgresql"; 51 + description = "The Postgresql hostname or socket path OnlyOffice should connect to."; 52 + }; 53 + 54 + postgresName = mkOption { 55 + type = types.str; 56 + default = "onlyoffice"; 57 + description = "The name of databse OnlyOffice should user."; 58 + }; 59 + 60 + postgresPasswordFile = mkOption { 61 + type = types.nullOr types.str; 62 + default = null; 63 + description = '' 64 + Path to a file that contains the password OnlyOffice should use to connect to Postgresql. 65 + Unused when using socket authentication. 66 + ''; 67 + }; 68 + 69 + postgresUser = mkOption { 70 + type = types.str; 71 + default = "onlyoffice"; 72 + description = '' 73 + The username OnlyOffice should use to connect to Postgresql. 74 + Unused when using socket authentication. 75 + ''; 76 + }; 77 + 78 + rabbitmqUrl = mkOption { 79 + type = types.str; 80 + default = "amqp://guest:guest@localhost:5672"; 81 + description = "The Rabbitmq in amqp URI style OnlyOffice should connect to."; 82 + }; 83 + }; 84 + 85 + config = lib.mkIf cfg.enable { 86 + services = { 87 + nginx = { 88 + enable = mkDefault true; 89 + # misses text/csv, font/ttf, application/x-font-ttf, application/rtf, application/wasm 90 + recommendedGzipSettings = mkDefault true; 91 + recommendedProxySettings = mkDefault true; 92 + 93 + upstreams = { 94 + # /etc/nginx/includes/http-common.conf 95 + onlyoffice-docservice = { 96 + servers = { "localhost:${toString cfg.port}" = { }; }; 97 + }; 98 + onlyoffice-example = lib.mkIf cfg.enableExampleServer { 99 + servers = { "localhost:${toString cfg.examplePort}" = { }; }; 100 + }; 101 + }; 102 + 103 + virtualHosts.${cfg.hostname} = { 104 + locations = { 105 + # /etc/nginx/includes/ds-docservice.conf 106 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(web-apps\/apps\/api\/documents\/api\.js)$".extraConfig = '' 107 + expires -1; 108 + alias ${cfg.package}/var/www/onlyoffice/documentserver/$2; 109 + ''; 110 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(web-apps)(\/.*\.json)$".extraConfig = '' 111 + expires 365d; 112 + error_log /dev/null crit; 113 + alias ${cfg.package}/var/www/onlyoffice/documentserver/$2$3; 114 + ''; 115 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(sdkjs-plugins)(\/.*\.json)$".extraConfig = '' 116 + expires 365d; 117 + error_log /dev/null crit; 118 + alias ${cfg.package}/var/www/onlyoffice/documentserver/$2$3; 119 + ''; 120 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(web-apps|sdkjs|sdkjs-plugins|fonts)(\/.*)$".extraConfig = '' 121 + expires 365d; 122 + alias ${cfg.package}/var/www/onlyoffice/documentserver/$2$3; 123 + ''; 124 + "~* ^(\/cache\/files.*)(\/.*)".extraConfig = '' 125 + alias /var/lib/onlyoffice/documentserver/App_Data$1; 126 + add_header Content-Disposition "attachment; filename*=UTF-8''$arg_filename"; 127 + 128 + set $secret_string verysecretstring; 129 + secure_link $arg_md5,$arg_expires; 130 + secure_link_md5 "$secure_link_expires$uri$secret_string"; 131 + 132 + if ($secure_link = "") { 133 + return 403; 134 + } 135 + 136 + if ($secure_link = "0") { 137 + return 410; 138 + } 139 + ''; 140 + "~* ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(internal)(\/.*)$".extraConfig = '' 141 + allow 127.0.0.1; 142 + deny all; 143 + proxy_pass http://onlyoffice-docservice/$2$3; 144 + ''; 145 + "~* ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(info)(\/.*)$".extraConfig = '' 146 + allow 127.0.0.1; 147 + deny all; 148 + proxy_pass http://onlyoffice-docservice/$2$3; 149 + ''; 150 + "/".extraConfig = '' 151 + proxy_pass http://onlyoffice-docservice; 152 + ''; 153 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?(\/doc\/.*)".extraConfig = '' 154 + proxy_pass http://onlyoffice-docservice$2; 155 + proxy_http_version 1.1; 156 + ''; 157 + "/${cfg.package.version}/".extraConfig = '' 158 + proxy_pass http://onlyoffice-docservice/; 159 + ''; 160 + "~ ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(dictionaries)(\/.*)$".extraConfig = '' 161 + expires 365d; 162 + alias ${cfg.package}/var/www/onlyoffice/documentserver/$2$3; 163 + ''; 164 + # /etc/nginx/includes/ds-example.conf 165 + "~ ^(\/welcome\/.*)$".extraConfig = '' 166 + expires 365d; 167 + alias ${cfg.package}/var/www/onlyoffice/documentserver-example$1; 168 + index docker.html; 169 + ''; 170 + "/example/".extraConfig = lib.mkIf cfg.enableExampleServer '' 171 + proxy_pass http://onlyoffice-example/; 172 + proxy_set_header X-Forwarded-Path /example; 173 + ''; 174 + }; 175 + extraConfig = '' 176 + rewrite ^/$ /welcome/ redirect; 177 + rewrite ^\/OfficeWeb(\/apps\/.*)$ /${cfg.package.version}/web-apps$1 redirect; 178 + rewrite ^(\/web-apps\/apps\/(?!api\/).*)$ /${cfg.package.version}$1 redirect; 179 + 180 + # based on https://github.com/ONLYOFFICE/document-server-package/blob/master/common/documentserver/nginx/includes/http-common.conf.m4#L29-L34 181 + # without variable indirection and correct variable names 182 + proxy_set_header Host $host; 183 + proxy_set_header X-Forwarded-Host $host; 184 + proxy_set_header X-Forwarded-Proto $scheme; 185 + # required for CSP to take effect 186 + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 187 + # required for websocket 188 + proxy_set_header Upgrade $http_upgrade; 189 + proxy_set_header Connection $connection_upgrade; 190 + ''; 191 + }; 192 + }; 193 + 194 + rabbitmq.enable = lib.mkDefault true; 195 + 196 + postgresql = { 197 + enable = lib.mkDefault true; 198 + ensureDatabases = [ "onlyoffice" ]; 199 + ensureUsers = [{ 200 + name = "onlyoffice"; 201 + ensurePermissions = { "DATABASE \"onlyoffice\"" = "ALL PRIVILEGES"; }; 202 + }]; 203 + }; 204 + }; 205 + 206 + systemd.services = { 207 + onlyoffice-converter = { 208 + description = "onlyoffice converter"; 209 + after = [ "network.target" "onlyoffice-docservice.service" "postgresql.service" ]; 210 + requires = [ "network.target" "onlyoffice-docservice.service" "postgresql.service" ]; 211 + wantedBy = [ "multi-user.target" ]; 212 + serviceConfig = { 213 + ExecStart = "${cfg.package.fhs}/bin/onlyoffice-wrapper FileConverter/converter /run/onlyoffice/config"; 214 + Group = "onlyoffice"; 215 + Restart = "always"; 216 + RuntimeDirectory = "onlyoffice"; 217 + StateDirectory = "onlyoffice"; 218 + Type = "simple"; 219 + User = "onlyoffice"; 220 + }; 221 + }; 222 + 223 + onlyoffice-docservice = 224 + let 225 + onlyoffice-prestart = pkgs.writeShellScript "onlyoffice-prestart" '' 226 + PATH=$PATH:${lib.makeBinPath (with pkgs; [ jq moreutils config.services.postgresql.package ])} 227 + umask 077 228 + mkdir -p /run/onlyoffice/config/ /var/lib/onlyoffice/documentserver/sdkjs/{slide/themes,common}/ /var/lib/onlyoffice/documentserver/{fonts,server/FileConverter/bin}/ 229 + cp -r ${cfg.package}/etc/onlyoffice/documentserver/* /run/onlyoffice/config/ 230 + chmod u+w /run/onlyoffice/config/default.json 231 + 232 + cp /run/onlyoffice/config/default.json{,.orig} 233 + 234 + # for a mapping of environment variables from the docker container to json options see 235 + # https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/run-document-server.sh 236 + jq ' 237 + .services.CoAuthoring.server.port = ${toString cfg.port} | 238 + .services.CoAuthoring.sql.dbHost = "${cfg.postgresHost}" | 239 + .services.CoAuthoring.sql.dbName = "${cfg.postgresName}" | 240 + ${lib.optionalString (cfg.postgresPasswordFile != null) '' 241 + .services.CoAuthoring.sql.dbPass = "'"$(cat ${cfg.postgresPasswordFile})"'" | 242 + ''} 243 + .services.CoAuthoring.sql.dbUser = "${cfg.postgresUser}" | 244 + ${lib.optionalString (cfg.jwtSecretFile != null) '' 245 + .services.CoAuthoring.token.enable.browser = true | 246 + .services.CoAuthoring.token.enable.request.inbox = true | 247 + .services.CoAuthoring.token.enable.request.outbox = true | 248 + .services.CoAuthoring.secret.inbox.string = "'"$(cat ${cfg.jwtSecretFile})"'" | 249 + .services.CoAuthoring.secret.outbox.string = "'"$(cat ${cfg.jwtSecretFile})"'" | 250 + .services.CoAuthoring.secret.session.string = "'"$(cat ${cfg.jwtSecretFile})"'" | 251 + ''} 252 + .rabbitmq.url = "${cfg.rabbitmqUrl}" 253 + ' /run/onlyoffice/config/default.json | sponge /run/onlyoffice/config/default.json 254 + 255 + if ! psql -d onlyoffice -c "SELECT 'task_result'::regclass;" >/dev/null; then 256 + psql -f ${cfg.package}/var/www/onlyoffice/documentserver/server/schema/postgresql/createdb.sql 257 + fi 258 + ''; 259 + in 260 + { 261 + description = "onlyoffice documentserver"; 262 + after = [ "network.target" "postgresql.service" ]; 263 + requires = [ "postgresql.service" ]; 264 + wantedBy = [ "multi-user.target" ]; 265 + serviceConfig = { 266 + ExecStart = "${cfg.package.fhs}/bin/onlyoffice-wrapper DocService/docservice /run/onlyoffice/config"; 267 + ExecStartPre = onlyoffice-prestart; 268 + Group = "onlyoffice"; 269 + Restart = "always"; 270 + RuntimeDirectory = "onlyoffice"; 271 + StateDirectory = "onlyoffice"; 272 + Type = "simple"; 273 + User = "onlyoffice"; 274 + }; 275 + }; 276 + }; 277 + 278 + users.users = { 279 + onlyoffice = { 280 + description = "OnlyOffice Service"; 281 + group = "onlyoffice"; 282 + isSystemUser = true; 283 + }; 284 + }; 285 + 286 + users.groups.onlyoffice = { }; 287 + }; 288 + }
-14
pkgs/applications/audio/musikcube/0001-apple-cmake.patch
··· 1 - diff --git a/src/musikcube/CMakeLists.txt b/src/musikcube/CMakeLists.txt 2 - index f42748aa..ae339946 100644 3 - --- a/src/musikcube/CMakeLists.txt 4 - +++ b/src/musikcube/CMakeLists.txt 5 - @@ -98,9 +98,6 @@ else() 6 - endif() 7 - 8 - if (APPLE) 9 - - message(STATUS "[ncurses] detected Darwin, linking statically") 10 - - set(CURSES_LIBRARY_NAME "lib${CURSES_LIBRARY_NAME}.a") 11 - - set(PANEL_LIBRARY_NAME "lib${PANEL_LIBRARY_NAME}.a") 12 - else() 13 - message(STATUS "[ncurses] not Darwin! will attempt to link against libtinfo") 14 - find_library(LIBTINFO NAMES tinfo)
+16 -12
pkgs/applications/audio/musikcube/default.nix
··· 9 9 , lame 10 10 , libev 11 11 , libmicrohttpd 12 + , libopenmpt 13 + , mpg123 12 14 , ncurses 13 15 , lib 14 16 , stdenv ··· 25 27 26 28 stdenv.mkDerivation rec { 27 29 pname = "musikcube"; 28 - version = "0.97.0"; 30 + version = "0.98.0"; 29 31 30 32 src = fetchFromGitHub { 31 33 owner = "clangen"; 32 34 repo = pname; 33 35 rev = version; 34 - sha256 = "sha256-W9Ng1kqai5qhaDs5KWg/1sOTIAalBXLng1MG8sl/ZOg="; 36 + sha256 = "sha256-bnwOxEcvRXWPuqtkv8YlpclvH/6ZtQvyvHy4mqJCwik="; 35 37 }; 36 38 37 - patches = [ 38 - # Fix pending upstream inclusion for ncurses-6.3 support: 39 - # https://github.com/clangen/musikcube/pull/474 40 - (fetchpatch { 41 - name = "ncurses-6.3.patch"; 42 - url = "https://github.com/clangen/musikcube/commit/1240720e27232fdb199a4da93ca6705864442026.patch"; 43 - sha256 = "0bhjgwnj6d24wb1m9xz1vi1k9xk27arba1absjbcimggn54pinid"; 44 - }) 45 - ./0001-apple-cmake.patch 46 - ]; 39 + patches = [] 40 + ++ lib.optionals stdenv.isDarwin [ 41 + # Fix pending upstream inclusion for Darwin nixpkgs builds: 42 + # https://github.com/clangen/musikcube/pull/531 43 + (fetchpatch { 44 + name = "darwin-build.patch"; 45 + url = "https://github.com/clangen/musikcube/commit/9077bb9fa6ddfe93ebb14bb8feebc8a0ef9b7ee4.patch"; 46 + sha256 = "sha256-Am9AGKDGMN5z+JJFJKdsBLrHf2neHFovgF/8I5EXLDA="; 47 + }) 48 + ]; 47 49 48 50 nativeBuildInputs = [ 49 51 cmake ··· 58 60 lame 59 61 libev 60 62 libmicrohttpd 63 + libopenmpt 64 + mpg123 61 65 ncurses 62 66 taglib 63 67 ] ++ lib.optionals systemdSupport [
+59 -8
pkgs/applications/audio/surge/default.nix
··· 1 - { stdenv, lib, fetchurl, fetchFromGitHub, cmake, git, pkg-config, python3 2 - , cairo, libsndfile, libxcb, libxkbcommon, xcbutil, xcbutilcursor, xcbutilkeysyms, zenity 3 - , curl, rsync 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , fetchpatch 5 + , fetchFromGitHub 6 + , cmake 7 + , git 8 + , pkg-config 9 + , python3 10 + , cairo 11 + , libsndfile 12 + , libxcb 13 + , libxkbcommon 14 + , xcbutil 15 + , xcbutilcursor 16 + , xcbutilkeysyms 17 + , zenity 18 + , curl 19 + , rsync 4 20 }: 5 21 6 22 stdenv.mkDerivation rec { ··· 21 37 rev = "afc591cc06d9adc3dc8dc515a55c66873fa10296"; 22 38 sha256 = "1wqv86l70nwlrb10n47rib80f47a96j9qqg8w5dv46ys1sq2nz7z"; 23 39 }; 24 - nativeBuildInputs = [ cmake git pkg-config python3 ]; 25 - buildInputs = [ cairo libsndfile libxcb libxkbcommon xcbutil xcbutilcursor xcbutilkeysyms zenity curl rsync ]; 40 + 41 + patches = [ 42 + # Fix build error due to newer glibc version by upgrading lib "catch 2" 43 + # Issue: https://github.com/surge-synthesizer/surge/pull/4843 44 + # Patch: https://github.com/surge-synthesizer/surge/pull/4845 45 + (fetchpatch { 46 + url = "https://github.com/surge-synthesizer/surge/commit/7a552038bab4b000d188ae425aa97963dc91db17.patch"; 47 + sha256 = "sha256-5Flf0uJqEK6e+sadB+vr6phdvvdZYXcFFfm4ywhAeW0="; 48 + name = "glibc_build_fix.patch"; 49 + }) 50 + ]; 51 + 52 + nativeBuildInputs = [ 53 + cmake 54 + git 55 + pkg-config 56 + python3 57 + ]; 58 + 59 + buildInputs = [ 60 + cairo 61 + libsndfile 62 + libxcb 63 + libxkbcommon 64 + xcbutil 65 + xcbutilcursor 66 + xcbutilkeysyms 67 + zenity 68 + curl 69 + rsync 70 + ]; 26 71 27 72 postPatch = '' 28 - substituteInPlace src/common/SurgeStorage.cpp --replace "/usr/share/Surge" "$out/share/surge" 29 - substituteInPlace src/linux/UserInteractionsLinux.cpp --replace '"zenity' '"${zenity}/bin/zenity' 73 + substituteInPlace src/common/SurgeStorage.cpp \ 74 + --replace "/usr/share/Surge" "$out/share/surge" 75 + substituteInPlace src/linux/UserInteractionsLinux.cpp \ 76 + --replace '"zenity' '"${zenity}/bin/zenity' 30 77 patchShebangs scripts/linux/ 31 78 cp -r $extraContent/Skins/ resources/data/skins 32 79 ''; ··· 38 85 ''; 39 86 40 87 doInstallCheck = true; 88 + 41 89 installCheckPhase = '' 42 90 export HOME=$(mktemp -d) 43 91 export SURGE_DISABLE_NETWORK_TESTS=TRUE ··· 45 93 ''; 46 94 47 95 meta = with lib; { 48 - description = "LV2 & VST3 synthesizer plug-in (previously released as Vember Audio Surge)"; 96 + description = '' 97 + LV2 & VST3 synthesizer plug-in (previously released as Vember Audio 98 + Surge) 99 + ''; 49 100 homepage = "https://surge-synthesizer.github.io"; 50 101 license = licenses.gpl3; 51 102 platforms = [ "x86_64-linux" ];
+2 -2
pkgs/applications/blockchains/framesh/default.nix
··· 2 2 3 3 let 4 4 pname = "framesh"; 5 - version = "0.5.0-beta.20"; 5 + version = "0.5.0-beta.21"; 6 6 src = fetchurl { 7 7 url = "https://github.com/floating/frame/releases/download/v${version}/Frame-${version}.AppImage"; 8 - sha256 = "sha256-4PU3f5e9NJYnP49nVtCjbGXxWJDCJIArzuaLsWB3Cx0="; 8 + sha256 = "sha256-rWZ7oC74qrylNPIfBzHnNMcsYjccGL2zeXFab9OwBNA="; 9 9 }; 10 10 11 11 appimageContents = appimageTools.extractType2 {
+3 -3
pkgs/applications/editors/nvpy/default.nix
··· 3 3 let 4 4 pythonPackages = python3Packages; 5 5 in pythonPackages.buildPythonApplication rec { 6 - version = "2.1.0"; 6 + version = "2.2.0"; 7 7 pname = "nvpy"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "cpbotha"; 11 11 repo = pname; 12 - rev = "v${version}"; 13 - sha256 = "02njvybd8yaqdnc5ghwrm8225z57gg4w7rhmx3w5jqzh16ld4mhh"; 12 + rev = "refs/tags/v${version}"; 13 + sha256 = "sha256-eWvD1k0wbzo0G46/LEOlHl1wLvc4JHLL1fg6wuCHiQY="; 14 14 }; 15 15 16 16
+2 -2
pkgs/applications/graphics/hydrus/default.nix
··· 10 10 11 11 python3Packages.buildPythonPackage rec { 12 12 pname = "hydrus"; 13 - version = "491"; 13 + version = "492"; 14 14 format = "other"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "hydrusnetwork"; 18 18 repo = "hydrus"; 19 19 rev = "refs/tags/v${version}"; 20 - sha256 = "sha256-ceKawn2jyfZPP4HzhkB1jIQoStCPRO/Ni/+Ys1R2FJQ="; 20 + sha256 = "sha256-KtuHPKVwk6nRQ5lqHxRgm7k7DfcGeRAzR/kkHVMizDM="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+99
pkgs/applications/misc/avalonia-ilspy/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchzip 4 + , unzip 5 + , autoPatchelfHook 6 + , makeWrapper 7 + , makeDesktopItem 8 + , copyDesktopItems 9 + , lttng-ust 10 + , libkrb5 11 + , zlib 12 + , fontconfig 13 + , openssl_1_1 14 + , libX11 15 + , libICE 16 + , libSM 17 + , icu 18 + }: 19 + 20 + stdenv.mkDerivation rec { 21 + pname = "avalonia-ilspy"; 22 + version = "7.2-rc"; 23 + 24 + src = fetchzip { 25 + url = "https://github.com/icsharpcode/AvaloniaILSpy/releases/download/v${version}/Linux.x64.Release.zip"; 26 + sha256 = "1crf0ng4l6x70wjlz3r6qw8l166gd52ys11j7ilb4nyy3mkjxk11"; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + unzip 31 + autoPatchelfHook 32 + makeWrapper 33 + copyDesktopItems 34 + ]; 35 + 36 + buildInputs = [ 37 + stdenv.cc.cc.lib 38 + lttng-ust 39 + libkrb5 40 + zlib 41 + fontconfig 42 + ]; 43 + 44 + libraryPath = lib.makeLibraryPath [ 45 + openssl_1_1 46 + libX11 47 + libICE 48 + libSM 49 + icu 50 + ]; 51 + 52 + unpackPhase = '' 53 + unzip -qq $src/ILSpy-linux-x64-Release.zip 54 + ''; 55 + 56 + installPhase = '' 57 + runHook preInstall 58 + 59 + mkdir -p $out/bin $out/lib $out/share/icons/hicolor/scalable/apps 60 + cp -r artifacts/linux-x64/* $out/lib 61 + ln -s $out/lib/Images/ILSpy.png $out/share/icons/hicolor/scalable/apps/ILSpy.png 62 + 63 + chmod +x $out/lib/ILSpy 64 + wrapProgram $out/lib/ILSpy --prefix LD_LIBRARY_PATH : ${libraryPath} 65 + mv $out/lib/ILSpy $out/bin 66 + 67 + runHook postInstall 68 + ''; 69 + 70 + # dotnet runtime requirements 71 + preFixup = '' 72 + patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/lib/libcoreclrtraceptprovider.so 73 + ''; 74 + dontStrip = true; 75 + 76 + desktopItem = makeDesktopItem { 77 + name = "ILSpy"; 78 + desktopName = "ILSpy"; 79 + exec = "ILSpy"; 80 + icon = "ILSpy"; 81 + comment = ".NET assembly browser and decompiler"; 82 + categories = [ 83 + "Development" 84 + ]; 85 + keywords = [ 86 + ".net" 87 + "il" 88 + "assembly" 89 + ]; 90 + }; 91 + 92 + meta = with lib; { 93 + description = ".NET assembly browser and decompiler"; 94 + homepage = "https://github.com/icsharpcode/AvaloniaILSpy"; 95 + license = licenses.mit; 96 + platforms = [ "x86_64-linux" ]; 97 + maintainers = with lib.maintainers; [ AngryAnt ]; 98 + }; 99 + }
+12 -2
pkgs/applications/misc/binocle/default.nix
··· 3 3 , rustPlatform 4 4 , fetchFromGitHub 5 5 , makeWrapper 6 + , AppKit 7 + , CoreFoundation 8 + , CoreGraphics 9 + , CoreVideo 10 + , Foundation 11 + , Metal 12 + , QuartzCore 6 13 , xorg 7 14 , vulkan-loader 8 15 }: ··· 24 31 makeWrapper 25 32 ]; 26 33 27 - postInstall = '' 34 + buildInputs = lib.optionals stdenv.isDarwin [ 35 + AppKit CoreFoundation CoreGraphics CoreVideo Foundation Metal QuartzCore 36 + ]; 37 + 38 + postInstall = lib.optionalString (!stdenv.isDarwin) '' 28 39 wrapProgram $out/bin/binocle \ 29 40 --suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with xorg; [ libX11 libXcursor libXi libXrandr ] ++ [ vulkan-loader ])} 30 41 ''; ··· 34 45 homepage = "https://github.com/sharkdp/binocle"; 35 46 license = with licenses; [ asl20 /* or */ mit ]; 36 47 maintainers = with maintainers; [ SuperSandro2000 ]; 37 - broken = stdenv.isDarwin; 38 48 }; 39 49 }
+2 -2
pkgs/applications/misc/dialect/default.nix
··· 18 18 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "dialect"; 21 - version = "2.0.1"; 21 + version = "2.0.2"; 22 22 23 23 format = "other"; 24 24 ··· 27 27 repo = pname; 28 28 rev = version; 29 29 fetchSubmodules = true; 30 - hash = "sha256-Ke23QnvKpmyuaqkiBQL1cUa0T7lSfYPLFi6wa9G8LYk="; 30 + hash = "sha256-55vqxS0ySV8lItxLl1J+wLvPtmR87HzGfAiOKuhigFA="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/logseq/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "logseq"; 5 - version = "0.7.7"; 5 + version = "0.7.8"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage"; 9 - sha256 = "sha256-FRhtB7l40nNy8YTocXShbvhGudFWOrzpXsfe4yFY4us="; 9 + sha256 = "sha256-5NEx4OEISa7q0tp6v4AWK9eMn58dje7non653iJhipE="; 10 10 name = "${pname}-${version}.AppImage"; 11 11 }; 12 12
+2 -2
pkgs/applications/misc/tut/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tut"; 5 - version = "1.0.13"; 5 + version = "1.0.14"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RasmusLindroth"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-EORvIqA2bsmNUY1euUBmEYNMU02nW0doRDmTQjt15Os="; 11 + sha256 = "sha256-2zlCO73UBT2E94+AvDdqACotWFna6G1P+Q9VrOKxK+c="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-ilq1sfFY6WuNACryDGjkpF5eUTan8Y6Yt26vot9XR54=";
+2 -2
pkgs/applications/networking/browsers/brave/default.nix
··· 90 90 91 91 stdenv.mkDerivation rec { 92 92 pname = "brave"; 93 - version = "1.41.96"; 93 + version = "1.41.99"; 94 94 95 95 src = fetchurl { 96 96 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 97 - sha256 = "sha256-sPIzQkaa6PGxwLkCHYz2GdSDns5x/Q2YwWcXBWBx+Fo="; 97 + sha256 = "sha256-SGh2yp6sYtamIZc5YvBwkoAQxYw0Y9KZyVLI/EGS0dg="; 98 98 }; 99 99 100 100 dontConfigure = true;
+2 -2
pkgs/applications/networking/sync/onedrive/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "onedrive"; 17 - version = "2.4.19"; 17 + version = "2.4.20"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "abraunegg"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - hash = "sha256-7kX7gC/1jSZGgV3ZhfebMIn/Y5gXkz22GDP2zpiwUZ4="; 23 + hash = "sha256-2sDs4AhiyccVpnfCGPBL+QifQGStbrzSUIL547kh2ko="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
+4 -6
pkgs/applications/office/zk/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "zk"; 5 - version = "0.9.0"; 5 + version = "0.11.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mickael-menu"; 9 9 repo = "zk"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-AXKIi70evf581lMwfbfxm8hFCzsnhKRQgnIEZQFS75A="; 11 + sha256 = "sha256-30Vw6RGREg/ULS+eNExulHNOsOssMjXE+/tuRBQ17kI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-m7QGv8Vx776TsN7QHXtO+yl3U1D573UMZVyg1B4UeIk="; 14 + vendorSha256 = "sha256-11GzI3aEhKKTiULoWq9uIc66E3YCrW/HJQUYXRhCaek="; 15 15 16 16 doCheck = false; 17 - 18 - buildInputs = [ icu ]; 19 17 20 18 CGO_ENABLED = 1; 21 19 22 20 ldflags = [ "-s" "-w" "-X=main.Build=${version}" ]; 23 21 24 - tags = [ "fts5" "icu" ]; 22 + tags = [ "fts5" ]; 25 23 26 24 meta = with lib; { 27 25 maintainers = with maintainers; [ pinpox ];
+3 -3
pkgs/applications/virtualization/docker/compose.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "docker-compose"; 5 - version = "2.6.1"; 5 + version = "2.7.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "docker"; 9 9 repo = "compose"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-D3+qDWxg3e5/3UIMz8FZDuxmQHmTv0NJVT/otGYedtw="; 11 + sha256 = "sha256-cx2Qn5NHQgs2iJ1SDyTdptHSyPUhx4SpCTfvjUwldfI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-WxLQfu65Gr+ao/pM8B2uiS88sNT72Klhz7ZIrEadW5g="; 14 + vendorSha256 = "sha256-8CvtqnXSKoK/SA0tc/0Duv3pmYT69/3a/HFvAr4KNJo="; 15 15 16 16 ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ]; 17 17
+28 -6
pkgs/data/icons/qogir-icon-theme/default.nix
··· 1 1 { lib 2 2 , stdenvNoCC 3 3 , fetchFromGitHub 4 + , gitUpdater 4 5 , gtk3 5 6 , hicolor-icon-theme 6 7 , jdupes 8 + , colorVariants ? [] # default is all 9 + , themeVariants ? [] # default is all 7 10 }: 8 11 12 + let 13 + pname = "qogir-icon-theme"; 14 + 15 + in 16 + lib.checkListOfEnum "${pname}: color variants" [ "default" "dark" "all" ] colorVariants 17 + lib.checkListOfEnum "${pname}: theme variants" [ "default" "manjaro" "ubuntu" "all" ] themeVariants 18 + 9 19 stdenvNoCC.mkDerivation rec { 10 - pname = "qogir-icon-theme"; 11 - version = "2022-01-12"; 20 + inherit pname; 21 + version = "2022-07-20"; 12 22 13 23 src = fetchFromGitHub { 14 24 owner = "vinceliuice"; 15 25 repo = pname; 16 26 rev = version; 17 - sha256 = "1daayxsqh7di3bvfnl39h1arsj1fypd3ba30mas6dl1d0qy17z1p"; 27 + sha256 = "sha256-I+eojCTR3fXcp7v5Bdie9vstmJja9HB71aQSF5jLDD4="; 18 28 }; 19 29 20 30 nativeBuildInputs = [ gtk3 jdupes ]; ··· 27 37 dontPatchELF = true; 28 38 dontRewriteSymlinks = true; 29 39 40 + postPatch = '' 41 + patchShebangs install.sh 42 + ''; 43 + 30 44 installPhase = '' 31 45 runHook preInstall 32 - patchShebangs install.sh 46 + 33 47 mkdir -p $out/share/icons 34 - name= ./install.sh -d $out/share/icons 35 - jdupes -L -r $out/share/icons 48 + 49 + name= ./install.sh \ 50 + ${lib.optionalString (themeVariants != []) ("--theme " + builtins.toString themeVariants)} \ 51 + ${lib.optionalString (colorVariants != []) ("--color " + builtins.toString colorVariants)} \ 52 + --dest $out/share/icons 53 + 54 + jdupes --quiet --link-soft --recurse $out/share 55 + 36 56 runHook postInstall 37 57 ''; 58 + 59 + passthru.updateScript = gitUpdater { inherit pname version; }; 38 60 39 61 meta = with lib; { 40 62 description = "Flat colorful design icon theme";
+76
pkgs/data/themes/colloid-gtk-theme/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + , gitUpdater 5 + , gnome-themes-extra 6 + , gtk-engine-murrine 7 + , jdupes 8 + , sassc 9 + , themeVariants ? [] # default: blue 10 + , colorVariants ? [] # default: all 11 + , sizeVariants ? [] # default: standard 12 + , tweaks ? [] 13 + }: 14 + 15 + let 16 + pname = "colloid-gtk-theme"; 17 + 18 + in 19 + lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ] themeVariants 20 + lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants 21 + lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants 22 + lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "dracula" "rimless" "normal" ] tweaks 23 + 24 + stdenvNoCC.mkDerivation rec { 25 + inherit pname; 26 + version = "2022-07-18"; 27 + 28 + src = fetchFromGitHub { 29 + owner = "vinceliuice"; 30 + repo = pname; 31 + rev = version; 32 + hash = "sha256-dWYRTwfQRMBdg+htxpWatF325rToaovF/43LxX6I1GI="; 33 + }; 34 + 35 + nativeBuildInputs = [ 36 + jdupes 37 + sassc 38 + ]; 39 + 40 + buildInputs = [ 41 + gnome-themes-extra 42 + ]; 43 + 44 + propagatedUserEnvPkgs = [ 45 + gtk-engine-murrine 46 + ]; 47 + 48 + postPatch = '' 49 + patchShebangs install.sh clean-old-theme.sh 50 + ''; 51 + 52 + installPhase = '' 53 + runHook preInstall 54 + 55 + name= HOME="$TMPDIR" ./install.sh \ 56 + ${lib.optionalString (themeVariants != []) "--theme " + builtins.toString themeVariants} \ 57 + ${lib.optionalString (colorVariants != []) "--color " + builtins.toString colorVariants} \ 58 + ${lib.optionalString (sizeVariants != []) "--size " + builtins.toString sizeVariants} \ 59 + ${lib.optionalString (tweaks != []) "--tweaks " + builtins.toString tweaks} \ 60 + --dest $out/share/themes 61 + 62 + jdupes --link-soft --recurse $out/share 63 + 64 + runHook postInstall 65 + ''; 66 + 67 + passthru.updateScript = gitUpdater { inherit pname version; }; 68 + 69 + meta = with lib; { 70 + description = "A modern and clean Gtk theme"; 71 + homepage = "https://github.com/vinceliuice/Colloid-gtk-theme"; 72 + license = licenses.gpl3Only; 73 + platforms = platforms.unix; 74 + maintainers = [ maintainers.romildo ]; 75 + }; 76 + }
+48
pkgs/data/themes/qogir-kde/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + , gitUpdater 5 + }: 6 + 7 + stdenvNoCC.mkDerivation rec { 8 + pname = "qogir-kde"; 9 + version = "unstable-2022-07-08"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "vinceliuice"; 13 + repo = pname; 14 + rev = "f240eae10978c7fee518f7a8be1c41a21a9d5c2e"; 15 + hash = "sha256-AV60IQWwgvLwDO3ylILwx1DkKadwo4isn3JX3WpKoxQ="; 16 + }; 17 + 18 + postPatch = '' 19 + patchShebangs install.sh 20 + 21 + substituteInPlace install.sh \ 22 + --replace '$HOME/.local' $out \ 23 + --replace '$HOME/.config' $out/share 24 + ''; 25 + 26 + installPhase = '' 27 + runHook preInstall 28 + 29 + mkdir -p $out/share/plasma/plasmoids 30 + 31 + name= HOME="$TMPDIR" ./install.sh --dest $out/share/themes 32 + 33 + mkdir -p $out/share/sddm/themes 34 + cp -a sddm/Qogir $out/share/sddm/themes/ 35 + 36 + runHook postInstall 37 + ''; 38 + 39 + passthru.updateScript = gitUpdater { inherit pname version; }; 40 + 41 + meta = with lib; { 42 + description = "A flat Design theme for KDE Plasma desktop"; 43 + homepage = "https://github.com/vinceliuice/Qogir-kde"; 44 + license = licenses.gpl3Only; 45 + platforms = platforms.all; 46 + maintainers = [ maintainers.romildo ]; 47 + }; 48 + }
+26 -7
pkgs/desktops/xfce/applications/catfish/default.nix
··· 1 - { lib, fetchurl, file, which, intltool, gobject-introspection, 2 - findutils, xdg-utils, dconf, gtk3, python3Packages, xfconf, 3 - wrapGAppsHook 1 + { lib 2 + , fetchFromGitLab 3 + , gitUpdater 4 + , file 5 + , which 6 + , intltool 7 + , gobject-introspection 8 + , findutils 9 + , xdg-utils 10 + , dconf 11 + , gtk3 12 + , python3Packages 13 + , xfconf 14 + , wrapGAppsHook 4 15 }: 5 16 6 17 python3Packages.buildPythonApplication rec { 7 18 pname = "catfish"; 8 - version = "4.16.3"; 19 + version = "4.16.4"; 9 20 10 - src = fetchurl { 11 - url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 - sha256 = "sha256-6amaYtEJgTkVCN1D88v6LVCmm9a30e7vfTC6TGc9z9o="; 21 + src = fetchFromGitLab { 22 + domain = "gitlab.xfce.org"; 23 + owner = "apps"; 24 + repo = pname; 25 + rev = "${pname}-${version}"; 26 + sha256 = "sha256-hdrEFdBa/4i/PF7VyEI7ObiJXLIRW+RFSe8yGnUpqRc="; 13 27 }; 14 28 15 29 nativeBuildInputs = [ ··· 50 64 51 65 # Disable check because there is no test in the source distribution 52 66 doCheck = false; 67 + 68 + passthru.updateScript = gitUpdater { 69 + inherit pname version; 70 + rev-prefix = "${pname}-"; 71 + }; 53 72 54 73 meta = with lib; { 55 74 homepage = "https://docs.xfce.org/apps/catfish/start";
+13 -4
pkgs/development/libraries/gobject-introspection/wrapper.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPackages 4 + , targetPackages 4 5 , gobject-introspection-unwrapped 5 - , targetPackages 6 - }: 6 + , ... 7 + }@_args: 7 8 8 9 # to build, run 9 10 # `nix build ".#pkgsCross.aarch64-multiplatform.buildPackages.gobject-introspection"` 10 - gobject-introspection-unwrapped.overrideAttrs (previousAttrs: { 11 + 12 + let 13 + # ensure that `.override` works when gobject-introspection == gobject-introspection-wrapped 14 + args = builtins.removeAttrs _args [ "buildPackages" "targetPackages" "gobject-introspection-unwrapped" ]; 15 + # passing this stdenv to `targetPackages...` breaks due to splicing not working in `.override`` 16 + argsForTarget = builtins.removeAttrs args [ "stdenv" ]; 17 + in 18 + 19 + (gobject-introspection-unwrapped.override args).overrideAttrs (previousAttrs: { 11 20 pname = "gobject-introspection-wrapped"; 12 21 # failure in e.g. pkgsCross.aarch64-multiplatform.polkit 13 22 # subprocess.CalledProcessError: Command '['/nix/store/...-prelink-unstable-2019-06-24/bin/prelink-rtld', '/build/source/build/tmp-introspectzp2ldkyk/PolkitAgent-1.0']' returned non-zero exit status 127. ··· 21 30 export emulator=${lib.escapeShellArg (stdenv.targetPlatform.emulator buildPackages)} 22 31 export buildprelink="${buildPackages.prelink}/bin/prelink-rtld" 23 32 24 - export targetgir="${lib.getDev targetPackages.gobject-introspection-unwrapped}" 33 + export targetgir="${lib.getDev (targetPackages.gobject-introspection-unwrapped.override argsForTarget)}" 25 34 26 35 substituteAll "${./wrappers/g-ir-compiler.sh}" "$dev/bin/g-ir-compiler" 27 36 substituteAll "${./wrappers/g-ir-scanner.sh}" "$dev/bin/g-ir-scanner"
+2
pkgs/development/libraries/libplacebo/default.nix
··· 50 50 "-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml" 51 51 "-Ddemos=false" # Don't build and install the demo programs 52 52 "-Dd3d11=disabled" # Disable the Direct3D 11 based renderer 53 + ] ++ lib.optionals stdenv.isDarwin [ 54 + "-Dunwind=disabled" # libplacebo doesn’t build with `darwin.libunwind` 53 55 ]; 54 56 55 57 meta = with lib; {
+6 -2
pkgs/development/libraries/physics/herwig/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "herwig"; 5 - version = "7.2.2"; 5 + version = "7.2.3"; 6 6 7 7 src = fetchurl { 8 8 url = "https://www.hepforge.org/archive/herwig/Herwig-${version}.tar.bz2"; 9 - sha256 = "10y3fb33zsinr0z3hzap9rsbcqhy1yjqnv4b4vz21g7mdlw6pq2k"; 9 + hash = "sha256-VZmJk3mwGwnjMaJCbXjTm39uwSbbJUPp00Cu/mqlD4Q="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ autoconf automake libtool gfortran ]; ··· 17 17 18 18 postPatch = '' 19 19 patchShebangs ./ 20 + 21 + # Fix failing "make install" being unable to find HwEvtGenInterface.so 22 + substituteInPlace src/defaults/decayers.in.in \ 23 + --replace "read EvtGenDecayer.in" "" 20 24 ''; 21 25 22 26 configureFlags = [
+2 -2
pkgs/development/libraries/physics/thepeg/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "thepeg"; 5 - version = "2.2.2"; 5 + version = "2.2.3"; 6 6 7 7 src = fetchurl { 8 8 url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2"; 9 - sha256 = "0gif4vb9lw2px2qdywqm7x0frbv0h5gq9lq36c50f2hv77a5bgwp"; 9 + hash = "sha256-8hRzGXp2H8MpF7CKjSTSv6+T/1fzRB/WBdqZrJ3l1Qs="; 10 10 }; 11 11 12 12 buildInputs = [ boost fastjet gsl hepmc2 lhapdf rivet zlib ];
+2 -2
pkgs/development/python-modules/afsapi/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "afsapi"; 14 - version = "0.2.6"; 14 + version = "0.2.7"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "wlcrs"; 21 21 repo = "python-afsapi"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-SPHED/zbrjULtJFz1x+0kq+lDrLeuol+1rOH2/xWEnI="; 23 + hash = "sha256-TTZk/8mfG5lBr8SyMbqSaYDskWKnUlMkAUp94DXPCKo="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+36
pkgs/development/python-modules/plantuml/default.nix
··· 1 + { buildPythonPackage 2 + , fetchFromGitHub 3 + , lib 4 + # Runtime dependencies 5 + , httplib2 6 + , six 7 + }: 8 + 9 + buildPythonPackage { 10 + pname = "plantuml"; 11 + version = "0.3.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "dougn"; 15 + repo = "python-plantuml"; 16 + rev = "93e1aac25b17d896b0d05d0a1aa352c7bd11dd31"; 17 + sha256 = "sha256-aPXPqoKlu8VLi0Jn84brG7v3qM9L18Ut4sabYYGb3qQ="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + httplib2 22 + six 23 + ]; 24 + 25 + # Project does not contain a test suite 26 + doCheck = false; 27 + 28 + pythonImportsCheck = [ "plantuml" ]; 29 + 30 + meta = with lib; { 31 + description = "Python interface to a plantuml web service instead of having to run java locally"; 32 + homepage = "https://github.com/dougn/python-plantuml"; 33 + license = licenses.bsd2; 34 + maintainers = with maintainers; [ nikstur ]; 35 + }; 36 + }
+2 -2
pkgs/development/python-modules/snowflake-sqlalchemy/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "snowflake-sqlalchemy"; 11 - version = "1.3.4"; 11 + version = "1.4.0"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "sha256-nXTPnWChj/rIMmPoVZr1AhY7tHVRygmpNmh1oGR6W4A="; 15 + sha256 = "sha256-9IooTfzXRmOE22huBSduM4kX8ltI6F50nvkUnXRkAFo="; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/ijq/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ijq"; 5 - version = "0.3.8"; 5 + version = "0.4.0"; 6 6 7 7 src = fetchFromSourcehut { 8 8 owner = "~gpanders"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-N4wrm0nUmQ0NTsLkomJrcSiYJWgFUEh1/yn3pagM9vI="; 11 + sha256 = "sha256-EQfCEdQIrjg38JjjePNDNWKi0cFezjYvIGVJajbf9jw="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-DX8m5FsqMZnzk1wgJA/ESZl0QeDv3p9huF4h1HY9DIA=";
+4 -9
pkgs/development/tools/millet/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, rustfmt }: 1 + { lib, rustPlatform, fetchFromGitHub }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "millet"; 5 - version = "0.2.5"; 5 + version = "0.2.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "azdavis"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-HnVvq6Tb0yDvoa0KxZHZG0Tm0CWYWsn9unj0v0zYuTw="; 11 + sha256 = "sha256-+4lMRd4pzbkRDct5kz17MB9drN6sEtYLk29d6TlubLk="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-cbp4eAcqKuUKKqmlS2Azo5NRHDy+F4LNwcrwbFj+Z5g="; 15 - 16 - nativeBuildInputs = [ 17 - # Required for `syntax-gen` crate https://github.com/azdavis/language-util/blob/8ec2dc509c88951102ad3e751820443059a363af/crates/syntax-gen/src/util.rs#L37 18 - rustfmt 19 - ]; 14 + cargoSha256 = "sha256-MoXKNUgNeg2AG7G78wnZvLXADhCsK/WB5WiT5lTSmIQ="; 20 15 21 16 cargoBuildFlags = [ "--package" "lang-srv" ]; 22 17
+2 -2
pkgs/development/tools/misc/drush/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "drush"; 5 - version = "8.4.10"; 5 + version = "8.4.11"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/drush-ops/drush/releases/download/${version}/drush.phar"; 9 - sha256 = "sha256-yXSoTDFLsjDiYkRfrIxv2WTVdHzgxZRvtn3Pht5XF4k="; 9 + sha256 = "sha256-4DD16PQHGZzAGwmm/WNeZ/dDKnlQslcb35AkpiJs5tQ="; 10 10 }; 11 11 12 12 dontUnpack = true;
+2
pkgs/development/tools/misc/netcoredbg/default.nix
··· 30 30 hardeningDisable = [ "strictoverflow" ]; 31 31 32 32 preConfigure = '' 33 + export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 33 34 dotnetVersion="$(${dotnet-sdk}/bin/dotnet --list-runtimes | grep -Po '^Microsoft.NETCore.App \K.*?(?= )')" 35 + 34 36 cmakeFlagsArray+=( 35 37 "-DDBGSHIM_RUNTIME_DIR=${dotnet-sdk}/shared/Microsoft.NETCore.App/$dotnetVersion" 36 38 )
+2 -2
pkgs/development/tools/misc/polylith/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "polylith"; 5 - version = "0.2.13-alpha"; 5 + version = "0.2.14-alpha"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/polyfy/polylith/releases/download/v${version}/poly-${version}.jar"; 9 - sha256 = "sha256-iLN92qurc8+D0pt7Hwag+TFGoeFl9DvEeS67sKmmoSI="; 9 + sha256 = "sha256-0yJLSveKd49nBnCtBVfwcACXfIH43ZgqTLoo2aLPE2g="; 10 10 }; 11 11 12 12 dontUnpack = true;
+2 -2
pkgs/development/tools/okteto/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "okteto"; 5 - version = "2.4.0"; 5 + version = "2.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "okteto"; 9 9 repo = "okteto"; 10 10 rev = version; 11 - sha256 = "sha256-+shhY7/chtq4xPwYSlcVgL/RGMNA0ahTCqT9pVQqpG4="; 11 + sha256 = "sha256-jcGnkLut8MlMqdWQxj/M6vQgIf3e7qFv8dJ1j6bEqj8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-W1/QBMnMdZWokWSFmHhPqmOu827bpGXS8+GFp5Iu9Ig=";
+3 -3
pkgs/development/tools/stylua/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "stylua"; 10 - version = "0.14.0"; 10 + version = "0.14.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "johnnymorganz"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-G7fCLkvpO5GHqWCfy2m3GxSgDSHCcYOaXyPDtdmdSY0="; 16 + sha256 = "sha256-SoO5xujSPe+6TOBvPt09sm77cRUU4s9nYjR1EOpcTBY="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-MqRoGuRMEgOYvL2VI324EXZjrPVCbCE/c7aVEXr0xmw="; 19 + cargoSha256 = "sha256-L8nGAT7HoI67kxX+vf++iQ0NzY4hNW/H32LL6WZSJM4="; 20 20 21 21 buildFeatures = lib.optional lua52Support "lua52" 22 22 ++ lib.optional luauSupport "luau";
+2 -2
pkgs/games/oh-my-git/default.nix
··· 26 26 27 27 stdenv.mkDerivation rec { 28 28 pname = "oh-my-git"; 29 - version = "0.6.4"; 29 + version = "0.6.5"; 30 30 31 31 src = fetchFromGitHub { 32 32 owner = "git-learning-game"; 33 33 repo = "oh-my-git"; 34 34 rev = version; 35 - sha256 = "sha256-GQLHyBUXF+yqEZ/LYutAn6TBCXFX8ViOaERQEm2J6CY="; 35 + sha256 = "sha256-XqxliMVU55D5JSt7Yo5btvZnnTlagSukyhXv6Akgklo="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
-58
pkgs/os-specific/darwin/moltenvk/MoltenVK.xcodeproj.patch
··· 86 86 /* Begin XCBuildConfiguration section */ 87 87 2FEA0AB824902F9F00EEF3AD /* Debug */ = { 88 88 isa = XCBuildConfiguration; 89 - @@ -1586,11 +1544,12 @@ 90 - GCC_WARN_UNUSED_VARIABLE = YES; 91 - GENERATE_MASTER_OBJECT_FILE = YES; 92 - HEADER_SEARCH_PATHS = ( 93 - - "\"$(SRCROOT)/include\"", 94 - - "\"$(SRCROOT)/../MoltenVKShaderConverter\"", 95 - - "\"$(SRCROOT)/../MoltenVKShaderConverter/SPIRV-Cross\"", 96 - - "\"$(SRCROOT)/../External/cereal/include\"", 97 - - "\"${BUILT_PRODUCTS_DIR}\"", 98 - + "@@sourceRoot@@/outputs/include", 99 - + "@@sourceRoot@@/outputs/include/simd_workaround", 100 - + "@@sourceRoot@@/MoltenVKShaderConverter", 101 - + "@@cereal@@/include", 102 - + "@@spirv-cross@@/include/spirv_cross", 103 - + "@@vulkan-headers@@/include", 104 - ); 105 - IPHONEOS_DEPLOYMENT_TARGET = 9.0; 106 - MACH_O_TYPE = staticlib; 107 - @@ -1600,6 +1559,10 @@ 108 - MVK_SKIP_DYLIB = ""; 109 - "MVK_SKIP_DYLIB[sdk=appletvsimulator*]" = YES; 110 - "MVK_SKIP_DYLIB[sdk=iphonesimulator*]" = YES; 111 - + OTHER_CFLAGS = ( 112 - + "-isystem", 113 - + "@@libcxx@@/include/c++/v1", 114 - + ); 115 - PRELINK_LIBS = "${CONFIGURATION_BUILD_DIR}/libMoltenVKShaderConverter.a"; 116 - PRODUCT_NAME = MoltenVK; 117 - SKIP_INSTALL = YES; 118 - @@ -1658,11 +1621,12 @@ 119 - GCC_WARN_UNUSED_VARIABLE = YES; 120 - GENERATE_MASTER_OBJECT_FILE = YES; 121 - HEADER_SEARCH_PATHS = ( 122 - - "\"$(SRCROOT)/include\"", 123 - - "\"$(SRCROOT)/../MoltenVKShaderConverter\"", 124 - - "\"$(SRCROOT)/../MoltenVKShaderConverter/SPIRV-Cross\"", 125 - - "\"$(SRCROOT)/../External/cereal/include\"", 126 - - "\"${BUILT_PRODUCTS_DIR}\"", 127 - + "@@sourceRoot@@/outputs/include", 128 - + "@@sourceRoot@@/outputs/include/simd_workaround", 129 - + "@@sourceRoot@@/MoltenVKShaderConverter", 130 - + "@@cereal@@/include", 131 - + "@@spirv-cross@@/include/spirv_cross", 132 - + "@@vulkan-headers@@/include", 133 - ); 134 - IPHONEOS_DEPLOYMENT_TARGET = 9.0; 135 - MACH_O_TYPE = staticlib; 136 - @@ -1672,6 +1636,10 @@ 137 - MVK_SKIP_DYLIB = ""; 138 - "MVK_SKIP_DYLIB[sdk=appletvsimulator*]" = YES; 139 - "MVK_SKIP_DYLIB[sdk=iphonesimulator*]" = YES; 140 - + OTHER_CFLAGS = ( 141 - + "-isystem", 142 - + "@@libcxx@@/include/c++/v1", 143 - + ); 144 - PRELINK_LIBS = "${CONFIGURATION_BUILD_DIR}/libMoltenVKShaderConverter.a"; 145 - PRODUCT_NAME = MoltenVK; 146 - SKIP_INSTALL = YES;
-96
pkgs/os-specific/darwin/moltenvk/MoltenVKShaderConverter.xcodeproj.patch
··· 82 82 productReference = A93903C71C57E9ED00FE90DC /* libMoltenVKShaderConverter.a */; 83 83 productType = "com.apple.product-type.library.static"; 84 84 }; 85 - @@ -536,6 +518,17 @@ 86 - OTHER_LDFLAGS = ( 87 - "-ObjC", 88 - "-w", 89 - + "-lMachineIndependent", 90 - + "-lGenericCodeGen", 91 - + "-lOGLCompiler", 92 - + "-lglslang", 93 - + "-lOSDependent", 94 - + "-lSPIRV", 95 - + "-lSPIRV-Tools", 96 - + "-lSPIRV-Tools-opt", 97 - + "-lspirv-cross-msl", 98 - + "-lspirv-cross-core", 99 - + "-lspirv-cross-glsl", 100 - ); 101 - SDKROOT = macosx; 102 - }; 103 - @@ -548,6 +541,17 @@ 104 - OTHER_LDFLAGS = ( 105 - "-ObjC", 106 - "-w", 107 - + "-lMachineIndependent", 108 - + "-lGenericCodeGen", 109 - + "-lOGLCompiler", 110 - + "-lglslang", 111 - + "-lOSDependent", 112 - + "-lSPIRV", 113 - + "-lSPIRV-Tools", 114 - + "-lSPIRV-Tools-opt", 115 - + "-lspirv-cross-msl", 116 - + "-lspirv-cross-core", 117 - + "-lspirv-cross-glsl", 118 - ); 119 - SDKROOT = macosx; 120 - }; 121 - @@ -624,15 +628,24 @@ 122 - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 123 - GCC_WARN_UNUSED_FUNCTION = YES; 124 - HEADER_SEARCH_PATHS = ( 125 - - "$(inherited)", 126 - - "\"$(SRCROOT)\"", 127 - - "\"$(SRCROOT)/SPIRV-Cross\"", 128 - - "\"$(SRCROOT)/glslang\"", 129 - - "\"$(SRCROOT)/glslang/External/spirv-tools/include\"", 130 - + "@@sourceRoot@@/Common", 131 - + "@@glslang@@/include", 132 - + "@@spirv-cross@@/include/spirv_cross", 133 - + "@@spirv-tools@@/include", 134 - + "@@spirv-headers@@/include/spirv/unified1/", 135 - ); 136 - IPHONEOS_DEPLOYMENT_TARGET = 9.0; 137 - + LIBRARY_SEARCH_PATHS = ( 138 - + "@@glslang@@/lib", 139 - + "@@spirv-cross@@/lib", 140 - + "@@spirv-tools@@/lib", 141 - + ); 142 - MACH_O_TYPE = staticlib; 143 - MACOSX_DEPLOYMENT_TARGET = 10.11; 144 - + OTHER_CFLAGS = ( 145 - + "-isystem", 146 - + "@@libcxx@@/include/c++/v1", 147 - + ); 148 - PRODUCT_NAME = MoltenVKShaderConverter; 149 - SKIP_INSTALL = YES; 150 - TVOS_DEPLOYMENT_TARGET = 9.0; 151 - @@ -683,15 +696,24 @@ 152 - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 153 - GCC_WARN_UNUSED_FUNCTION = YES; 154 - HEADER_SEARCH_PATHS = ( 155 - - "$(inherited)", 156 - - "\"$(SRCROOT)\"", 157 - - "\"$(SRCROOT)/SPIRV-Cross\"", 158 - - "\"$(SRCROOT)/glslang\"", 159 - - "\"$(SRCROOT)/glslang/External/spirv-tools/include\"", 160 - + "@@sourceRoot@@/Common", 161 - + "@@glslang@@/include", 162 - + "@@spirv-cross@@/include/spirv_cross", 163 - + "@@spirv-tools@@/include", 164 - + "@@spirv-headers@@/include/spirv/unified1/", 165 - ); 166 - IPHONEOS_DEPLOYMENT_TARGET = 9.0; 167 - + LIBRARY_SEARCH_PATHS = ( 168 - + "@@glslang@@/lib", 169 - + "@@spirv-cross@@/lib", 170 - + "@@spirv-tools@@/lib", 171 - + ); 172 - MACH_O_TYPE = staticlib; 173 - MACOSX_DEPLOYMENT_TARGET = 10.11; 174 - + OTHER_CFLAGS = ( 175 - + "-isystem", 176 - + "@@libcxx@@/include/c++/v1", 177 - + ); 178 - PRODUCT_NAME = MoltenVKShaderConverter; 179 - SKIP_INSTALL = YES; 180 - TVOS_DEPLOYMENT_TARGET = 9.0;
-13
pkgs/os-specific/darwin/moltenvk/createDylib.patch
··· 1 - diff --git a/Scripts/create_dylib.sh b/Scripts/create_dylib.sh 2 - index 5ba75f67..a0405067 100755 3 - --- a/Scripts/create_dylib.sh 4 - +++ b/Scripts/create_dylib.sh 5 - @@ -57,6 +57,8 @@ ${MVK_SAN} \ 6 - -framework Metal ${MVK_IOSURFACE_FWK} -framework ${MVK_UX_FWK} -framework QuartzCore -framework CoreGraphics ${MVK_IOKIT_FWK} -framework Foundation \ 7 - --library-directory ${MVK_USR_LIB_DIR} \ 8 - -o "${MVK_BUILT_PROD_DIR}/dynamic/${MVK_DYLIB_NAME}" \ 9 - +-L@@sourceRoot@@/outputs/lib -L@@glslang@@/lib -L@@spirv-tools@@/lib -L@@spirv-cross@@/lib \ 10 - +-lobjc -lMoltenVKShaderConverter -lGenericCodeGen -lMachineIndependent -lOGLCompiler -lOSDependent -lSPIRV -lSPIRV-Tools -lSPIRV-Tools-opt -lspirv-cross-core -lspirv-cross-glsl -lspirv-cross-msl -lspirv-cross-reflect \ 11 - -force_load "${MVK_BUILT_PROD_DIR}/lib${PRODUCT_NAME}.a" 12 - 13 - if test "$CONFIGURATION" = Debug; then
+86 -93
pkgs/os-specific/darwin/moltenvk/default.nix
··· 1 1 { lib 2 + , overrideCC 2 3 , stdenv 3 - , stdenvNoCC 4 4 , fetchurl 5 5 , fetchFromGitHub 6 6 , cctools 7 7 , sigtool 8 8 , cereal 9 + , libcxx 9 10 , glslang 10 11 , spirv-cross 11 12 , spirv-headers 12 13 , spirv-tools 13 14 , vulkan-headers 15 + , xcbuild 14 16 , AppKit 15 17 , Foundation 18 + , Libsystem 19 + , MacOSX-SDK 16 20 , Metal 17 21 , QuartzCore 18 22 }: 19 23 20 - # Even though the derivation is currently impure, it is written to build successfully using 21 - # `xcbuild`. Once the SDK on x86_64-darwin is updated, it should be possible to switch from being 22 - # an impure derivation. 23 - # 24 - # The `sandboxProfile` was copied from the iTerm2 derivation. In order to build you at least need 25 - # the `sandbox` option set to `relaxed` or `false`. Xcode should be available in the default 26 - # location. 27 - let 28 - libcxx.dev = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr"; 29 - in 30 - stdenvNoCC.mkDerivation (finalAttrs: { 24 + stdenv.mkDerivation (finalAttrs: { 31 25 pname = "MoltenVK"; 32 - version = "1.1.9"; 26 + version = "1.1.10"; 27 + 28 + buildInputs = [ AppKit Foundation Metal QuartzCore cereal ] 29 + ++ lib.attrValues finalAttrs.passthru; 33 30 34 - buildInputs = [ 35 - AppKit 36 - Foundation 37 - Metal 38 - QuartzCore 39 - ]; 31 + nativeBuildInputs = [ cctools sigtool xcbuild ]; 40 32 41 33 outputs = [ "out" "bin" "dev" ]; 42 34 ··· 47 39 src = fetchFromGitHub { 48 40 owner = "KhronosGroup"; 49 41 repo = "glslang"; 50 - rev = "9bb8cfffb0eed010e07132282c41d73064a7a609"; 51 - hash = "sha256-YLn/Mxuk6mXPGtBBgfwky5Nl1TCAW6i2g+AZLzqVz+A="; 42 + rev = "adbf0d3106b26daa237b10b9bf72b1af7c31092d"; 43 + hash = "sha256-sjidkiPtRADhyOEKDb2cHCBXnFjLwk2F5Lppv5/fwNQ="; 52 44 }; 53 - })).override { 54 - inherit (finalAttrs.passthru) spirv-headers spirv-tools; 55 - }; 45 + })).override { inherit (finalAttrs.passthru) spirv-headers spirv-tools; }; 56 46 spirv-cross = spirv-cross.overrideAttrs (old: { 57 - cmakeFlags = (old.cmakeFlags or [ ]) ++ [ 58 - "-DSPIRV_CROSS_NAMESPACE_OVERRIDE=MVK_spirv_cross" 59 - ]; 47 + cmakeFlags = (old.cmakeFlags or [ ]) 48 + ++ [ "-DSPIRV_CROSS_NAMESPACE_OVERRIDE=MVK_spirv_cross" ]; 60 49 src = fetchFromGitHub { 61 50 owner = "KhronosGroup"; 62 51 repo = "SPIRV-Cross"; 63 - rev = "0d4ce028bf8b8a94d325dc1e1c20446153ba19c4"; 64 - hash = "sha256-OluTxOEfDIGMdrXhvIifjpMgZBvyh9ofLKxKt0dX5ZU="; 52 + rev = "50b4d5389b6a06f86fb63a2848e1a7da6d9755ca"; 53 + hash = "sha256-SsupPHJ3VHxJhEAUl3EeQwN4texYhdDjxTnGD+bkNAw="; 65 54 }; 66 55 }); 67 56 spirv-headers = spirv-headers.overrideAttrs (_: { 68 57 src = fetchFromGitHub { 69 58 owner = "KhronosGroup"; 70 59 repo = "spirv-headers"; 71 - rev = "4995a2f2723c401eb0ea3e10c81298906bf1422b"; 72 - hash = "sha256-LkIrTFWYvZffLVJJW3152um5LTEsMJEDEsIhBAdhBlk="; 60 + rev = "5a121866927a16ab9d49bed4788b532c7fcea766"; 61 + hash = "sha256-X4GuFesX015mrzutguhZLrIGlllCgAZ+DUBGSADt8xU="; 73 62 }; 74 63 }); 75 64 spirv-tools = (spirv-tools.overrideAttrs (old: { 76 65 src = fetchFromGitHub { 77 66 owner = "KhronosGroup"; 78 67 repo = "spirv-tools"; 79 - rev = "eed5c76a57bb965f2e1b56d1dc40b50910b5ec1d"; 80 - hash = "sha256-2Mr3HbhRslLpRfwHascl7e/UoPijhrij9Bjg3aCiqBM="; 68 + rev = "b930e734ea198b7aabbbf04ee1562cf6f57962f0"; 69 + hash = "sha256-NWpFSRoxtYWi+hLUt9gpw0YScM3shcUwv9yUmbivRb0="; 81 70 }; 82 - })).override { 83 - inherit (finalAttrs.passthru) spirv-headers; 84 - }; 71 + })).override { inherit (finalAttrs.passthru) spirv-headers; }; 85 72 vulkan-headers = vulkan-headers.overrideAttrs (old: { 86 73 src = fetchFromGitHub { 87 74 owner = "KhronosGroup"; 88 75 repo = "Vulkan-Headers"; 89 - rev = "76f00ef6cbb1886eb1162d1fa39bee8b51e22ee8"; 90 - hash = "sha256-FqrcFHsUS8e4ZgZpxVc8nNZWdNltniFmMjyyWVoNc7w="; 76 + rev = "3ef4c97fd6ea001d75a8e9da408ee473c180e456"; 77 + hash = "sha256-jHzW3m9smuzEGbZrSyBI74K9rFozxiG3M5Xql/WOw7U="; 91 78 }; 92 79 }); 93 80 }; ··· 96 83 owner = "KhronosGroup"; 97 84 repo = "MoltenVK"; 98 85 rev = "v${finalAttrs.version}"; 99 - hash = "sha256-5ie1IGzZqaYbciFnrBJ1/9V0LEuz7JsEOFXXkG3hJzg="; 86 + hash = "sha256-LZvCCP2yelTaWcNt+WvG+RZnVLHRgMDTlNWwRIey7ZM="; 100 87 }; 101 88 102 89 patches = [ 103 - # Specify the libraries to link directly since XCFrameworks are not being used. 104 - ./createDylib.patch 105 - # Move `mvkGitRevDerived.h` to a stable location 106 - ./gitRevHeaderStability.patch 107 90 # Fix the Xcode projects to play nicely with `xcbuild`. 108 91 ./MoltenVKShaderConverter.xcodeproj.patch 109 92 ./MoltenVK.xcodeproj.patch 110 93 ]; 111 94 112 95 postPatch = '' 113 - substituteInPlace MoltenVKShaderConverter/MoltenVKShaderConverter.xcodeproj/project.pbxproj \ 114 - --replace @@sourceRoot@@ $(pwd) \ 115 - --replace @@libcxx@@ "${libcxx.dev}" \ 116 - --replace @@glslang@@ "${finalAttrs.passthru.glslang}" \ 117 - --replace @@spirv-cross@@ "${finalAttrs.passthru.spirv-cross}" \ 118 - --replace @@spirv-tools@@ "${finalAttrs.passthru.glslang.spirv-tools}" \ 119 - --replace @@spirv-headers@@ "${finalAttrs.passthru.glslang.spirv-headers}" 120 - substituteInPlace MoltenVK/MoltenVK.xcodeproj/project.pbxproj \ 121 - --replace @@sourceRoot@@ $(pwd) \ 122 - --replace @@libcxx@@ "${libcxx.dev}" \ 123 - --replace @@cereal@@ "${cereal}" \ 124 - --replace @@spirv-cross@@ "${finalAttrs.passthru.spirv-cross}" \ 125 - --replace @@vulkan-headers@@ "${finalAttrs.passthru.vulkan-headers}" 126 - substituteInPlace Scripts/create_dylib.sh \ 127 - --replace @@sourceRoot@@ $(pwd) \ 128 - --replace @@glslang@@ "${finalAttrs.passthru.glslang}" \ 129 - --replace @@spirv-tools@@ "${finalAttrs.passthru.glslang.spirv-tools}" \ 130 - --replace @@spirv-cross@@ "${finalAttrs.passthru.spirv-cross}" 96 + # Move `mvkGitRevDerived.h` to a stable location 131 97 substituteInPlace Scripts/gen_moltenvk_rev_hdr.sh \ 132 - --replace @@sourceRoot@@ $(pwd) \ 98 + --replace '$'''{BUILT_PRODUCTS_DIR}' "$NIX_BUILD_TOP/$sourceRoot/build/include" \ 133 99 --replace '$(git rev-parse HEAD)' ${finalAttrs.src.rev} 100 + # Adding all of `usr/include` from the SDK results in header conflicts with `libcxx.dev`. 101 + # Work around it by symlinking just the SIMD stuff needed by MoltenVK. 102 + mkdir -p build/include 103 + ln -s "${MacOSX-SDK}/usr/include/simd" "build/include" 134 104 ''; 135 105 136 106 dontConfigure = true; 137 107 108 + NIX_CFLAGS_COMPILE = [ 109 + "-isystem ${lib.getDev libcxx}/include/c++/v1" 110 + "-I${finalAttrs.passthru.spirv-cross}/include/spirv_cross" 111 + "-I${finalAttrs.passthru.spirv-headers}/include/spirv/unified1/" 112 + ]; 113 + 138 114 buildPhase = '' 115 + NIX_CFLAGS_COMPILE+=" \ 116 + -I$NIX_BUILD_TOP/$sourceRoot/build/include \ 117 + -I$NIX_BUILD_TOP/$sourceRoot/Common" 118 + NIX_LDFLAGS+=" -L$NIX_BUILD_TOP/$sourceRoot/build/lib" 119 + 139 120 # Build each project on its own because `xcbuild` fails to build `MoltenVKPackaging.xcodeproj`. 140 - derived_data_path=$(pwd)/DerivedData 121 + build=$NIX_BUILD_TOP/$sourceRoot/build 122 + mkdir -p "$build/bin" "$build/lib" 123 + 124 + NIX_LDFLAGS+=" \ 125 + -lMachineIndependent \ 126 + -lGenericCodeGen \ 127 + -lOGLCompiler \ 128 + -lglslang \ 129 + -lOSDependent \ 130 + -lSPIRV \ 131 + -lSPIRV-Tools \ 132 + -lSPIRV-Tools-opt \ 133 + -lspirv-cross-msl \ 134 + -lspirv-cross-core \ 135 + -lspirv-cross-glsl" 136 + 141 137 pushd MoltenVKShaderConverter 142 - /usr/bin/xcodebuild build \ 143 - -jobs $NIX_BUILD_CORES \ 144 - -derivedDataPath "$derived_data_path" \ 145 - -configuration Release \ 146 - -project MoltenVKShaderConverter.xcodeproj \ 147 - -scheme MoltenVKShaderConverter \ 148 - -arch ${stdenv.targetPlatform.darwinArch} 138 + xcodebuild build \ 139 + -jobs $NIX_BUILD_CORES \ 140 + -configuration Release \ 141 + -project MoltenVKShaderConverter.xcodeproj \ 142 + -scheme MoltenVKShaderConverter \ 143 + -arch ${stdenv.targetPlatform.darwinArch} 144 + declare -A products=( [MoltenVKShaderConverter]=bin [libMoltenVKShaderConverter.a]=lib ) 145 + for product in "''${!products[@]}"; do 146 + cp MoltenVKShaderConverter-*/Build/Products/Release/$product "$build/''${products[$product]}/$product" 147 + done 149 148 popd 150 - mkdir -p outputs/bin outputs/lib 151 - declare -A outputs=( [MoltenVKShaderConverter]=bin [libMoltenVKShaderConverter.a]=lib ) 152 - for output in "''${!outputs[@]}"; do 153 - cp DerivedData/Build/Products/Release/$output "outputs/''${outputs[$output]}/$output" 154 - done 149 + 150 + NIX_LDFLAGS+=" \ 151 + -lobjc \ 152 + -lMoltenVKShaderConverter \ 153 + -lspirv-cross-reflect" 155 154 156 155 pushd MoltenVK 157 - /usr/bin/xcodebuild build \ 158 - -jobs $NIX_BUILD_CORES \ 159 - -derivedDataPath "$derived_data_path" \ 160 - -configuration Release \ 161 - -project MoltenVK.xcodeproj \ 162 - -scheme MoltenVK-macOS \ 163 - -arch ${stdenv.targetPlatform.darwinArch} 156 + xcodebuild build \ 157 + -jobs $NIX_BUILD_CORES \ 158 + -configuration Release \ 159 + -project MoltenVK.xcodeproj \ 160 + -scheme MoltenVK-macOS \ 161 + -arch ${stdenv.targetPlatform.darwinArch} 162 + cp MoltenVK-*/Build/Products/Release/dynamic/libMoltenVK.dylib "$build/lib/libMoltenVK.dylib" 164 163 popd 165 - cp DerivedData/Build/Products/Release/dynamic/libMoltenVK.dylib outputs/lib/libMoltenVK.dylib 166 164 ''; 167 165 168 166 installPhase = '' 169 167 mkdir -p "$out/lib" "$out/share/vulkan/icd.d" "$bin/bin" "$dev/include/MoltenVK" 170 - cp outputs/bin/MoltenVKShaderConverter "$bin/bin/" 171 - cp outputs/lib/libMoltenVK.dylib "$out/lib/" 168 + cp build/bin/MoltenVKShaderConverter "$bin/bin/" 169 + cp build/lib/libMoltenVK.dylib "$out/lib/" 172 170 cp MoltenVK/MoltenVK/API/* "$dev/include/MoltenVK" 173 - ${cctools}/bin/install_name_tool -id "$out/lib/libMoltenVK.dylib" "$out/lib/libMoltenVK.dylib" 174 - # FIXME: https://github.com/NixOS/nixpkgs/issues/148189 175 - /usr/bin/codesign -s - -f "$out/lib/libMoltenVK.dylib" 176 171 install -m644 MoltenVK/icd/MoltenVK_icd.json "$out/share/vulkan/icd.d/MoltenVK_icd.json" 177 172 substituteInPlace $out/share/vulkan/icd.d/MoltenVK_icd.json \ 178 173 --replace ./libMoltenVK.dylib "$out/lib/libMoltenVK.dylib" 179 174 ''; 180 175 181 - sandboxProfile = '' 182 - (allow file-read* file-write* process-exec mach-lookup) 183 - ; block homebrew dependencies 184 - (deny file-read* file-write* process-exec mach-lookup (subpath "/usr/local") (with no-log)) 176 + postFixup = '' 177 + install_name_tool -id "$out/lib/libMoltenVK.dylib" "$out/lib/libMoltenVK.dylib" 178 + codesign -s - -f "$out/lib/libMoltenVK.dylib" 185 179 ''; 186 180 187 181 meta = { ··· 189 183 homepage = "https://github.com/KhronosGroup/MoltenVK"; 190 184 changelog = "https://github.com/KhronosGroup/MoltenVK/releases"; 191 185 maintainers = [ lib.maintainers.reckenrode ]; 192 - hydraPlatforms = [ ]; # Prevent building on Hydra until MoltenVK no longer requires Xcode. 193 186 license = lib.licenses.asl20; 194 187 platforms = lib.platforms.darwin; 195 188 };
-14
pkgs/os-specific/darwin/moltenvk/gitRevHeaderStability.patch
··· 1 - diff --git a/Scripts/gen_moltenvk_rev_hdr.sh b/Scripts/gen_moltenvk_rev_hdr.sh 2 - index c49ea4e6..9b7d13d1 100755 3 - --- a/Scripts/gen_moltenvk_rev_hdr.sh 4 - +++ b/Scripts/gen_moltenvk_rev_hdr.sh 5 - @@ -2,7 +2,7 @@ 6 - 7 - # Record the MoltenVK GIT revision as a derived header file suitable for including in a build 8 - MVK_GIT_REV=$(git rev-parse HEAD) 9 - -MVK_HDR_FILE="${BUILT_PRODUCTS_DIR}/mvkGitRevDerived.h" 10 - +MVK_HDR_FILE="@@sourceRoot@@/outputs/include/mvkGitRevDerived.h" 11 - +mkdir -p $(dirname ${MVK_HDR_FILE}) 12 - echo "// Auto-generated by MoltenVK" > "${MVK_HDR_FILE}" 13 - echo "static const char* mvkRevString = \"${MVK_GIT_REV}\";" >> "${MVK_HDR_FILE}" 14 - -
+20 -20
pkgs/os-specific/linux/kernel/hardened/patches.json
··· 22 22 "5.10": { 23 23 "patch": { 24 24 "extra": "-hardened1", 25 - "name": "linux-hardened-5.10.130-hardened1.patch", 26 - "sha256": "13wf4khc1nqljrvmc283145j6wxcd22qvqg8gwrjndqxlb5qb5bl", 27 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.130-hardened1/linux-hardened-5.10.130-hardened1.patch" 25 + "name": "linux-hardened-5.10.131-hardened1.patch", 26 + "sha256": "00px04xyr8hz73rm0adc0x9fifwcyh2bh0rg0vqc1yjva4kl639d", 27 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.131-hardened1/linux-hardened-5.10.131-hardened1.patch" 28 28 }, 29 - "sha256": "0b4nm96yvkb9r5rkwlq9vsmllzqvvffdnpyl8dvrgqm8a7caci71", 30 - "version": "5.10.130" 29 + "sha256": "1ki11mvl3dky7iih90znr47vr66dxnlwrqwg2jkk1hqn5i243i4b", 30 + "version": "5.10.131" 31 31 }, 32 32 "5.15": { 33 33 "patch": { 34 34 "extra": "-hardened1", 35 - "name": "linux-hardened-5.15.54-hardened1.patch", 36 - "sha256": "1zk6lgm9hg4m7pp16l8dhdv4pf0c1x94sfaah1ppjlq8i64704hd", 37 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.54-hardened1/linux-hardened-5.15.54-hardened1.patch" 35 + "name": "linux-hardened-5.15.55-hardened1.patch", 36 + "sha256": "1nqf97la1sryis600pac0hnivahbhzq1k5q73wg9nmzrc0qjz5w0", 37 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.55-hardened1/linux-hardened-5.15.55-hardened1.patch" 38 38 }, 39 - "sha256": "0kffavh9mbycqljacmvjd04nfrl4r4v8i0zgvq49qgm7n25m8ksr", 40 - "version": "5.15.54" 39 + "sha256": "1k7x7fp675wglfd357n7hjidnm3j8zj3gcymyazg6fkcid8bvxhy", 40 + "version": "5.15.55" 41 41 }, 42 42 "5.18": { 43 43 "patch": { 44 44 "extra": "-hardened1", 45 - "name": "linux-hardened-5.18.11-hardened1.patch", 46 - "sha256": "19g8w933srq3p3zsi38j26cda5a43lzkhhla4pcbd54kmvwjyyjl", 47 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.18.11-hardened1/linux-hardened-5.18.11-hardened1.patch" 45 + "name": "linux-hardened-5.18.12-hardened1.patch", 46 + "sha256": "07wap8qjjn21pxd04ll88kw6cq681ila46ji7i4jbad2dp3p5pcl", 47 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.18.12-hardened1/linux-hardened-5.18.12-hardened1.patch" 48 48 }, 49 - "sha256": "1bqm32nqas1dvcx5b0qh3cshh3gcmpl8wbkn4adhgxw2lxa8w3g2", 50 - "version": "5.18.11" 49 + "sha256": "09wmgfrnv1df6jg9v3svwhvnxl0j6h4f240p903xlmgj884lvds0", 50 + "version": "5.18.12" 51 51 }, 52 52 "5.4": { 53 53 "patch": { 54 54 "extra": "-hardened1", 55 - "name": "linux-hardened-5.4.205-hardened1.patch", 56 - "sha256": "074jyvxmk8fhskndxhc80ibprnh1h2f5z16i7b2pp3723dlm5p5l", 57 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.205-hardened1/linux-hardened-5.4.205-hardened1.patch" 55 + "name": "linux-hardened-5.4.206-hardened1.patch", 56 + "sha256": "0m4jcyvjqfki0asxapn4q9qgyfxw8k6yqcyw899zss8584zqa6i2", 57 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.206-hardened1/linux-hardened-5.4.206-hardened1.patch" 58 58 }, 59 - "sha256": "1m8ms5nizw3iimhw61kr11a09b6h8cfi8az3wwg4mcpb0k58lqrp", 60 - "version": "5.4.205" 59 + "sha256": "1asvc7y1f938icspxx39n6y6r0w9mp0k9vik84rsx1hzzv0db41c", 60 + "version": "5.4.206" 61 61 } 62 62 }
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.14.288"; 6 + version = "4.14.289"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "0yyzxyz66mfngx3ll3pl43413xb67iyxddzh3lpzqcfg7d0rxfwz"; 16 + sha256 = "1v24mv49skgijcbafgai0glrzwiv2j1hndkz7v6ygc18jxh5fqg6"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.19.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.19.252"; 6 + version = "4.19.253"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "0ac7k6x9h8gqi37n8d4fyi52h4cmzyy8f5vfv1aiihww4kvzca7v"; 16 + sha256 = "1jc2j0wskgr1bdzpz6sn2bvafpviiin6mwr93yykcczzfjijr8yz"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.9.nix
··· 1 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.9.323"; 4 + version = "4.9.324"; 5 5 extraMeta.branch = "4.9"; 6 6 extraMeta.broken = stdenv.isAarch64; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 - sha256 = "1h96ai9w5q2axhliw85aymdsg8py9y6gl8big5r2gwkbls6h7pa3"; 10 + sha256 = "0g51vfp0g3py82l3q66p7nvl03h6l1nlny18gangji75a3c39yh4"; 11 11 }; 12 12 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.10.131"; 6 + version = "5.10.132"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1ki11mvl3dky7iih90znr47vr66dxnlwrqwg2jkk1hqn5i243i4b"; 16 + sha256 = "0aps3kglzw480ps9agw1k3zn8ipibwkrx13kzijfl7g0xqqsj1bx"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.15.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.15.55"; 6 + version = "5.15.56"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1k7x7fp675wglfd357n7hjidnm3j8zj3gcymyazg6fkcid8bvxhy"; 16 + sha256 = "08w2kgc0v0ld7nxbary7d9fr2vxrsmqby7l4fhf7njgi6wsbp9p9"; 17 17 }; 18 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.18.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.18.12"; 6 + version = "5.18.13"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "09wmgfrnv1df6jg9v3svwhvnxl0j6h4f240p903xlmgj884lvds0"; 16 + sha256 = "1nkb4wl2v2pflqnfgmas1pmkr8wm14lm1c8py9sa5k1gwvzil3j3"; 17 17 }; 18 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.4.206"; 6 + version = "5.4.207"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1asvc7y1f938icspxx39n6y6r0w9mp0k9vik84rsx1hzzv0db41c"; 16 + sha256 = "1wwpd26qhv6i00p0yxjisns6qiz9bfrxvn1xb4ylwr8ls7zyx78v"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-testing.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.15-rc6"; 6 + version = "5.19-rc5"; 7 7 extraMeta.branch = lib.versions.majorMinor version; 8 8 9 9 # modDirVersion needs to be x.y.z, will always add .0 ··· 11 11 12 12 src = fetchurl { 13 13 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; 14 - sha256 = "1lp3jqwsbd97k3bx4crs8rc2wssyaf0v8x4kl4zv7g7ww2kkg2ii"; 14 + sha256 = "sha256-eqBbQBZaqexgx6m3jAoU/0HWAdHbAuT3slZWMZhrht0="; 15 15 }; 16 16 17 17 # Should the testing kernels ever be built on Hydra?
+2 -1
pkgs/os-specific/linux/kernel/manual-config.nix
··· 114 114 patches = 115 115 map (p: p.patch) kernelPatches 116 116 # Required for deterministic builds along with some postPatch magic. 117 - ++ optional (lib.versionAtLeast version "4.13") ./randstruct-provide-seed.patch 117 + ++ optional (lib.versionAtLeast version "4.13" && lib.versionOlder version "5.19") ./randstruct-provide-seed.patch 118 + ++ optional (lib.versionAtLeast version "5.19") ./randstruct-provide-seed-5.19.patch 118 119 # Fixes determinism by normalizing metadata for the archive of kheaders 119 120 ++ optional (lib.versionAtLeast version "5.2" && lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch; 120 121
+13
pkgs/os-specific/linux/kernel/randstruct-provide-seed-5.19.patch
··· 1 + diff --git a/scripts/gen-randstruct-seed.sh b/scripts/gen-randstruct-seed.sh 2 + index 61017b36c464..7bb494dd2e18 100755 3 + --- a/scripts/gen-randstruct-seed.sh 4 + +++ b/scripts/gen-randstruct-seed.sh 5 + @@ -1,7 +1,7 @@ 6 + #!/bin/sh 7 + # SPDX-License-Identifier: GPL-2.0 8 + 9 + -SEED=$(od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n') 10 + +SEED="NIXOS_RANDSTRUCT_SEED" 11 + echo "$SEED" > "$1" 12 + HASH=$(echo -n "$SEED" | sha256sum | cut -d" " -f1) 13 + echo "#define RANDSTRUCT_HASHED_SEED \"$HASH\"" > "$2"
+152
pkgs/servers/onlyoffice-documentserver/default.nix
··· 1 + { lib 2 + , stdenv 3 + , buildFHSUserEnvBubblewrap 4 + , corefonts 5 + , dejavu_fonts 6 + , dpkg 7 + , fetchurl 8 + , gcc-unwrapped 9 + , liberation_ttf_v1 10 + , writeScript 11 + , xorg 12 + }: 13 + 14 + let 15 + # var/www/onlyoffice/documentserver/server/DocService/docservice 16 + onlyoffice-documentserver = stdenv.mkDerivation rec { 17 + pname = "onlyoffice-documentserver"; 18 + version = "7.1.1-23"; 19 + 20 + src = fetchurl { 21 + url = "https://github.com/ONLYOFFICE/DocumentServer/releases/download/v${lib.concatStringsSep "." (lib.take 3 (lib.splitVersion version))}/onlyoffice-documentserver_amd64.deb"; 22 + sha256 = "sha256-hmQx8htSjFszdSAzJgiU7Lo6ebF7TVRfK8rJbJDhX5Q="; 23 + }; 24 + 25 + preferLocalBuild = true; 26 + 27 + unpackCmd = "dpkg -x $curSrc source"; 28 + 29 + nativeBuildInputs = [ 30 + dpkg 31 + ]; 32 + 33 + installPhase = '' 34 + # replace dangling symlinks which are not copied into fhs with actually files 35 + rm lib/*.so* 36 + for file in var/www/onlyoffice/documentserver/server/FileConverter/bin/*.so* ; do 37 + ln -rs "$file" lib/$(basename "$file") 38 + done 39 + 40 + # NixOS uses systemd, not supervisor 41 + rm -rf etc/supervisor 42 + 43 + install -Dm755 usr/bin/documentserver-prepare4shutdown.sh -t $out/bin 44 + # maintainer scripts which expect supervisorctl, try to write into the nix store or are handled by nixos modules 45 + rm -rf usr/bin 46 + 47 + # .deb default documentation 48 + rm -rf usr/share 49 + 50 + # required for bwrap --bind 51 + mkdir -p var/lib/onlyoffice/ var/www/onlyoffice/documentserver/fonts/ 52 + 53 + mv * $out/ 54 + ''; 55 + 56 + # stripping self extracting javascript binaries likely breaks them 57 + dontStrip = true; 58 + 59 + passthru = { 60 + fhs = buildFHSUserEnvBubblewrap { 61 + name = "onlyoffice-wrapper"; 62 + 63 + targetPkgs = pkgs: [ 64 + gcc-unwrapped.lib 65 + onlyoffice-documentserver 66 + 67 + # fonts 68 + corefonts 69 + dejavu_fonts 70 + liberation_ttf_v1 71 + ]; 72 + 73 + extraBwrapArgs = [ 74 + "--bind var/lib/onlyoffice/ var/lib/onlyoffice/" 75 + "--bind var/lib/onlyoffice/documentserver/sdkjs/common/ var/www/onlyoffice/documentserver/sdkjs/common/" 76 + "--bind var/lib/onlyoffice/documentserver/sdkjs/slide/themes/ var/www/onlyoffice/documentserver/sdkjs/slide/themes/" 77 + "--bind var/lib/onlyoffice/documentserver/fonts/ var/www/onlyoffice/documentserver/fonts/" 78 + "--bind var/lib/onlyoffice/documentserver/server/FileConverter/bin/ var/www/onlyoffice/documentserver/server/FileConverter/bin/" 79 + ]; 80 + 81 + runScript = writeScript "onlyoffice-documentserver-run-script" '' 82 + export NODE_CONFIG_DIR=$2 83 + export NODE_DISABLE_COLORS=1 84 + export NODE_ENV=production-linux 85 + 86 + if [[ $1 == DocService/docservice ]]; then 87 + mkdir -p var/www/onlyoffice/documentserver/sdkjs/slide/themes/ 88 + # symlinking themes/src breaks discovery in allfontsgen 89 + rm -rf var/www/onlyoffice/documentserver/sdkjs/slide/themes/src 90 + cp -r ${onlyoffice-documentserver}/var/www/onlyoffice/documentserver/sdkjs/slide/themes/src var/www/onlyoffice/documentserver/sdkjs/slide/themes/ 91 + chmod -R u+w var/www/onlyoffice/documentserver/sdkjs/slide/themes/ 92 + 93 + # onlyoffice places generated files in those directores 94 + rm -rf var/www/onlyoffice/documentserver/sdkjs/common/* 95 + ${xorg.lndir}/bin/lndir -silent ${onlyoffice-documentserver}/var/www/onlyoffice/documentserver/sdkjs/common/ var/www/onlyoffice/documentserver/sdkjs/common/ 96 + rm -rf var/www/onlyoffice/documentserver/server/FileConverter/bin/* 97 + ${xorg.lndir}/bin/lndir -silent ${onlyoffice-documentserver}/var/www/onlyoffice/documentserver/server/FileConverter/bin/ var/www/onlyoffice/documentserver/server/FileConverter/bin/ 98 + 99 + # https://github.com/ONLYOFFICE/document-server-package/blob/master/common/documentserver/bin/documentserver-generate-allfonts.sh.m4 100 + echo -n Generating AllFonts.js, please wait... 101 + "var/www/onlyoffice/documentserver/server/tools/allfontsgen"\ 102 + --input="${onlyoffice-documentserver}/var/www/onlyoffice/documentserver/core-fonts"\ 103 + --allfonts-web="var/www/onlyoffice/documentserver/sdkjs/common/AllFonts.js"\ 104 + --allfonts="var/www/onlyoffice/documentserver/server/FileConverter/bin/AllFonts.js"\ 105 + --images="var/www/onlyoffice/documentserver/sdkjs/common/Images"\ 106 + --selection="var/www/onlyoffice/documentserver/server/FileConverter/bin/font_selection.bin"\ 107 + --output-web="var/www/onlyoffice/documentserver/fonts"\ 108 + --use-system="true" 109 + echo Done 110 + 111 + echo -n Generating presentation themes, please wait... 112 + "var/www/onlyoffice/documentserver/server/tools/allthemesgen"\ 113 + --converter-dir="var/www/onlyoffice/documentserver/server/FileConverter/bin"\ 114 + --src="var/www/onlyoffice/documentserver/sdkjs/slide/themes"\ 115 + --output="var/www/onlyoffice/documentserver/sdkjs/common/Images" 116 + 117 + "var/www/onlyoffice/documentserver/server/tools/allthemesgen"\ 118 + --converter-dir="var/www/onlyoffice/documentserver/server/FileConverter/bin"\ 119 + --src="var/www/onlyoffice/documentserver/sdkjs/slide/themes"\ 120 + --output="var/www/onlyoffice/documentserver/sdkjs/common/Images"\ 121 + --postfix="ios"\ 122 + --params="280,224" 123 + 124 + "var/www/onlyoffice/documentserver/server/tools/allthemesgen"\ 125 + --converter-dir="var/www/onlyoffice/documentserver/server/FileConverter/bin"\ 126 + --src="var/www/onlyoffice/documentserver/sdkjs/slide/themes"\ 127 + --output="var/www/onlyoffice/documentserver/sdkjs/common/Images"\ 128 + --postfix="android"\ 129 + --params="280,224" 130 + echo Done 131 + fi 132 + 133 + exec var/www/onlyoffice/documentserver/server/$1 134 + ''; 135 + }; 136 + }; 137 + 138 + meta = with lib; { 139 + description = "ONLYOFFICE Document Server is an online office suite comprising viewers and editors"; 140 + longDescription = '' 141 + ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, 142 + fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time. 143 + ''; 144 + homepage = "ONLYOFFICE Document Server is an online office suite comprising viewers and editors"; 145 + license = licenses.agpl3; 146 + platforms = [ "x86_64-linux" ]; 147 + sourceProvenance = sourceTypes.binaryNativeCode; 148 + maintainers = with maintainers; [ SuperSandro2000 ]; 149 + }; 150 + }; 151 + in 152 + onlyoffice-documentserver
+3 -3
pkgs/servers/tailscale/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tailscale"; 5 - version = "1.26.2"; 5 + version = "1.28.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tailscale"; 9 9 repo = "tailscale"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256:0axcqkqrj4l8c63fd316hp0wlndrbry9x3wml7ssah491f4f3g9w"; 11 + sha256 = "sha256-6h9LAtaDIwQb+oU4zNABJeBOMaiKqWvhxsFbwEQNC4o="; 12 12 }; 13 - vendorSha256 = "sha256:0b04ihp5ds8vcqv78kjdz5ffn91yid0pn0aq54jawdd4cfb6bmji"; 13 + vendorSha256 = "sha256-W5QiHhdSP5xPIJWs8LMl+EGu/AE9/aFD2sOZOnDL0yo="; 14 14 15 15 nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper ]; 16 16
+3
pkgs/tools/graphics/amber/default.nix
··· 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , pkg-config 5 + , cctools 5 6 , python3 6 7 , vulkan-headers 7 8 , vulkan-loader ··· 63 64 cmake 64 65 pkg-config 65 66 python3 67 + ] ++ lib.optionals stdenv.isDarwin [ 68 + cctools 66 69 ]; 67 70 68 71 # Tests are disabled so we do not have to pull in googletest and more dependencies
+13
pkgs/tools/graphics/pdftoipe/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pkg-config 5 5 , poppler 6 + , fetchpatch 6 7 }: 7 8 8 9 stdenv.mkDerivation rec { ··· 15 16 rev = "v${version}"; 16 17 sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k="; 17 18 }; 19 + 20 + patches = [ 21 + # Fix build with poppler > 22.03.0 22 + # https://github.com/otfried/ipe-tools/pull/48 23 + (fetchpatch { 24 + url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch"; 25 + sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc="; 26 + stripLen = 1; 27 + name = "poppler_fix_build.patch"; 28 + }) 29 + ]; 30 + 18 31 sourceRoot = "source/pdftoipe"; 19 32 20 33 nativeBuildInputs = [ pkg-config ];
+2 -1
pkgs/tools/graphics/realesrgan-ncnn-vulkan/default.nix
··· 44 44 ]; 45 45 46 46 nativeBuildInputs = [ cmake ]; 47 - buildInputs = [ vulkan-headers vulkan-loader glslang libgcc libwebp ncnn ]; 47 + buildInputs = [ vulkan-headers vulkan-loader glslang libwebp ncnn ] 48 + ++ lib.optional (!stdenv.isDarwin) libgcc; 48 49 49 50 postPatch = '' 50 51 substituteInPlace main.cpp --replace REPLACE_MODELS $out/share/models
+3 -1
pkgs/tools/graphics/wgpu-utils/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, pkg-config, makeWrapper, vulkan-loader }: 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, makeWrapper, vulkan-loader, QuartzCore }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "wgpu-utils"; ··· 17 17 pkg-config 18 18 makeWrapper 19 19 ]; 20 + 21 + buildInputs = lib.optional stdenv.isDarwin QuartzCore; 20 22 21 23 # Tests fail, as the Nix sandbox doesn't provide an appropriate adapter (e.g. Vulkan). 22 24 doCheck = false;
+48
pkgs/tools/misc/eget/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildGoModule 4 + , pandoc 5 + , installShellFiles 6 + , nix-update-script 7 + , testers 8 + , eget 9 + }: 10 + 11 + buildGoModule rec { 12 + pname = "eget"; 13 + version = "1.1.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "zyedidia"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "sha256-+sl98pOc3YSy7LnEWsoPQwUtmY/pgMKOX73glzu+3MM="; 20 + }; 21 + 22 + vendorSha256 = "sha256-axJqi41Fj+MJnaLzSOnSws9/c/0dSkUAtaWkVXNmFxI="; 23 + 24 + ldflags = [ "-s" "-w" "-X main.Version=v${version}" ]; 25 + 26 + nativeBuildInputs = [ pandoc installShellFiles ]; 27 + 28 + postInstall = '' 29 + pandoc man/eget.md -s -t man -o eget.1 30 + installManPage eget.1 31 + ''; 32 + 33 + passthru = { 34 + updateScript = nix-update-script { attrPath = pname; }; 35 + tests.version = testers.testVersion { 36 + package = eget; 37 + command = "eget -v"; 38 + version = "v${version}"; 39 + }; 40 + }; 41 + 42 + meta = with lib; { 43 + description = "Easily install prebuilt binaries from GitHub"; 44 + homepage = "https://github.com/zyedidia/eget"; 45 + license = licenses.mit; 46 + maintainers = with maintainers; [ zendo ]; 47 + }; 48 + }
+11 -3
pkgs/tools/misc/ncdu/default.nix
··· 1 - { lib, stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, zig, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ncdu"; 5 - version = "1.17"; 5 + version = "2.1.2"; 6 6 7 7 src = fetchurl { 8 8 url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-gQdFqO0as3iMh9OupMwaFO327iJvdkvMOD4CS6Vq2/E="; 9 + sha256 = "sha256-ng1u8DYYo8MWcmv0khe37+Rc7HWLLJF86JLe10Myxtw="; 10 10 }; 11 11 12 + XDG_CACHE_HOME="Cache"; # FIXME This should be set in stdenv 13 + 14 + nativeBuildInputs = [ 15 + zig 16 + ]; 17 + 12 18 buildInputs = [ ncurses ]; 19 + 20 + PREFIX = placeholder "out"; 13 21 14 22 meta = with lib; { 15 23 description = "Disk usage analyzer with an ncurses interface";
+3 -11
pkgs/tools/misc/ncdu_2/default.nix pkgs/tools/misc/ncdu/1.nix
··· 1 - { lib, stdenv, fetchurl, zig, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ncdu"; 5 - version = "2.1.2"; 5 + version = "1.17"; 6 6 7 7 src = fetchurl { 8 8 url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-ng1u8DYYo8MWcmv0khe37+Rc7HWLLJF86JLe10Myxtw="; 9 + sha256 = "sha256-gQdFqO0as3iMh9OupMwaFO327iJvdkvMOD4CS6Vq2/E="; 10 10 }; 11 11 12 - XDG_CACHE_HOME="Cache"; # FIXME This should be set in stdenv 13 - 14 - nativeBuildInputs = [ 15 - zig 16 - ]; 17 - 18 12 buildInputs = [ ncurses ]; 19 - 20 - PREFIX = placeholder "out"; 21 13 22 14 meta = with lib; { 23 15 description = "Disk usage analyzer with an ncurses interface";
+21 -4
pkgs/tools/misc/yubikey-manager-qt/default.nix
··· 1 1 { lib 2 2 , mkDerivation 3 3 , fetchurl 4 + , imagemagick 4 5 , pcsclite 5 6 , pyotherside 6 7 , python3 ··· 24 25 nativeBuildInputs = [ 25 26 python3.pkgs.wrapPython 26 27 qmake 28 + imagemagick 27 29 ]; 28 30 29 31 postPatch = '' ··· 43 45 ]; 44 46 45 47 postInstall = '' 46 - install -Dt $out/share/applications resources/ykman-gui.desktop 47 - install -Dt $out/share/ykman-gui/icons resources/icons/*.{icns,ico,png,xpm} 48 - substituteInPlace $out/share/applications/ykman-gui.desktop \ 49 - --replace 'Exec=ykman-gui' "Exec=$out/bin/ykman-gui" 48 + # Desktop files 49 + install -D -m0644 resources/ykman-gui.desktop "$out/share/applications/ykman-gui.desktop" 50 + substituteInPlace "$out/share/applications/ykman-gui.desktop" \ 51 + --replace Exec=ykman-gui "Exec=$out/bin/ykman-gui" 52 + 53 + # Icons 54 + install -Dt $out/share/ykman-gui/icons resources/icons/*.{icns,ico} 55 + install -D -m0644 resources/icons/ykman.png "$out/share/icons/hicolor/128x128/apps/ykman.png" 56 + ln -s -- "$out/share/icons/hicolor/128x128/apps/ykman.png" "$out/share/icons/hicolor/128x128/apps/ykman-gui.png" 57 + for SIZE in 16 24 32 48 64 96; do 58 + # set modify/create for reproducible builds 59 + convert -scale ''${SIZE} +set date:create +set date:modify \ 60 + resources/icons/ykman.png ykman.png 61 + 62 + imageFolder="$out/share/icons/hicolor/''${SIZE}x''${SIZE}/apps" 63 + install -D -m0644 ykman.png "$imageFolder/ykman.png" 64 + ln -s -- "$imageFolder/ykman.png" "$imageFolder/ykman-gui.png" 65 + done 66 + unset SIZE imageFolder 50 67 ''; 51 68 52 69 qtWrapperArgs = [
+2 -2
pkgs/tools/security/beyond-identity/default.nix
··· 5 5 6 6 let 7 7 pname = "beyond-identity"; 8 - version = "2.49.0-0"; 8 + version = "2.60.0-0"; 9 9 libPath = lib.makeLibraryPath ([ glib glibc openssl tpm2-tss gtk3 gnome.gnome-keyring polkit polkit_gnome ]); 10 10 meta = with lib; { 11 11 description = "Passwordless MFA identities for workforces, customers, and developers"; ··· 22 22 23 23 src = fetchurl { 24 24 url = "https://packages.beyondidentity.com/public/linux-authenticator/deb/ubuntu/pool/focal/main/b/be/${pname}_${version}/${pname}_${version}_amd64.deb"; 25 - sha512 = "sha512-+9vwH1r5WW+MqyiwsAFInboaM7o2dc7zvRaKwHC/o2LOBugvUHmUzmZ6uSHilc9zQ5FcHUIIglhkASbFtsvPeA=="; 25 + sha512 = "sha512-JrHLf7KkJVbJLxx54OTvOSaIzY3+hjX+bpkeBHKX23YriCJssUUvEP6vlbI4r6gjMMFMhW92k0iikAgD1Tr4ug=="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "exploitdb"; 9 - version = "2022-07-12"; 9 + version = "2022-07-22"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "offensive-security"; 13 13 repo = pname; 14 14 rev = "refs/tags/${version}"; 15 - hash = "sha256-fnhiLB5Ga2yWhj0/w94d9gl874ekPJBwiIgK8DapN+w="; 15 + hash = "sha256-36zfLPXAeYVJQ448E5xuwrNR4cb7xpjwqOQY/WcteQ0="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+3 -3
pkgs/tools/security/jadx/default.nix
··· 2 2 3 3 let 4 4 pname = "jadx"; 5 - version = "1.4.2"; 5 + version = "1.4.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "skylot"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-WSQyym9RMrCiWlb2O4Cd7/ra2UNTL8XsaSNnSTAmhjs="; 11 + hash = "sha256-5Cx5rwXUNnVSbLjkpB6qeudRHI4RVzl6T4zo7Dg9geo="; 12 12 }; 13 13 14 14 deps = stdenv.mkDerivation { ··· 40 40 ''; 41 41 42 42 outputHashMode = "recursive"; 43 - outputHash = "sha256-LCF03nTC7T2YxlLIWO3zgrbJVTCQOU8Who9NIqvicb4="; 43 + outputHash = "sha256-Q7eGZQJZObLyZlp8JyodA3gEAgfh7ub+BNQh/LEm2Nk="; 44 44 }; 45 45 in stdenv.mkDerivation { 46 46 inherit pname version src;
+1
pkgs/top-level/aliases.nix
··· 919 919 920 920 ### N ### 921 921 922 + ncdu_2 = ncdu; # Added 2022-07-22 922 923 nccl = throw "nccl has been renamed to cudaPackages.nccl"; # Added 2022-04-04 923 924 nccl_cudatoolkit_10 = throw "nccl_cudatoolkit_10 has been renamed to cudaPackages_10.nccl"; # Added 2022-04-04 924 925 nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04
+20 -4
pkgs/top-level/all-packages.nix
··· 2050 2050 2051 2051 betterdiscord-installer = callPackage ../tools/misc/betterdiscord-installer { }; 2052 2052 2053 - binocle = callPackage ../applications/misc/binocle { }; 2053 + binocle = callPackage ../applications/misc/binocle { 2054 + inherit (darwin.apple_sdk.frameworks) AppKit CoreFoundation CoreGraphics CoreVideo Foundation Metal QuartzCore; 2055 + }; 2054 2056 2055 2057 bitwise = callPackage ../tools/misc/bitwise { }; 2056 2058 ··· 2490 2492 2491 2493 gtklp = callPackage ../tools/misc/gtklp { }; 2492 2494 2493 - google-amber = callPackage ../tools/graphics/amber { }; 2495 + google-amber = callPackage ../tools/graphics/amber { 2496 + inherit (darwin) cctools; 2497 + }; 2494 2498 2495 2499 hakrawler = callPackage ../tools/security/hakrawler { }; 2496 2500 ··· 5806 5810 efibootmgr = callPackage ../tools/system/efibootmgr { }; 5807 5811 5808 5812 efivar = callPackage ../tools/system/efivar { }; 5813 + 5814 + eget = callPackage ../tools/misc/eget { }; 5809 5815 5810 5816 evemu = callPackage ../tools/system/evemu { }; 5811 5817 ··· 12006 12012 }); 12007 12013 }; 12008 12014 12009 - wgpu-utils = callPackage ../tools/graphics/wgpu-utils { }; 12015 + wgpu-utils = callPackage ../tools/graphics/wgpu-utils { 12016 + inherit (darwin.apple_sdk.frameworks) QuartzCore; 12017 + }; 12010 12018 12011 12019 wg-bond = callPackage ../applications/networking/wg-bond { }; 12012 12020 ··· 22542 22550 22543 22551 oauth2-proxy = callPackage ../servers/oauth2-proxy { }; 22544 22552 22553 + onlyoffice-documentserver = callPackage ../servers/onlyoffice-documentserver { }; 22554 + 22545 22555 openbgpd = callPackage ../servers/openbgpd { }; 22546 22556 22547 22557 openafs_1_8 = callPackage ../servers/openafs/1.8 { tsmbac = null; ncurses = null; }; ··· 24656 24666 24657 24667 cnstrokeorder = callPackage ../data/fonts/cnstrokeorder {}; 24658 24668 24669 + colloid-gtk-theme = callPackage ../data/themes/colloid-gtk-theme { }; 24670 + 24659 24671 comfortaa = callPackage ../data/fonts/comfortaa {}; 24660 24672 24661 24673 comic-mono = callPackage ../data/fonts/comic-mono { }; ··· 25279 25291 25280 25292 qogir-icon-theme = callPackage ../data/icons/qogir-icon-theme { }; 25281 25293 25294 + qogir-kde = callPackage ../data/themes/qogir-kde { }; 25295 + 25282 25296 qogir-theme = callPackage ../data/themes/qogir { }; 25283 25297 25284 25298 quintom-cursor-theme = callPackage ../data/icons/quintom-cursor-theme { }; ··· 27894 27908 texinfo = texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. 27895 27909 }; 27896 27910 27911 + avalonia-ilspy = callPackage ../applications/misc/avalonia-ilspy { }; 27912 + 27897 27913 imag = callPackage ../applications/misc/imag { 27898 27914 inherit (darwin.apple_sdk.frameworks) Security; 27899 27915 }; ··· 29263 29279 netcoredbg = callPackage ../development/tools/misc/netcoredbg { }; 29264 29280 29265 29281 ncdu = callPackage ../tools/misc/ncdu { }; 29266 - ncdu_2 = callPackage ../tools/misc/ncdu_2 { }; 29282 + ncdu_1 = callPackage ../tools/misc/ncdu/1.nix { }; 29267 29283 29268 29284 ncdc = callPackage ../applications/networking/p2p/ncdc { }; 29269 29285
+5 -1
pkgs/top-level/darwin-packages.nix
··· 148 148 149 149 lsusb = callPackage ../os-specific/darwin/lsusb { }; 150 150 151 - moltenvk = callPackage ../os-specific/darwin/moltenvk { }; 151 + moltenvk = pkgs.darwin.apple_sdk_11_0.callPackage ../os-specific/darwin/moltenvk { 152 + inherit (apple_sdk_11_0.frameworks) AppKit Foundation Metal QuartzCore; 153 + inherit (apple_sdk_11_0) MacOSX-SDK Libsystem; 154 + inherit (pkgs.darwin) cctools sigtool; 155 + }; 152 156 153 157 opencflite = callPackage ../os-specific/darwin/opencflite { }; 154 158
+2
pkgs/top-level/python-packages.nix
··· 6757 6757 6758 6758 plaid-python = callPackage ../development/python-modules/plaid-python { }; 6759 6759 6760 + plantuml = callPackage ../development/python-modules/plantuml { }; 6761 + 6760 6762 plaster = callPackage ../development/python-modules/plaster { }; 6761 6763 6762 6764 plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy { };