Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 7e521652 814e127d

+625 -257
+6
maintainers/maintainer-list.nix
··· 9142 githubId = 8900; 9143 name = "Johan Magnus Jonsson"; 9144 }; 9145 jmbaur = { 9146 email = "jaredbaur@fastmail.com"; 9147 github = "jmbaur";
··· 9142 githubId = 8900; 9143 name = "Johan Magnus Jonsson"; 9144 }; 9145 + jmarmstrong1207 = { 9146 + name = "James Armstrong"; 9147 + email = "jm.armstrong1207@gmail.com"; 9148 + github = "jmarmstrong1207"; 9149 + githubId = 32995055; 9150 + }; 9151 jmbaur = { 9152 email = "jaredbaur@fastmail.com"; 9153 github = "jmbaur";
+5 -5
nixos/modules/services/security/vaultwarden/default.nix
··· 180 users.groups.vaultwarden = { }; 181 182 systemd.services.vaultwarden = { 183 - aliases = [ "bitwarden_rs.service" ]; 184 after = [ "network.target" ]; 185 path = with pkgs; [ openssl ]; 186 serviceConfig = { ··· 202 }; 203 204 systemd.services.backup-vaultwarden = mkIf (cfg.backupDir != null) { 205 - aliases = [ "backup-bitwarden_rs.service" ]; 206 description = "Backup vaultwarden"; 207 environment = { 208 DATA_FOLDER = "/var/lib/bitwarden_rs"; ··· 222 }; 223 224 systemd.timers.backup-vaultwarden = mkIf (cfg.backupDir != null) { 225 - aliases = [ "backup-bitwarden_rs.timer" ]; 226 description = "Backup vaultwarden on time"; 227 timerConfig = { 228 OnCalendar = mkDefault "23:00"; ··· 240 }; 241 }; 242 243 - # uses attributes of the linked package 244 - meta.buildDocsInSandbox = false; 245 }
··· 180 users.groups.vaultwarden = { }; 181 182 systemd.services.vaultwarden = { 183 after = [ "network.target" ]; 184 path = with pkgs; [ openssl ]; 185 serviceConfig = { ··· 201 }; 202 203 systemd.services.backup-vaultwarden = mkIf (cfg.backupDir != null) { 204 description = "Backup vaultwarden"; 205 environment = { 206 DATA_FOLDER = "/var/lib/bitwarden_rs"; ··· 220 }; 221 222 systemd.timers.backup-vaultwarden = mkIf (cfg.backupDir != null) { 223 description = "Backup vaultwarden on time"; 224 timerConfig = { 225 OnCalendar = mkDefault "23:00"; ··· 237 }; 238 }; 239 240 + meta = { 241 + # uses attributes of the linked package 242 + buildDocsInSandbox = false; 243 + maintainers = with lib.maintainers; [ dotlambda SuperSandro2000 ]; 244 + }; 245 }
-1
pkgs/README.md
··· 416 417 ```nix 418 src = fetchgit { 419 - url = "git@github.com:NixOS/nix.git" 420 url = "git://github.com/NixOS/nix.git"; 421 rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae"; 422 hash = "sha256-7D4m+saJjbSFP5hOwpQq2FGR2rr+psQMTcyb1ZvtXsQ=";
··· 416 417 ```nix 418 src = fetchgit { 419 url = "git://github.com/NixOS/nix.git"; 420 rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae"; 421 hash = "sha256-7D4m+saJjbSFP5hOwpQq2FGR2rr+psQMTcyb1ZvtXsQ=";
+1
pkgs/applications/audio/amberol/default.nix
··· 74 maintainers = with maintainers; [ linsui ]; 75 license = licenses.gpl3Plus; 76 platforms = platforms.linux; 77 }; 78 }
··· 74 maintainers = with maintainers; [ linsui ]; 75 license = licenses.gpl3Plus; 76 platforms = platforms.linux; 77 + mainProgram = "amberol"; 78 }; 79 }
+2 -2
pkgs/applications/display-managers/emptty/default.nix
··· 8 9 buildGoModule rec { 10 pname = "emptty"; 11 - version = "0.11.0"; 12 13 src = fetchFromGitHub { 14 owner = "tvrzna"; 15 repo = pname; 16 rev = "v${version}"; 17 - hash = "sha256-nReExxLbqlbzx1F1vk8qftWafG8umH988egsalSUals="; 18 }; 19 20 buildInputs = [ pam libX11 ];
··· 8 9 buildGoModule rec { 10 pname = "emptty"; 11 + version = "0.12.0"; 12 13 src = fetchFromGitHub { 14 owner = "tvrzna"; 15 repo = pname; 16 rev = "v${version}"; 17 + hash = "sha256-64Ta0k4TzJcQC+RDybHzFUj96ZSRUOeYQ2U9KFjDXjk="; 18 }; 19 20 buildInputs = [ pam libX11 ];
+1
pkgs/applications/misc/dialect/default.nix
··· 77 maintainers = with maintainers; [ linsui ]; 78 license = licenses.gpl3Plus; 79 platforms = platforms.linux; 80 }; 81 }
··· 77 maintainers = with maintainers; [ linsui ]; 78 license = licenses.gpl3Plus; 79 platforms = platforms.linux; 80 + mainProgram = "dialect"; 81 }; 82 }
+1
pkgs/applications/misc/wike/default.nix
··· 70 license = licenses.gpl3Plus; 71 platforms = platforms.linux; 72 maintainers = with maintainers; [ samalws ]; 73 }; 74 }
··· 70 license = licenses.gpl3Plus; 71 platforms = platforms.linux; 72 maintainers = with maintainers; [ samalws ]; 73 + mainProgram = "wike"; 74 }; 75 }
+2 -2
pkgs/applications/networking/browsers/brave/default.nix
··· 93 94 stdenv.mkDerivation rec { 95 pname = "brave"; 96 - version = "1.63.162"; 97 98 src = fetchurl { 99 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 100 - hash = "sha256-kRIYdSBAjBVX3EZQv0OWifD+XIpGAqAVTcrdxGAifEI="; 101 }; 102 103 dontConfigure = true;
··· 93 94 stdenv.mkDerivation rec { 95 pname = "brave"; 96 + version = "1.63.165"; 97 98 src = fetchurl { 99 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 100 + hash = "sha256-UyzOV6sUv7WdwN31TIg35HGchrUSXnvzk3Aba/d8dJc="; 101 }; 102 103 dontConfigure = true;
+1
pkgs/applications/networking/p2p/fragments/default.nix
··· 83 maintainers = with maintainers; [ emilytrau ]; 84 license = licenses.gpl3Plus; 85 platforms = platforms.linux; 86 }; 87 }
··· 83 maintainers = with maintainers; [ emilytrau ]; 84 license = licenses.gpl3Plus; 85 platforms = platforms.linux; 86 + mainProgram = "fragments"; 87 }; 88 }
+3 -3
pkgs/applications/networking/p2p/transgui/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "transgui"; 7 - version = "unstable-2023-10-19"; 8 9 src = fetchFromGitHub { 10 owner = "transmission-remote-gui"; 11 repo = "transgui"; 12 - rev = "b1f5c2334edb6659c04863ef4a534ba1e57284f0"; 13 - hash = "sha256-XCokcA5lINC9B+qwg0vjkymwa16ZNHRKLI829+X7CvE="; 14 }; 15 16 nativeBuildInputs = [ pkg-config unzip ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "transgui"; 7 + version = "unstable-2024-02-26"; 8 9 src = fetchFromGitHub { 10 owner = "transmission-remote-gui"; 11 repo = "transgui"; 12 + rev = "25df397d92fbd53b970ef72a6ffd9f644458f935"; 13 + hash = "sha256-jQIe2vTDeJM/lhl6alNhEPOqXjyd18x+Kg29+le/dks="; 14 }; 15 16 nativeBuildInputs = [ pkg-config unzip ];
+350 -142
pkgs/build-support/writers/scripts.nix
··· 1 - { pkgs, buildPackages, lib, stdenv, libiconv, mkNugetDeps, mkNugetSource, gixy }: 2 let 3 inherit (lib) 4 concatMapStringsSep ··· 6 escapeShellArg 7 last 8 optionalString 9 - stringLength 10 strings 11 types 12 ; ··· 18 # Examples: 19 # writeBash = makeScriptWriter { interpreter = "${pkgs.bash}/bin/bash"; } 20 # makeScriptWriter { interpreter = "${pkgs.dash}/bin/dash"; } "hello" "echo hello world" 21 - makeScriptWriter = { interpreter, check ? "" }: nameOrPath: content: 22 assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null); 23 assert lib.or (types.path.check content) (types.str.check content); 24 let 25 name = last (builtins.split "/" nameOrPath); 26 - in 27 28 - pkgs.runCommandLocal name ( 29 - lib.optionalAttrs (nameOrPath == "/bin/${name}") { 30 - meta.mainProgram = name; 31 - } 32 - // ( 33 - if (types.str.check content) then { 34 - inherit content interpreter; 35 - passAsFile = [ "content" ]; 36 - } else { 37 - inherit interpreter; 38 - contentPath = content; 39 - } 40 - ) 41 - ) 42 - '' 43 - # On darwin a script cannot be used as an interpreter in a shebang but 44 - # there doesn't seem to be a limit to the size of shebang and multiple 45 - # arguments to the interpreter are allowed. 46 - if [[ -n "${toString pkgs.stdenvNoCC.isDarwin}" ]] && isScript $interpreter 47 - then 48 - wrapperInterpreterLine=$(head -1 "$interpreter" | tail -c+3) 49 - # Get first word from the line (note: xargs echo remove leading spaces) 50 - wrapperInterpreter=$(echo "$wrapperInterpreterLine" | xargs echo | cut -d " " -f1) 51 52 - if isScript $wrapperInterpreter 53 - then 54 - echo "error: passed interpreter ($interpreter) is a script which has another script ($wrapperInterpreter) as an interpreter, which is not supported." 55 - exit 1 56 - fi 57 58 - # This should work as long as wrapperInterpreter is a shell, which is 59 - # the case for programs wrapped with makeWrapper, like 60 - # python3.withPackages etc. 61 - interpreterLine="$wrapperInterpreterLine $interpreter" 62 - else 63 - interpreterLine=$interpreter 64 - fi 65 66 - echo "#! $interpreterLine" > $out 67 - cat "$contentPath" >> $out 68 - ${optionalString (check != "") '' 69 - ${check} $out 70 - ''} 71 - chmod +x $out 72 - ${optionalString (types.path.check nameOrPath) '' 73 - mv $out tmp 74 - mkdir -p $out/$(dirname "${nameOrPath}") 75 - mv tmp $out/${nameOrPath} 76 - ''} 77 - ''; 78 79 # Base implementation for compiled executables. 80 # Takes a compile script, which in turn takes the name as an argument. 81 # 82 # Examples: 83 # writeSimpleC = makeBinWriter { compileScript = name: "gcc -o $out $contentPath"; } 84 - makeBinWriter = { compileScript, strip ? true }: nameOrPath: content: 85 assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null); 86 assert lib.or (types.path.check content) (types.str.check content); 87 let 88 name = last (builtins.split "/" nameOrPath); 89 in 90 - pkgs.runCommand name ((if (types.str.check content) then { 91 - inherit content; 92 - passAsFile = [ "content" ]; 93 - } else { 94 - contentPath = content; 95 - }) // lib.optionalAttrs (nameOrPath == "/bin/${name}") { 96 - meta.mainProgram = name; 97 - }) '' 98 - ${compileScript} 99 - ${lib.optionalString strip 100 - "${lib.getBin buildPackages.bintools-unwrapped}/bin/${buildPackages.bintools-unwrapped.targetPrefix}strip -S $out"} 101 - # Sometimes binaries produced for darwin (e. g. by GHC) won't be valid 102 - # mach-o executables from the get-go, but need to be corrected somehow 103 - # which is done by fixupPhase. 104 - ${lib.optionalString pkgs.stdenvNoCC.hostPlatform.isDarwin "fixupPhase"} 105 - ${optionalString (types.path.check nameOrPath) '' 106 - mv $out tmp 107 - mkdir -p $out/$(dirname "${nameOrPath}") 108 - mv tmp $out/${nameOrPath} 109 - ''} 110 - ''; 111 112 # Like writeScript but the first line is a shebang to bash 113 # 114 - # Example: 115 # writeBash "example" '' 116 # echo hello world 117 # '' 118 - writeBash = makeScriptWriter { 119 - interpreter = "${lib.getExe pkgs.bash}"; 120 - }; 121 122 # Like writeScriptBin but the first line is a shebang to bash 123 writeBashBin = name: 124 writeBash "/bin/${name}"; 125 126 # Like writeScript but the first line is a shebang to dash 127 # 128 - # Example: 129 # writeDash "example" '' 130 # echo hello world 131 # '' 132 - writeDash = makeScriptWriter { 133 - interpreter = "${lib.getExe pkgs.dash}"; 134 - }; 135 136 # Like writeScriptBin but the first line is a shebang to dash 137 writeDashBin = name: 138 writeDash "/bin/${name}"; 139 140 # Like writeScript but the first line is a shebang to fish 141 # 142 - # Example: 143 # writeFish "example" '' 144 # echo hello world 145 # '' 146 - writeFish = makeScriptWriter { 147 - interpreter = "${lib.getExe pkgs.fish} --no-config"; 148 - check = "${lib.getExe pkgs.fish} --no-config --no-execute"; # syntax check only 149 - }; 150 151 # Like writeScriptBin but the first line is a shebang to fish 152 writeFishBin = name: 153 writeFish "/bin/${name}"; 154 ··· 162 # main = launchMissiles 163 # ''; 164 writeHaskell = name: { 165 - libraries ? [], 166 ghc ? pkgs.ghc, 167 ghcArgs ? [], 168 threadedRuntime ? true, 169 - strip ? true 170 }: 171 let 172 appendIfNotSet = el: list: if elem el list then list else list ++ [ el ]; ··· 178 ${(ghc.withPackages (_: libraries ))}/bin/ghc ${lib.escapeShellArgs ghcArgs'} tmp.hs 179 mv tmp $out 180 ''; 181 - inherit strip; 182 } name; 183 184 # writeHaskellBin takes the same arguments as writeHaskell but outputs a directory (like writeScriptBin) ··· 187 188 # Like writeScript but the first line is a shebang to nu 189 # 190 - # Example: 191 # writeNu "example" '' 192 # echo hello world 193 # '' 194 - writeNu = makeScriptWriter { 195 - interpreter = "${lib.getExe pkgs.nushell} --no-config-file"; 196 - }; 197 198 # Like writeScriptBin but the first line is a shebang to nu 199 writeNuBin = name: 200 writeNu "/bin/${name}"; 201 202 # makeRubyWriter takes ruby and compatible rubyPackages and produces ruby script writer, 203 # If any libraries are specified, ruby.withPackages is used as interpreter, otherwise the "bare" ruby is used. 204 - makeRubyWriter = ruby: rubyPackages: buildRubyPackages: name: { libraries ? [], }: 205 - makeScriptWriter { 206 - interpreter = 207 - if libraries == [] 208 - then "${ruby}/bin/ruby" 209 - else "${(ruby.withPackages (ps: libraries))}/bin/ruby"; 210 - # Rubocop doesnt seem to like running in this fashion. 211 - #check = (writeDash "rubocop.sh" '' 212 - # exec ${lib.getExe buildRubyPackages.rubocop} "$1" 213 - #''); 214 - } name; 215 216 # Like writeScript but the first line is a shebang to ruby 217 # 218 # Example: 219 - # writeRuby "example" '' 220 # puts "hello world" 221 # '' 222 writeRuby = makeRubyWriter pkgs.ruby pkgs.rubyPackages buildPackages.rubyPackages; ··· 227 # makeLuaWriter takes lua and compatible luaPackages and produces lua script writer, 228 # which validates the script with luacheck at build time. If any libraries are specified, 229 # lua.withPackages is used as interpreter, otherwise the "bare" lua is used. 230 - makeLuaWriter = lua: luaPackages: buildLuaPackages: name: { libraries ? [], }: 231 - makeScriptWriter { 232 - interpreter = lua.interpreter; 233 - # if libraries == [] 234 - # then lua.interpreter 235 - # else (lua.withPackages (ps: libraries)).interpreter 236 - # This should support packages! I just cant figure out why some dependency collision happens whenever I try to run this. 237 - check = (writeDash "luacheck.sh" '' 238 - exec ${buildLuaPackages.luacheck}/bin/luacheck "$1" 239 - ''); 240 - } name; 241 242 # writeLua takes a name an attributeset with libraries and some lua source code and 243 # returns an executable (should also work with luajit) ··· 265 writeLua "/bin/${name}"; 266 267 writeRust = name: { 268 - rustc ? pkgs.rustc, 269 - rustcArgs ? [], 270 - strip ? true 271 }: 272 let 273 darwinArgs = lib.optionals stdenv.isDarwin [ "-L${lib.getLib libiconv}/lib" ]; ··· 277 cp "$contentPath" tmp.rs 278 PATH=${lib.makeBinPath [pkgs.gcc]} ${rustc}/bin/rustc ${lib.escapeShellArgs rustcArgs} ${lib.escapeShellArgs darwinArgs} -o "$out" tmp.rs 279 ''; 280 - inherit strip; 281 } name; 282 283 writeRustBin = name: ··· 337 # use boolean; 338 # print "Howdy!\n" if true; 339 # '' 340 - writePerl = name: { libraries ? [] }: 341 - makeScriptWriter { 342 - interpreter = "${lib.getExe (pkgs.perl.withPackages (p: libraries))}"; 343 - } name; 344 345 # writePerlBin takes the same arguments as writePerl but outputs a directory (like writeScriptBin) 346 writePerlBin = name: ··· 349 # makePythonWriter takes python and compatible pythonPackages and produces python script writer, 350 # which validates the script with flake8 at build time. If any libraries are specified, 351 # python.withPackages is used as interpreter, otherwise the "bare" python is used. 352 - makePythonWriter = python: pythonPackages: buildPythonPackages: name: { libraries ? [], flakeIgnore ? [] }: 353 let 354 ignoreAttribute = optionalString (flakeIgnore != []) "--ignore ${concatMapStringsSep "," escapeShellArg flakeIgnore}"; 355 in 356 - makeScriptWriter { 357 - interpreter = 358 - if pythonPackages != pkgs.pypy2Packages || pythonPackages != pkgs.pypy3Packages then 359 - if libraries == [] 360 - then python.interpreter 361 - else (python.withPackages (ps: libraries)).interpreter 362 - else python.interpreter 363 - ; 364 - check = optionalString python.isPy3k (writeDash "pythoncheck.sh" '' 365 - exec ${buildPythonPackages.flake8}/bin/flake8 --show-source ${ignoreAttribute} "$1" 366 - ''); 367 - } name; 368 369 # writePyPy2 takes a name an attributeset with libraries and some pypy2 sourcecode and 370 # returns an executable ··· 421 writePyPy3 "/bin/${name}"; 422 423 424 - makeFSharpWriter = { dotnet-sdk ? pkgs.dotnet-sdk, fsi-flags ? "", libraries ? _: [] }: nameOrPath: 425 let 426 fname = last (builtins.split "/" nameOrPath); 427 path = if strings.hasSuffix ".fsx" nameOrPath then nameOrPath else "${nameOrPath}.fsx"; ··· 442 ${lib.getExe dotnet-sdk} fsi --quiet --nologo --readline- ${fsi-flags} "$@" < "$script" 443 ''; 444 445 - in content: makeScriptWriter { 446 - interpreter = fsi; 447 - } path 448 '' 449 #i "nuget: ${nuget-source}/lib" 450 ${ content } ··· 456 457 writeFSharpBin = name: 458 writeFSharp "/bin/${name}"; 459 - 460 }
··· 1 + { 2 + buildPackages, 3 + gixy, 4 + lib, 5 + libiconv, 6 + makeBinaryWrapper, 7 + mkNugetDeps, 8 + mkNugetSource, 9 + pkgs, 10 + stdenv, 11 + }: 12 let 13 inherit (lib) 14 concatMapStringsSep ··· 16 escapeShellArg 17 last 18 optionalString 19 strings 20 types 21 ; ··· 27 # Examples: 28 # writeBash = makeScriptWriter { interpreter = "${pkgs.bash}/bin/bash"; } 29 # makeScriptWriter { interpreter = "${pkgs.dash}/bin/dash"; } "hello" "echo hello world" 30 + makeScriptWriter = { interpreter, check ? "", makeWrapperArgs ? [], }: nameOrPath: content: 31 assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null); 32 assert lib.or (types.path.check content) (types.str.check content); 33 let 34 + nameIsPath = types.path.check nameOrPath; 35 name = last (builtins.split "/" nameOrPath); 36 + path = if nameIsPath then nameOrPath else "/bin/${name}"; 37 + # The inner derivation which creates the executable under $out/bin (never at $out directly) 38 + # This is required in order to support wrapping, as wrapped programs consist of at least two files: the executable and the wrapper. 39 + inner = 40 + pkgs.runCommandLocal name ( 41 + { 42 + inherit makeWrapperArgs; 43 + nativeBuildInputs = [ 44 + makeBinaryWrapper 45 + ]; 46 + meta.mainProgram = name; 47 + } 48 + // ( 49 + if (types.str.check content) then { 50 + inherit content interpreter; 51 + passAsFile = [ "content" ]; 52 + } else { 53 + inherit interpreter; 54 + contentPath = content; 55 + } 56 + ) 57 + ) 58 + '' 59 + # On darwin a script cannot be used as an interpreter in a shebang but 60 + # there doesn't seem to be a limit to the size of shebang and multiple 61 + # arguments to the interpreter are allowed. 62 + if [[ -n "${toString pkgs.stdenvNoCC.isDarwin}" ]] && isScript $interpreter 63 + then 64 + wrapperInterpreterLine=$(head -1 "$interpreter" | tail -c+3) 65 + # Get first word from the line (note: xargs echo remove leading spaces) 66 + wrapperInterpreter=$(echo "$wrapperInterpreterLine" | xargs echo | cut -d " " -f1) 67 68 + if isScript $wrapperInterpreter 69 + then 70 + echo "error: passed interpreter ($interpreter) is a script which has another script ($wrapperInterpreter) as an interpreter, which is not supported." 71 + exit 1 72 + fi 73 74 + # This should work as long as wrapperInterpreter is a shell, which is 75 + # the case for programs wrapped with makeWrapper, like 76 + # python3.withPackages etc. 77 + interpreterLine="$wrapperInterpreterLine $interpreter" 78 + else 79 + interpreterLine=$interpreter 80 + fi 81 82 + echo "#! $interpreterLine" > $out 83 + cat "$contentPath" >> $out 84 + ${optionalString (check != "") '' 85 + ${check} $out 86 + ''} 87 + chmod +x $out 88 89 + # Relocate executable 90 + # Wrap it if makeWrapperArgs are specified 91 + mv $out tmp 92 + mkdir -p $out/$(dirname "${path}") 93 + mv tmp $out/${path} 94 + if [ -n "''${makeWrapperArgs+''${makeWrapperArgs[@]}}" ]; then 95 + wrapProgram $out/${path} ''${makeWrapperArgs[@]} 96 + fi 97 + ''; 98 + in 99 + if nameIsPath 100 + then inner 101 + # In case nameOrPath is a name, the user intends the executable to be located at $out. 102 + # This is achieved by creating a separate derivation containing a symlink at $out linking to ${inner}/bin/${name}. 103 + # This breaks the override pattern. 104 + # In case this turns out to be a problem, we can still add more magic 105 + else pkgs.runCommandLocal name {} '' 106 + ln -s ${inner}/bin/${name} $out 107 + ''; 108 + 109 110 # Base implementation for compiled executables. 111 # Takes a compile script, which in turn takes the name as an argument. 112 # 113 # Examples: 114 # writeSimpleC = makeBinWriter { compileScript = name: "gcc -o $out $contentPath"; } 115 + makeBinWriter = { compileScript, strip ? true, makeWrapperArgs ? [] }: nameOrPath: content: 116 assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null); 117 assert lib.or (types.path.check content) (types.str.check content); 118 let 119 + nameIsPath = types.path.check nameOrPath; 120 name = last (builtins.split "/" nameOrPath); 121 + path = if nameIsPath then nameOrPath else "/bin/${name}"; 122 + # The inner derivation which creates the executable under $out/bin (never at $out directly) 123 + # This is required in order to support wrapping, as wrapped programs consist of at least two files: the executable and the wrapper. 124 + inner = 125 + pkgs.runCommandLocal name ( 126 + { 127 + inherit makeWrapperArgs; 128 + nativeBuildInputs = [ 129 + makeBinaryWrapper 130 + ]; 131 + meta.mainProgram = name; 132 + } 133 + // ( 134 + if (types.str.check content) then { 135 + inherit content; 136 + passAsFile = [ "content" ]; 137 + } else { 138 + contentPath = content; 139 + } 140 + ) 141 + ) 142 + '' 143 + ${compileScript} 144 + ${lib.optionalString strip 145 + "${lib.getBin buildPackages.bintools-unwrapped}/bin/${buildPackages.bintools-unwrapped.targetPrefix}strip -S $out"} 146 + # Sometimes binaries produced for darwin (e. g. by GHC) won't be valid 147 + # mach-o executables from the get-go, but need to be corrected somehow 148 + # which is done by fixupPhase. 149 + ${lib.optionalString pkgs.stdenvNoCC.hostPlatform.isDarwin "fixupPhase"} 150 + mv $out tmp 151 + mkdir -p $out/$(dirname "${path}") 152 + mv tmp $out/${path} 153 + if [ -n "''${makeWrapperArgs+''${makeWrapperArgs[@]}}" ]; then 154 + wrapProgram $out/${path} ''${makeWrapperArgs[@]} 155 + fi 156 + ''; 157 in 158 + if nameIsPath 159 + then inner 160 + # In case nameOrPath is a name, the user intends the executable to be located at $out. 161 + # This is achieved by creating a separate derivation containing a symlink at $out linking to ${inner}/bin/${name}. 162 + # This breaks the override pattern. 163 + # In case this turns out to be a problem, we can still add more magic 164 + else pkgs.runCommandLocal name {} '' 165 + ln -s ${inner}/bin/${name} $out 166 + ''; 167 168 # Like writeScript but the first line is a shebang to bash 169 # 170 + # Can be called with or without extra arguments. 171 + # 172 + # Example without arguments: 173 # writeBash "example" '' 174 # echo hello world 175 # '' 176 + # 177 + # Example with arguments: 178 + # writeBash "example" 179 + # { 180 + # makeWrapperArgs = [ 181 + # "--prefix" "PATH" ":" "${pkgs.hello}/bin" 182 + # ]; 183 + # } 184 + # '' 185 + # hello 186 + # '' 187 + writeBash = name: argsOrScript: 188 + if lib.isAttrs argsOrScript && ! lib.isDerivation argsOrScript 189 + then makeScriptWriter (argsOrScript // { interpreter = "${lib.getExe pkgs.bash}"; }) name 190 + else makeScriptWriter { interpreter = "${lib.getExe pkgs.bash}"; } name argsOrScript; 191 192 # Like writeScriptBin but the first line is a shebang to bash 193 + # 194 + # Can be called with or without extra arguments. 195 + # 196 + # Example without arguments: 197 + # writeBashBin "example" '' 198 + # echo hello world 199 + # '' 200 + # 201 + # Example with arguments: 202 + # writeBashBin "example" 203 + # { 204 + # makeWrapperArgs = [ 205 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 206 + # ]; 207 + # } 208 + # '' 209 + # hello 210 + # '' 211 writeBashBin = name: 212 writeBash "/bin/${name}"; 213 214 # Like writeScript but the first line is a shebang to dash 215 # 216 + # Can be called with or without extra arguments. 217 + # 218 + # Example without arguments: 219 # writeDash "example" '' 220 # echo hello world 221 # '' 222 + # 223 + # Example with arguments: 224 + # writeDash "example" 225 + # { 226 + # makeWrapperArgs = [ 227 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 228 + # ]; 229 + # } 230 + # '' 231 + # hello 232 + # '' 233 + writeDash = name: argsOrScript: 234 + if lib.isAttrs argsOrScript && ! lib.isDerivation argsOrScript 235 + then makeScriptWriter (argsOrScript // { interpreter = "${lib.getExe pkgs.dash}"; }) name 236 + else makeScriptWriter { interpreter = "${lib.getExe pkgs.dash}"; } name argsOrScript; 237 238 # Like writeScriptBin but the first line is a shebang to dash 239 + # 240 + # Can be called with or without extra arguments. 241 + # 242 + # Example without arguments: 243 + # writeDashBin "example" '' 244 + # echo hello world 245 + # '' 246 + # 247 + # Example with arguments: 248 + # writeDashBin "example" 249 + # { 250 + # makeWrapperArgs = [ 251 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 252 + # ]; 253 + # } 254 + # '' 255 + # hello 256 + # '' 257 writeDashBin = name: 258 writeDash "/bin/${name}"; 259 260 # Like writeScript but the first line is a shebang to fish 261 # 262 + # Can be called with or without extra arguments. 263 + # 264 + # Example without arguments: 265 # writeFish "example" '' 266 # echo hello world 267 # '' 268 + # 269 + # Example with arguments: 270 + # writeFish "example" 271 + # { 272 + # makeWrapperArgs = [ 273 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 274 + # ]; 275 + # } 276 + # '' 277 + # hello 278 + # '' 279 + writeFish = name: argsOrScript: 280 + if lib.isAttrs argsOrScript && ! lib.isDerivation argsOrScript 281 + then makeScriptWriter (argsOrScript // { 282 + interpreter = "${lib.getExe pkgs.fish} --no-config"; 283 + check = "${lib.getExe pkgs.fish} --no-config --no-execute"; # syntax check only 284 + }) name 285 + else makeScriptWriter { 286 + interpreter = "${lib.getExe pkgs.fish} --no-config"; 287 + check = "${lib.getExe pkgs.fish} --no-config --no-execute"; # syntax check only 288 + } name argsOrScript; 289 290 # Like writeScriptBin but the first line is a shebang to fish 291 + # 292 + # Can be called with or without extra arguments. 293 + # 294 + # Example without arguments: 295 + # writeFishBin "example" '' 296 + # echo hello world 297 + # '' 298 + # 299 + # Example with arguments: 300 + # writeFishBin "example" 301 + # { 302 + # makeWrapperArgs = [ 303 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 304 + # ]; 305 + # } 306 + # '' 307 + # hello 308 + # '' 309 writeFishBin = name: 310 writeFish "/bin/${name}"; 311 ··· 319 # main = launchMissiles 320 # ''; 321 writeHaskell = name: { 322 ghc ? pkgs.ghc, 323 ghcArgs ? [], 324 + libraries ? [], 325 + makeWrapperArgs ? [], 326 + strip ? true, 327 threadedRuntime ? true, 328 }: 329 let 330 appendIfNotSet = el: list: if elem el list then list else list ++ [ el ]; ··· 336 ${(ghc.withPackages (_: libraries ))}/bin/ghc ${lib.escapeShellArgs ghcArgs'} tmp.hs 337 mv tmp $out 338 ''; 339 + inherit makeWrapperArgs strip; 340 } name; 341 342 # writeHaskellBin takes the same arguments as writeHaskell but outputs a directory (like writeScriptBin) ··· 345 346 # Like writeScript but the first line is a shebang to nu 347 # 348 + # Can be called with or without extra arguments. 349 + # 350 + # Example without arguments: 351 # writeNu "example" '' 352 # echo hello world 353 # '' 354 + # 355 + # Example with arguments: 356 + # writeNu "example" 357 + # { 358 + # makeWrapperArgs = [ 359 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 360 + # ]; 361 + # } 362 + # '' 363 + # hello 364 + # '' 365 + writeNu = name: argsOrScript: 366 + if lib.isAttrs argsOrScript && ! lib.isDerivation argsOrScript 367 + then makeScriptWriter (argsOrScript // { interpreter = "${lib.getExe pkgs.nushell} --no-config-file"; }) name 368 + else makeScriptWriter { interpreter = "${lib.getExe pkgs.nushell} --no-config-file"; } name argsOrScript; 369 + 370 371 # Like writeScriptBin but the first line is a shebang to nu 372 + # 373 + # Can be called with or without extra arguments. 374 + # 375 + # Example without arguments: 376 + # writeNuBin "example" '' 377 + # echo hello world 378 + # '' 379 + # 380 + # Example with arguments: 381 + # writeNuBin "example" 382 + # { 383 + # makeWrapperArgs = [ 384 + # "--prefix", "PATH", ":", "${pkgs.hello}/bin", 385 + # ]; 386 + # } 387 + # '' 388 + # hello 389 + # '' 390 writeNuBin = name: 391 writeNu "/bin/${name}"; 392 393 # makeRubyWriter takes ruby and compatible rubyPackages and produces ruby script writer, 394 # If any libraries are specified, ruby.withPackages is used as interpreter, otherwise the "bare" ruby is used. 395 + makeRubyWriter = ruby: rubyPackages: buildRubyPackages: name: { libraries ? [], ... } @ args: 396 + makeScriptWriter ( 397 + (builtins.removeAttrs args ["libraries"]) 398 + // { 399 + interpreter = 400 + if libraries == [] 401 + then "${ruby}/bin/ruby" 402 + else "${(ruby.withPackages (ps: libraries))}/bin/ruby"; 403 + # Rubocop doesn't seem to like running in this fashion. 404 + #check = (writeDash "rubocop.sh" '' 405 + # exec ${lib.getExe buildRubyPackages.rubocop} "$1" 406 + #''); 407 + } 408 + ) name; 409 410 # Like writeScript but the first line is a shebang to ruby 411 # 412 # Example: 413 + # writeRuby "example" { libraries = [ pkgs.rubyPackages.git ]; } '' 414 # puts "hello world" 415 # '' 416 writeRuby = makeRubyWriter pkgs.ruby pkgs.rubyPackages buildPackages.rubyPackages; ··· 421 # makeLuaWriter takes lua and compatible luaPackages and produces lua script writer, 422 # which validates the script with luacheck at build time. If any libraries are specified, 423 # lua.withPackages is used as interpreter, otherwise the "bare" lua is used. 424 + makeLuaWriter = lua: luaPackages: buildLuaPackages: name: { libraries ? [], ... } @ args: 425 + makeScriptWriter ( 426 + (builtins.removeAttrs args ["libraries"]) 427 + // { 428 + interpreter = lua.interpreter; 429 + # if libraries == [] 430 + # then lua.interpreter 431 + # else (lua.withPackages (ps: libraries)).interpreter 432 + # This should support packages! I just cant figure out why some dependency collision happens whenever I try to run this. 433 + check = (writeDash "luacheck.sh" '' 434 + exec ${buildLuaPackages.luacheck}/bin/luacheck "$1" 435 + ''); 436 + } 437 + ) name; 438 439 # writeLua takes a name an attributeset with libraries and some lua source code and 440 # returns an executable (should also work with luajit) ··· 462 writeLua "/bin/${name}"; 463 464 writeRust = name: { 465 + makeWrapperArgs ? [], 466 + rustc ? pkgs.rustc, 467 + rustcArgs ? [], 468 + strip ? true, 469 }: 470 let 471 darwinArgs = lib.optionals stdenv.isDarwin [ "-L${lib.getLib libiconv}/lib" ]; ··· 475 cp "$contentPath" tmp.rs 476 PATH=${lib.makeBinPath [pkgs.gcc]} ${rustc}/bin/rustc ${lib.escapeShellArgs rustcArgs} ${lib.escapeShellArgs darwinArgs} -o "$out" tmp.rs 477 ''; 478 + inherit makeWrapperArgs strip; 479 } name; 480 481 writeRustBin = name: ··· 535 # use boolean; 536 # print "Howdy!\n" if true; 537 # '' 538 + writePerl = name: { libraries ? [], ... } @ args: 539 + makeScriptWriter ( 540 + (builtins.removeAttrs args ["libraries"]) 541 + // { 542 + interpreter = "${lib.getExe (pkgs.perl.withPackages (p: libraries))}"; 543 + } 544 + ) name; 545 546 # writePerlBin takes the same arguments as writePerl but outputs a directory (like writeScriptBin) 547 writePerlBin = name: ··· 550 # makePythonWriter takes python and compatible pythonPackages and produces python script writer, 551 # which validates the script with flake8 at build time. If any libraries are specified, 552 # python.withPackages is used as interpreter, otherwise the "bare" python is used. 553 + makePythonWriter = python: pythonPackages: buildPythonPackages: name: { libraries ? [], flakeIgnore ? [], ... } @ args: 554 let 555 ignoreAttribute = optionalString (flakeIgnore != []) "--ignore ${concatMapStringsSep "," escapeShellArg flakeIgnore}"; 556 in 557 + makeScriptWriter 558 + ( 559 + (builtins.removeAttrs args ["libraries" "flakeIgnore"]) 560 + // { 561 + interpreter = 562 + if pythonPackages != pkgs.pypy2Packages || pythonPackages != pkgs.pypy3Packages then 563 + if libraries == [] 564 + then python.interpreter 565 + else (python.withPackages (ps: libraries)).interpreter 566 + else python.interpreter 567 + ; 568 + check = optionalString python.isPy3k (writeDash "pythoncheck.sh" '' 569 + exec ${buildPythonPackages.flake8}/bin/flake8 --show-source ${ignoreAttribute} "$1" 570 + ''); 571 + } 572 + ) 573 + name; 574 575 # writePyPy2 takes a name an attributeset with libraries and some pypy2 sourcecode and 576 # returns an executable ··· 627 writePyPy3 "/bin/${name}"; 628 629 630 + makeFSharpWriter = { dotnet-sdk ? pkgs.dotnet-sdk, fsi-flags ? "", libraries ? _: [], ... } @ args: nameOrPath: 631 let 632 fname = last (builtins.split "/" nameOrPath); 633 path = if strings.hasSuffix ".fsx" nameOrPath then nameOrPath else "${nameOrPath}.fsx"; ··· 648 ${lib.getExe dotnet-sdk} fsi --quiet --nologo --readline- ${fsi-flags} "$@" < "$script" 649 ''; 650 651 + in content: makeScriptWriter ( 652 + (builtins.removeAttrs args ["dotnet-sdk" "fsi-flags" "libraries"]) 653 + // { 654 + interpreter = fsi; 655 + } 656 + ) path 657 '' 658 #i "nuget: ${nuget-source}/lib" 659 ${ content } ··· 665 666 writeFSharpBin = name: 667 writeFSharp "/bin/${name}"; 668 }
+82 -6
pkgs/build-support/writers/test.nix
··· 1 - { glib 2 - , haskellPackages 3 , lib 4 , nodePackages 5 , perlPackages 6 - , pypy2Packages 7 , python3Packages 8 - , pypy3Packages 9 - , luaPackages 10 - , rubyPackages 11 , runCommand 12 , testers 13 , writers ··· 309 file = writeYAML "data.yaml" { hello = "world"; }; 310 expected = "hello: world\n"; 311 }; 312 }; 313 }
··· 1 + { haskellPackages 2 , lib 3 , nodePackages 4 , perlPackages 5 , python3Packages 6 , runCommand 7 , testers 8 , writers ··· 304 file = writeYAML "data.yaml" { hello = "world"; }; 305 expected = "hello: world\n"; 306 }; 307 + }; 308 + 309 + wrapping = lib.recurseIntoAttrs { 310 + bash-bin = expectSuccessBin ( 311 + writeBashBin "test-writers-wrapping-bash-bin" 312 + { 313 + makeWrapperArgs = [ 314 + "--set" 315 + "ThaigerSprint" 316 + "Thailand" 317 + ]; 318 + } 319 + '' 320 + if [[ "$ThaigerSprint" == "Thailand" ]]; then 321 + echo "success" 322 + fi 323 + '' 324 + ); 325 + 326 + bash = expectSuccess ( 327 + writeBash "test-writers-wrapping-bash" 328 + { 329 + makeWrapperArgs = [ 330 + "--set" 331 + "ThaigerSprint" 332 + "Thailand" 333 + ]; 334 + } 335 + '' 336 + if [[ "$ThaigerSprint" == "Thailand" ]]; then 337 + echo "success" 338 + fi 339 + '' 340 + ); 341 + 342 + python = expectSuccess ( 343 + writePython3 "test-writers-wrapping-python" 344 + { 345 + makeWrapperArgs = [ 346 + "--set" 347 + "ThaigerSprint" 348 + "Thailand" 349 + ]; 350 + } 351 + '' 352 + import os 353 + 354 + if os.environ.get("ThaigerSprint") == "Thailand": 355 + print("success") 356 + '' 357 + ); 358 + 359 + rust = expectSuccess ( 360 + writeRust "test-writers-wrapping-rust" 361 + { 362 + makeWrapperArgs = [ 363 + "--set" 364 + "ThaigerSprint" 365 + "Thailand" 366 + ]; 367 + } 368 + '' 369 + fn main(){ 370 + if std::env::var("ThaigerSprint").unwrap() == "Thailand" { 371 + println!("success") 372 + } 373 + } 374 + '' 375 + ); 376 + 377 + no-empty-wrapper = let 378 + bin = writeBashBin "bin" { makeWrapperArgs = []; } ''true''; 379 + in runCommand "run-test-writers-wrapping-no-empty-wrapper" {} '' 380 + ls -A ${bin}/bin 381 + if [ $(ls -A ${bin}/bin | wc -l) -eq 1 ]; then 382 + touch $out 383 + else 384 + echo "Error: Empty wrapper was created" >&2 385 + exit 1 386 + fi 387 + ''; 388 }; 389 }
+2 -2
pkgs/by-name/fe/feather/package.nix
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "feather"; 24 - version = "2.6.2"; 25 26 src = fetchFromGitHub { 27 owner = "feather-wallet"; 28 repo = "feather"; 29 rev = finalAttrs.version; 30 - hash = "sha256-23rG+12pAw33rm+jDu9pp8TsumNYh+UbnbeEKs4yB+M="; 31 fetchSubmodules = true; 32 }; 33
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "feather"; 24 + version = "2.6.3"; 25 26 src = fetchFromGitHub { 27 owner = "feather-wallet"; 28 repo = "feather"; 29 rev = finalAttrs.version; 30 + hash = "sha256-pQnaJbKznK1i8wn7t8ZnxLVu1LV/D47krxZZ0j6Mw6g="; 31 fetchSubmodules = true; 32 }; 33
+60
pkgs/by-name/gx/gxml/package.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitLab 4 + , gobject-introspection 5 + , meson 6 + , ninja 7 + , pkg-config 8 + , vala 9 + , glib 10 + , libgee 11 + , libxml2 12 + , gitUpdater 13 + }: 14 + 15 + stdenv.mkDerivation (finalAttrs: { 16 + pname = "gxml"; 17 + version = "0.20.3"; 18 + 19 + outputs = [ "out" "dev" "devdoc" ]; 20 + 21 + src = fetchFromGitLab { 22 + domain = "gitlab.gnome.org"; 23 + owner = "GNOME"; 24 + repo = "gxml"; 25 + rev = finalAttrs.version; 26 + hash = "sha256-GlctGxsLyQ2kPV3oBmusRiouG4PPncBTh3vgxhVaQOo="; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + gobject-introspection 31 + meson 32 + ninja 33 + pkg-config 34 + vala 35 + ]; 36 + 37 + propagatedBuildInputs = [ 38 + glib 39 + libgee 40 + libxml2 41 + ]; 42 + 43 + postPatch = '' 44 + # https://gitlab.gnome.org/GNOME/gxml/-/merge_requests/24 45 + substituteInPlace gxml/gxml.pc.in \ 46 + --replace-fail "includedir=@prefix@/include" "includedir=${placeholder "dev"}/include" 47 + ''; 48 + 49 + doCheck = true; 50 + 51 + passthru.updateScript = gitUpdater { }; 52 + 53 + meta = with lib; { 54 + description = "GXml provides a GObject API for manipulating XML and a Serializable framework from GObject to XML"; 55 + homepage = "https://gitlab.gnome.org/GNOME/gxml"; 56 + license = licenses.lgpl21Plus; 57 + platforms = platforms.linux; 58 + maintainers = with maintainers; [ jmarmstrong1207 ] ++ teams.gnome.members; 59 + }; 60 + })
+3 -3
pkgs/by-name/ne/netclient/package.nix
··· 8 9 buildGoModule rec { 10 pname = "netclient"; 11 - version = "0.22.0"; 12 13 src = fetchFromGitHub { 14 owner = "gravitl"; 15 repo = "netclient"; 16 rev = "v${version}"; 17 - hash = "sha256-7raWk4Y/ZrSaGKPLrrnD49aDALkZ+Nxycd+px8Eks10="; 18 }; 19 20 - vendorHash = "sha256-lRXZ9iSWQEKWmeQV1ei/G4+HvqhW9U8yUv1Qb/d2jvY="; 21 22 buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa 23 ++ lib.optional stdenv.isLinux libX11;
··· 8 9 buildGoModule rec { 10 pname = "netclient"; 11 + version = "0.23.0"; 12 13 src = fetchFromGitHub { 14 owner = "gravitl"; 15 repo = "netclient"; 16 rev = "v${version}"; 17 + hash = "sha256-Wglh6tcpanEmXwoRKdAot/l4RS+EbIIHI1etQ9ic7BI="; 18 }; 19 20 + vendorHash = "sha256-or/0z+RiOkZ2qgEqXNI/LafN+eWAzvLuSZta/QNUI3g="; 21 22 buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa 23 ++ lib.optional stdenv.isLinux libX11;
+2 -2
pkgs/by-name/sp/spicetify-cli/package.nix
··· 2 3 buildGoModule rec { 4 pname = "spicetify-cli"; 5 - version = "2.33.0"; 6 7 src = fetchFromGitHub { 8 owner = "spicetify"; 9 repo = "spicetify-cli"; 10 rev = "v${version}"; 11 - hash = "sha256-1bakWUhB47o37pV6cbfDRdHdqreGKFhU7LFajIM5mhw="; 12 }; 13 14 vendorHash = "sha256-9rYShpUVI3KSY6UgGmoXo899NkUezkAAkTgFPdq094E=";
··· 2 3 buildGoModule rec { 4 pname = "spicetify-cli"; 5 + version = "2.33.1"; 6 7 src = fetchFromGitHub { 8 owner = "spicetify"; 9 repo = "spicetify-cli"; 10 rev = "v${version}"; 11 + hash = "sha256-nKbdwgxHiI1N2REEI7WrPf54uy4Nm1XU0g5hEjYriEY="; 12 }; 13 14 vendorHash = "sha256-9rYShpUVI3KSY6UgGmoXo899NkUezkAAkTgFPdq094E=";
+3 -3
pkgs/development/interpreters/wasmer/default.nix
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "wasmer"; 17 - version = "4.2.5"; 18 19 src = fetchFromGitHub { 20 owner = "wasmerio"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-zCaN0F6a8qkZkOmHMU0D70KaY4H8pUXElJbyvOCjogc="; 24 }; 25 26 - cargoHash = "sha256-ugysqLQlnSzm0W4zW6LPSn6KjwpAtJZGEkzk/nWahWg="; 27 28 nativeBuildInputs = [ 29 rustPlatform.bindgenHook
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "wasmer"; 17 + version = "4.2.6"; 18 19 src = fetchFromGitHub { 20 owner = "wasmerio"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-FSplJAVdy/b0HXvW1qny052I7Fm9EA83/XqmgEvneeg="; 24 }; 25 26 + cargoHash = "sha256-OYHPudXGsDLVx6XKTsJTxqG5cbOAD25sd5KJDyU9lvY="; 27 28 nativeBuildInputs = [ 29 rustPlatform.bindgenHook
+12 -5
pkgs/development/python-modules/albumentations/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , numpy 5 , opencv4 6 , pyyaml 7 , qudida 8 , scikit-image 9 , scipy 10 , pytestCheckHook 11 , pythonOlder 12 , pythonRelaxDepsHook ··· 14 15 buildPythonPackage rec { 16 pname = "albumentations"; 17 - version = "1.3.1"; 18 - format = "setuptools"; 19 20 - disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-pqODiP5UbFaAcejIL0FEmOhsntA8CLWOeoizHPeiRMY="; 25 }; 26 27 nativeBuildInputs = [ ··· 32 "opencv-python" 33 ]; 34 35 - propagatedBuildInputs = [ 36 numpy 37 opencv4 38 pyyaml ··· 42 ]; 43 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ]; 47
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , setuptools 5 , numpy 6 , opencv4 7 , pyyaml 8 , qudida 9 , scikit-image 10 , scipy 11 + , deepdiff 12 , pytestCheckHook 13 , pythonOlder 14 , pythonRelaxDepsHook ··· 16 17 buildPythonPackage rec { 18 pname = "albumentations"; 19 + version = "1.4.0"; 20 + pyproject = true; 21 22 + disabled = pythonOlder "3.8"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-ZJ+KFIlveIs1bsxwCDxPuRvtq0/04rOa0heoJOGJ3tA="; 27 }; 28 29 nativeBuildInputs = [ ··· 34 "opencv-python" 35 ]; 36 37 + build-system = [ 38 + setuptools 39 + ]; 40 + 41 + dependencies = [ 42 numpy 43 opencv4 44 pyyaml ··· 48 ]; 49 50 nativeCheckInputs = [ 51 + deepdiff 52 pytestCheckHook 53 ]; 54
+2 -2
pkgs/development/python-modules/apprise/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "apprise"; 22 - version = "1.7.2"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 - hash = "sha256-CeFZspAI5sjpPX/8PBXUGcC7rkFiBAX48tNDK3Ki6b8="; 30 }; 31 32 nativeBuildInputs = [
··· 19 20 buildPythonPackage rec { 21 pname = "apprise"; 22 + version = "1.7.3"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 + hash = "sha256-MeKmOUB7uNJmJJ/Adf8xfp00/1lRxuFr/u/dwq9f6Ew="; 30 }; 31 32 nativeBuildInputs = [
+4 -2
pkgs/development/python-modules/approvaltests/default.nix
··· 15 , pythonOlder 16 , setuptools 17 , testfixtures 18 }: 19 20 buildPythonPackage rec { 21 pname = "approvaltests"; 22 - version = "11.0.0"; 23 pyproject = true; 24 25 disabled = pythonOlder "3.8"; ··· 28 owner = "approvals"; 29 repo = "ApprovalTests.Python"; 30 rev = "refs/tags/v${version}"; 31 - hash = "sha256-Ep95niYin3urtiMFSVY792zpFAcu6MwQN9DA/IJLSQQ="; 32 }; 33 34 nativeBuildInputs = [ ··· 45 pyperclip 46 pytest 47 testfixtures 48 ]; 49 50 nativeCheckInputs = [
··· 15 , pythonOlder 16 , setuptools 17 , testfixtures 18 + , typing-extensions 19 }: 20 21 buildPythonPackage rec { 22 pname = "approvaltests"; 23 + version = "11.1.0"; 24 pyproject = true; 25 26 disabled = pythonOlder "3.8"; ··· 29 owner = "approvals"; 30 repo = "ApprovalTests.Python"; 31 rev = "refs/tags/v${version}"; 32 + hash = "sha256-F03qctswG0/y2ZCdHCacHsMiBZFTmEEegYXIIB2UPlc="; 33 }; 34 35 nativeBuildInputs = [ ··· 46 pyperclip 47 pytest 48 testfixtures 49 + typing-extensions 50 ]; 51 52 nativeCheckInputs = [
+10 -2
pkgs/development/python-modules/certauth/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , pyopenssl 5 , tldextract 6 , pytestCheckHook ··· 10 buildPythonPackage rec { 11 pname = "certauth"; 12 version = "1.3.0"; 13 - format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 ··· 24 25 postPatch = '' 26 substituteInPlace setup.py \ 27 - --replace "--cov certauth " "" 28 ''; 29 30 propagatedBuildInputs = [ 31 pyopenssl 32 tldextract ··· 41 ]; 42 43 disabledTests = [ 44 # Tests want to download Public Suffix List 45 "test_file_wildcard" 46 "test_file_wildcard_subdomains"
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , setuptools 5 , pyopenssl 6 , tldextract 7 , pytestCheckHook ··· 11 buildPythonPackage rec { 12 pname = "certauth"; 13 version = "1.3.0"; 14 + pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 ··· 25 26 postPatch = '' 27 substituteInPlace setup.py \ 28 + --replace-fail "--cov certauth " "" 29 ''; 30 31 + nativeBuildInputs = [ 32 + setuptools 33 + ]; 34 + 35 propagatedBuildInputs = [ 36 pyopenssl 37 tldextract ··· 46 ]; 47 48 disabledTests = [ 49 + # https://github.com/ikreymer/certauth/issues/23 50 + "test_ca_cert_in_mem" 51 + "test_custom_not_before_not_after" 52 # Tests want to download Public Suffix List 53 "test_file_wildcard" 54 "test_file_wildcard_subdomains"
+3 -3
pkgs/development/python-modules/clarabel/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "clarabel"; 14 - version = "0.7.0"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-udpW9SKAaoR/Ps4I9fIfq3UG7sMUiyJEYZDeUgbdHm8="; 20 }; 21 22 cargoDeps = rustPlatform.fetchCargoTarball { 23 inherit src; 24 name = "${pname}-${version}"; 25 - hash = "sha256-R/o12m2UqKte4H1pvW9DN0YPDhgNIxt0mXrfBDMzcwM="; 26 }; 27 28 nativeBuildInputs = with rustPlatform; [
··· 11 12 buildPythonPackage rec { 13 pname = "clarabel"; 14 + version = "0.7.1"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-owqxNfR1xbx4Mp/X31dSkRVeYFW8rwISTrYQuK0XY5Y="; 20 }; 21 22 cargoDeps = rustPlatform.fetchCargoTarball { 23 inherit src; 24 name = "${pname}-${version}"; 25 + hash = "sha256-Tg9K66WIIAZyua8QlKrlUnpRJRmuxe7ihIr2Vqg79NQ="; 26 }; 27 28 nativeBuildInputs = with rustPlatform; [
+2 -2
pkgs/development/python-modules/ibm-watson/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "ibm-watson"; 17 - version = "7.0.1"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; ··· 23 owner = "watson-developer-cloud"; 24 repo = "python-sdk"; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-f/nf9WFiUNDQBkFNMV16EznCw0TN9L4fDIPQ/j4B1Sc="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "ibm-watson"; 17 + version = "8.0.0"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; ··· 23 owner = "watson-developer-cloud"; 24 repo = "python-sdk"; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-p2LyR7Fxd0Ny6QCypAWIusnINuhWAhWOnRfZ14FKvro="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ipyvue/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "ipyvue"; 11 - version = "1.10.1"; 12 format = "setuptools"; 13 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-IGFc6GulFs8Leq2EzGB+TiyRBCMulUzQ7MvzNTCl4dQ="; 19 }; 20 21 propagatedBuildInputs = [ ipywidgets ];
··· 8 9 buildPythonPackage rec { 10 pname = "ipyvue"; 11 + version = "1.10.2"; 12 format = "setuptools"; 13 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-qZc1hvouKWUQ2aJLk1oiokUKzKBXtd6fC6tm7LHDOrQ="; 19 }; 20 21 propagatedBuildInputs = [ ipywidgets ];
+4 -1
pkgs/development/python-modules/mrjob/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 5 # propagates ··· 25 buildPythonPackage rec { 26 pname = "mrjob"; 27 version = "0.7.4"; 28 - format = "setuptools"; 29 30 src = fetchFromGitHub { 31 owner = "Yelp";
··· 1 { lib 2 , buildPythonPackage 3 + , pythonAtLeast 4 , fetchFromGitHub 5 6 # propagates ··· 26 buildPythonPackage rec { 27 pname = "mrjob"; 28 version = "0.7.4"; 29 + 30 + # https://github.com/Yelp/mrjob/issues/2222 31 + disabled = pythonAtLeast "3.12"; 32 33 src = fetchFromGitHub { 34 owner = "Yelp";
+2 -5
pkgs/development/python-modules/numpyro/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "numpyro"; 18 - version = "0.13.2"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit version pname; 25 - hash = "sha256-Um8LFVGAlMeOaN9uMwycHJzqEnTaxp8FYXIk+m2VTug="; 26 }; 27 28 propagatedBuildInputs = [ ··· 62 "test_zero_inflated_logits_probs_agree" 63 # NameError: unbound axis name: _provenance 64 "test_model_transformation" 65 - # Using deprecated (removed in jax==0.4.24) jax.core.safe_map 66 - # https://github.com/pyro-ppl/numpyro/issues/1733 67 - "test_beta_bernoulli" 68 ]; 69 70 # TODO: remove when tensorflow-probability gets fixed.
··· 15 16 buildPythonPackage rec { 17 pname = "numpyro"; 18 + version = "0.14.0"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.9"; 22 23 src = fetchPypi { 24 inherit version pname; 25 + hash = "sha256-PkPqqchDRz166TnBg+ENsU4ju0KwrR3pCuFaRRF23kg="; 26 }; 27 28 propagatedBuildInputs = [ ··· 62 "test_zero_inflated_logits_probs_agree" 63 # NameError: unbound axis name: _provenance 64 "test_model_transformation" 65 ]; 66 67 # TODO: remove when tensorflow-probability gets fixed.
+2 -2
pkgs/development/python-modules/requests-ratelimiter/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "requests-ratelimiter"; 13 - version = "0.5.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "JWCook"; 18 repo = "requests-ratelimiter"; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-JdxyBLrxXXb2KJ89qWl7yXP0fIafgnAguPGsN5iit8Y="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "requests-ratelimiter"; 13 + version = "0.6.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "JWCook"; 18 repo = "requests-ratelimiter"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-ctCD+vlV90KCO7DdPUZJipBC/lz6NXx0gYuHHrs22IY="; 21 }; 22 23 nativeBuildInputs = [
+24 -24
pkgs/development/tools/azure-static-sites-client/versions.json
··· 1 [ 2 { 3 "version": "latest", 4 - "buildId": "1.0.025891", 5 - "publishDate": "2024-02-02T19:23:37.1915908Z", 6 "files": { 7 "linux-x64": { 8 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/linux/StaticSitesClient", 9 - "sha": "798b4032d1b6cd3f7057a6b7510c502dd69fa8cb4d27d47433542e8e80e9f87c" 10 }, 11 "win-x64": { 12 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/windows/StaticSitesClient.exe", 13 - "sha": "097f9633c12b55e85e4ea9c053576a94b4f5847ce3a5a7671112c881878cfc4b" 14 }, 15 "osx-x64": { 16 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/macOS/StaticSitesClient", 17 - "sha": "142310370774f91526c5d08ebde2f0b224b4f7f88bb6e514d25c1ef6f04fd8c8" 18 } 19 } 20 }, 21 { 22 "version": "stable", 23 - "buildId": "1.0.025891", 24 - "publishDate": "2024-02-02T19:23:37.1915908Z", 25 "files": { 26 "linux-x64": { 27 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/linux/StaticSitesClient", 28 - "sha": "798b4032d1b6cd3f7057a6b7510c502dd69fa8cb4d27d47433542e8e80e9f87c" 29 }, 30 "win-x64": { 31 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/windows/StaticSitesClient.exe", 32 - "sha": "097f9633c12b55e85e4ea9c053576a94b4f5847ce3a5a7671112c881878cfc4b" 33 }, 34 "osx-x64": { 35 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/macOS/StaticSitesClient", 36 - "sha": "142310370774f91526c5d08ebde2f0b224b4f7f88bb6e514d25c1ef6f04fd8c8" 37 } 38 } 39 }, 40 { 41 "version": "backup", 42 - "buildId": "1.0.025241", 43 - "publishDate": "2023-11-30T02:51:40.8356813Z", 44 "files": { 45 "linux-x64": { 46 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025241/linux/StaticSitesClient", 47 - "sha": "e4ccb44c516e03e6dcc2a26a35ffd4c84a61dfea581990dd5c0edb7c12662db0" 48 }, 49 "win-x64": { 50 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025241/windows/StaticSitesClient.exe", 51 - "sha": "4146ac01a488910d6ea066e1c46505048b0c9af2e74ef273c4236b387796712d" 52 }, 53 "osx-x64": { 54 - "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025241/macOS/StaticSitesClient", 55 - "sha": "05b213d7861454368d2c9801b0ccc75cfd13cb48f8e121fffaa2ab7e9b5671cd" 56 } 57 } 58 }
··· 1 [ 2 { 3 "version": "latest", 4 + "buildId": "1.0.026164", 5 + "publishDate": "2024-02-29T20:38:30.619614Z", 6 "files": { 7 "linux-x64": { 8 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/linux/StaticSitesClient", 9 + "sha": "7b2d674a63fb0cb1ee39b84348260755c872a2922d03c0ee55eea1c8eb385524" 10 }, 11 "win-x64": { 12 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/windows/StaticSitesClient.exe", 13 + "sha": "57f8db0e48c772f4eadd9cbab1996354ecdf193f0d123df02dfa4a7eb6398a15" 14 }, 15 "osx-x64": { 16 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/macOS/StaticSitesClient", 17 + "sha": "fd0e8fe34ba0776c1fc44a8e66017b3abe33b044f429a95e6863919e920bf555" 18 } 19 } 20 }, 21 { 22 "version": "stable", 23 + "buildId": "1.0.026164", 24 + "publishDate": "2024-02-29T20:38:30.619614Z", 25 "files": { 26 "linux-x64": { 27 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/linux/StaticSitesClient", 28 + "sha": "7b2d674a63fb0cb1ee39b84348260755c872a2922d03c0ee55eea1c8eb385524" 29 }, 30 "win-x64": { 31 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/windows/StaticSitesClient.exe", 32 + "sha": "57f8db0e48c772f4eadd9cbab1996354ecdf193f0d123df02dfa4a7eb6398a15" 33 }, 34 "osx-x64": { 35 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.026164/macOS/StaticSitesClient", 36 + "sha": "fd0e8fe34ba0776c1fc44a8e66017b3abe33b044f429a95e6863919e920bf555" 37 } 38 } 39 }, 40 { 41 "version": "backup", 42 + "buildId": "1.0.025891", 43 + "publishDate": "2024-02-02T19:23:37.1915908Z", 44 "files": { 45 "linux-x64": { 46 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/linux/StaticSitesClient", 47 + "sha": "798b4032d1b6cd3f7057a6b7510c502dd69fa8cb4d27d47433542e8e80e9f87c" 48 }, 49 "win-x64": { 50 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/windows/StaticSitesClient.exe", 51 + "sha": "097f9633c12b55e85e4ea9c053576a94b4f5847ce3a5a7671112c881878cfc4b" 52 }, 53 "osx-x64": { 54 + "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.025891/macOS/StaticSitesClient", 55 + "sha": "142310370774f91526c5d08ebde2f0b224b4f7f88bb6e514d25c1ef6f04fd8c8" 56 } 57 } 58 }
+3 -3
pkgs/development/tools/go-jet/default.nix
··· 2 3 buildGoModule rec { 4 pname = "go-jet"; 5 - version = "2.10.1"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "jet"; 10 rev = "v${version}"; 11 - sha256 = "sha256-G/yKS4YFKOVkuoqT/Qh12ul43dKo4W23EIyCgmeaUoo="; 12 }; 13 14 - vendorHash = "sha256-AwrtLTzKqKjFf5fV3JWYWyaqzHJjMNrYuSXhHXyV5HE="; 15 16 subPackages = [ "cmd/jet" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "go-jet"; 5 + version = "2.11.0"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "jet"; 10 rev = "v${version}"; 11 + sha256 = "sha256-xtWDfBryNQp3MSp5EjsbyIdEx4+KoqBe3Q6MukuYVRE="; 12 }; 13 14 + vendorHash = "sha256-z0NMG+fvbGe3KGxO9+3NLoptZ4wfWi0ls7SK+9miCWg="; 15 16 subPackages = [ "cmd/jet" ]; 17
+2 -2
pkgs/games/vassal/default.nix
··· 9 10 stdenv.mkDerivation rec { 11 pname = "VASSAL"; 12 - version = "3.7.8"; 13 14 src = fetchzip { 15 url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2"; 16 - sha256 = "sha256-KZIfgCOZbirstKotQhfcNvJdf3wP1L1o9Wt33ddFrfM="; 17 }; 18 19 buildInputs = [
··· 9 10 stdenv.mkDerivation rec { 11 pname = "VASSAL"; 12 + version = "3.7.9"; 13 14 src = fetchzip { 15 url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2"; 16 + sha256 = "sha256-RvP0HhndYRrRX7ag2nwmsOoNPKXXWJXfmfZqAWSZuv8="; 17 }; 18 19 buildInputs = [
+11 -13
pkgs/os-specific/linux/nvidia-x11/default.nix
··· 33 stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest; 34 35 production = generic { 36 version = "550.54.14"; 37 sha256_64bit = "sha256-jEl/8c/HwxD7h1FJvDD6pP0m0iN7LLps0uiweAFXz+M="; 38 sha256_aarch64 = "sha256-sProBhYziFwk9rDAR2SbRiSaO7RMrf+/ZYryj4BkLB0="; 39 openSha256 = "sha256-F+9MWtpIQTF18F2CftCJxQ6WwpA8BVmRGEq3FhHLuYw="; 40 settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4="; 41 persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4="; 42 - }; 43 - 44 - latest = selectHighestVersion production (generic { 45 - version = "545.29.06"; 46 - sha256_64bit = "sha256-grxVZ2rdQ0FsFG5wxiTI3GrxbMBMcjhoDFajDgBFsXs="; 47 - sha256_aarch64 = "sha256-o6ZSjM4gHcotFe+nhFTePPlXm0+RFf64dSIDt+RmeeQ="; 48 - openSha256 = "sha256-h4CxaU7EYvBYVbbdjiixBhKf096LyatU6/V6CeY9NKE="; 49 - settingsSha256 = "sha256-YBaKpRQWSdXG8Usev8s3GYHCPqL8PpJeF6gpa2droWY="; 50 - persistencedSha256 = "sha256-AiYrrOgMagIixu3Ss2rePdoL24CKORFvzgZY3jlNbwM="; 51 - 52 - patches = [ rcu_patch ]; 53 - 54 - brokenOpen = kernel.kernelAtLeast "6.7"; 55 }); 56 57 beta = selectHighestVersion latest (generic {
··· 33 stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest; 34 35 production = generic { 36 + version = "535.154.05"; 37 + sha256_64bit = "sha256-fpUGXKprgt6SYRDxSCemGXLrEsIA6GOinp+0eGbqqJg="; 38 + sha256_aarch64 = "sha256-G0/GiObf/BZMkzzET8HQjdIcvCSqB1uhsinro2HLK9k="; 39 + openSha256 = "sha256-wvRdHguGLxS0mR06P5Qi++pDJBCF8pJ8hr4T8O6TJIo="; 40 + settingsSha256 = "sha256-9wqoDEWY4I7weWW05F4igj1Gj9wjHsREFMztfEmqm10="; 41 + persistencedSha256 = "sha256-d0Q3Lk80JqkS1B54Mahu2yY/WocOqFFbZVBh+ToGhaE="; 42 + 43 + patches = [ rcu_patch ]; 44 + }; 45 + 46 + latest = selectHighestVersion production (generic { 47 version = "550.54.14"; 48 sha256_64bit = "sha256-jEl/8c/HwxD7h1FJvDD6pP0m0iN7LLps0uiweAFXz+M="; 49 sha256_aarch64 = "sha256-sProBhYziFwk9rDAR2SbRiSaO7RMrf+/ZYryj4BkLB0="; 50 openSha256 = "sha256-F+9MWtpIQTF18F2CftCJxQ6WwpA8BVmRGEq3FhHLuYw="; 51 settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4="; 52 persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4="; 53 }); 54 55 beta = selectHighestVersion latest (generic {
+2 -2
pkgs/servers/http/darkhttpd/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "darkhttpd"; 8 - version = "1.15"; 9 10 src = fetchFromGitHub { 11 owner = "emikulic"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-G1lh3nHo2iU/dkiBykl5+DSIC2c6SCqqv42Bw0Frz3A="; 15 }; 16 17 enableParallelBuilding = true;
··· 5 6 stdenv.mkDerivation rec { 7 pname = "darkhttpd"; 8 + version = "1.16"; 9 10 src = fetchFromGitHub { 11 owner = "emikulic"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-dcNoGU08tu950PlwSghoZwGSaSbP8NJ5qhWUi3bAtZY="; 15 }; 16 17 enableParallelBuilding = true;
+2 -2
pkgs/servers/monitoring/loki/default.nix
··· 8 }: 9 10 buildGoModule rec { 11 - version = "2.9.4"; 12 pname = "grafana-loki"; 13 14 src = fetchFromGitHub { 15 owner = "grafana"; 16 repo = "loki"; 17 rev = "v${version}"; 18 - hash = "sha256-uT3rMvSW1eTBhXboA71QeIvuYvc017TxoGG3z3G4K4Y="; 19 }; 20 21 vendorHash = null;
··· 8 }: 9 10 buildGoModule rec { 11 + version = "2.9.5"; 12 pname = "grafana-loki"; 13 14 src = fetchFromGitHub { 15 owner = "grafana"; 16 repo = "loki"; 17 rev = "v${version}"; 18 + hash = "sha256-+X9ODzyIaeizLItUqorDdvgpIOPML+MzgwmyKbes9dA="; 19 }; 20 21 vendorHash = null;
+2 -2
pkgs/servers/monitoring/nagios/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "nagios"; 17 - version = "4.5.0"; 18 19 src = fetchFromGitHub { 20 owner = "NagiosEnterprises"; 21 repo = "nagioscore"; 22 rev = "refs/tags/nagios-${version}"; 23 - hash = "sha256-km0vB/bopysS7eejDFDKaonXzTzBonIqiw1T+C2lKiQ="; 24 }; 25 26 patches = [ ./nagios.patch ];
··· 14 15 stdenv.mkDerivation rec { 16 pname = "nagios"; 17 + version = "4.5.1"; 18 19 src = fetchFromGitHub { 20 owner = "NagiosEnterprises"; 21 repo = "nagioscore"; 22 rev = "refs/tags/nagios-${version}"; 23 + hash = "sha256-+U2k3w3Yr0qZjHwjRpKZVucB3a35PSZr1Sqa8k0ssq8="; 24 }; 25 26 patches = [ ./nagios.patch ];
+3 -3
pkgs/servers/pocketbase/default.nix
··· 6 7 buildGoModule rec { 8 pname = "pocketbase"; 9 - version = "0.21.3"; 10 11 src = fetchFromGitHub { 12 owner = "pocketbase"; 13 repo = "pocketbase"; 14 rev = "v${version}"; 15 - hash = "sha256-M3wLx77Oidrwl0uzJE3NIFiA7GvN8X1xYRSnAFnINGM="; 16 }; 17 18 - vendorHash = "sha256-u7VgZkv9Ajtra9ikeIxJRLZleH+rzs1g2SZO9zj/bes="; 19 20 # This is the released subpackage from upstream repo 21 subPackages = [ "examples/base" ];
··· 6 7 buildGoModule rec { 8 pname = "pocketbase"; 9 + version = "0.22.0"; 10 11 src = fetchFromGitHub { 12 owner = "pocketbase"; 13 repo = "pocketbase"; 14 rev = "v${version}"; 15 + hash = "sha256-CVGxjAgVsGTtUTkowghIh831riKfaTp4cjUjDO+oFG4="; 16 }; 17 18 + vendorHash = "sha256-Q3DlOKaE3fUlRMSfi8Ta9ZyyOE+viiONVUO8x4JACDg="; 19 20 # This is the released subpackage from upstream repo 21 subPackages = [ "examples/base" ];
+2 -2
pkgs/tools/audio/abcmidi/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 - version = "2024.02.25"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 - hash = "sha256-xaVmK7q10gxN69bGsFEIc01izSbu1m6IyMJWBN6kSzA="; 10 }; 11 12 meta = with lib; {
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 + version = "2024.03.02"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 + hash = "sha256-LWVU6OZc4hTjYY7Q8zjlR4vMqRc2Y+8QGFST543FR1I="; 10 }; 11 12 meta = with lib; {
+1 -1
pkgs/tools/security/vaultwarden/default.nix
··· 39 homepage = "https://github.com/dani-garcia/vaultwarden"; 40 changelog = "https://github.com/dani-garcia/vaultwarden/releases/tag/${version}"; 41 license = licenses.agpl3Only; 42 - maintainers = with maintainers; [ SuperSandro2000 ivan ]; 43 mainProgram = "vaultwarden"; 44 }; 45 }
··· 39 homepage = "https://github.com/dani-garcia/vaultwarden"; 40 changelog = "https://github.com/dani-garcia/vaultwarden/releases/tag/${version}"; 41 license = licenses.agpl3Only; 42 + maintainers = with maintainers; [ dotlambda SuperSandro2000 ]; 43 mainProgram = "vaultwarden"; 44 }; 45 }
+1 -1
pkgs/tools/security/vaultwarden/webvault.nix
··· 69 changelog = "https://github.com/dani-garcia/bw_web_builds/releases/tag/v${version}"; 70 platforms = platforms.all; 71 license = licenses.gpl3Plus; 72 - maintainers = with maintainers; [ dotlambda msteen mic92 ]; 73 }; 74 }
··· 69 changelog = "https://github.com/dani-garcia/bw_web_builds/releases/tag/v${version}"; 70 platforms = platforms.all; 71 license = licenses.gpl3Plus; 72 + inherit (vaultwarden.meta) maintainers; 73 }; 74 }
+2 -2
pkgs/tools/text/gtree/default.nix
··· 7 8 buildGoModule rec { 9 pname = "gtree"; 10 - version = "1.10.8"; 11 12 src = fetchFromGitHub { 13 owner = "ddddddO"; 14 repo = "gtree"; 15 rev = "v${version}"; 16 - hash = "sha256-gxX5Cq5SPDNWtwtuo35RW+N/WE0ZximxDlTi9TnTACM="; 17 }; 18 19 vendorHash = "sha256-5biKUOzYaVY+52f0ewvHslAnb+BM0BuqGrU8wwA3t+E=";
··· 7 8 buildGoModule rec { 9 pname = "gtree"; 10 + version = "1.10.9"; 11 12 src = fetchFromGitHub { 13 owner = "ddddddO"; 14 repo = "gtree"; 15 rev = "v${version}"; 16 + hash = "sha256-3OXrKt3rM166JXqFuB+S0BJJkmkHPzJaWDDFeClmdM8="; 17 }; 18 19 vendorHash = "sha256-5biKUOzYaVY+52f0ewvHslAnb+BM0BuqGrU8wwA3t+E=";
+3 -3
pkgs/top-level/all-packages.nix
··· 35071 35072 slic3r = callPackage ../applications/misc/slic3r { }; 35073 35074 - curaengine_stable = disable-warnings-if-gcc13 (callPackage ../applications/misc/curaengine/stable.nix { }); 35075 35076 - curaengine = disable-warnings-if-gcc13 (callPackage ../applications/misc/curaengine { 35077 inherit (python3.pkgs) libarcus; 35078 protobuf = protobuf_21; 35079 - }); 35080 35081 cura = libsForQt5.callPackage ../applications/misc/cura { }; 35082
··· 35071 35072 slic3r = callPackage ../applications/misc/slic3r { }; 35073 35074 + curaengine_stable = callPackage ../applications/misc/curaengine/stable.nix { }; 35075 35076 + curaengine = callPackage ../applications/misc/curaengine { 35077 inherit (python3.pkgs) libarcus; 35078 protobuf = protobuf_21; 35079 + }; 35080 35081 cura = libsForQt5.callPackage ../applications/misc/cura { }; 35082