Merge master into staging-next

authored by github-actions[bot] and committed by GitHub a12e0d5b 84029d49

+352 -91
+10
maintainers/maintainer-list.nix
··· 64 64 fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D"; 65 65 }]; 66 66 }; 67 + _0xbe7a = { 68 + email = "nix@be7a.de"; 69 + name = "Bela Stoyan"; 70 + github = "0xbe7a"; 71 + githubId = 6232980; 72 + keys = [{ 73 + longkeyid = "rsa4096/0x6510870A77F49A99"; 74 + fingerprint = "2536 9E86 1AA5 9EB7 4C47 B138 6510 870A 77F4 9A99"; 75 + }]; 76 + }; 67 77 _1000101 = { 68 78 email = "b1000101@pm.me"; 69 79 github = "1000101";
+12
nixos/doc/manual/development/writing-nixos-tests.xml
··· 436 436 </para> 437 437 </listitem> 438 438 </varlistentry> 439 + <varlistentry> 440 + <term> 441 + <methodname>shell_interact</methodname> 442 + </term> 443 + <listitem> 444 + <para> 445 + Allows you to directly interact with the guest shell. 446 + This should only be used during test development, not in production tests. 447 + Killing the interactive session with <literal>Ctrl-d</literal> or <literal>Ctrl-c</literal> also ends the guest session. 448 + </para> 449 + </listitem> 450 + </varlistentry> 439 451 </variablelist> 440 452 </para> 441 453
+11
nixos/lib/test-driver/test-driver.py
··· 21 21 import socket 22 22 import subprocess 23 23 import sys 24 + import telnetlib 24 25 import tempfile 25 26 import time 26 27 import traceback ··· 454 455 status_code = int(match[2]) 455 456 return (status_code, output) 456 457 output += chunk 458 + 459 + def shell_interact(self) -> None: 460 + """Allows you to interact with the guest shell 461 + 462 + Should only be used during test development, not in the production test.""" 463 + self.connect() 464 + self.log("Terminal is ready (there is no prompt):") 465 + telnet = telnetlib.Telnet() 466 + telnet.sock = self.shell # type: ignore 467 + telnet.interact() 457 468 458 469 def succeed(self, *commands: str) -> str: 459 470 """Execute each command and check that it succeeds."""
+1
nixos/modules/services/mail/mailman.nix
··· 333 333 before = [ "mailman.service" "mailman-web-setup.service" "mailman-uwsgi.service" "hyperkitty.service" ]; 334 334 requiredBy = [ "mailman.service" "mailman-web-setup.service" "mailman-uwsgi.service" "hyperkitty.service" ]; 335 335 path = with pkgs; [ jq ]; 336 + serviceConfig.Type = "oneshot"; 336 337 script = '' 337 338 mailmanDir=/var/lib/mailman 338 339 mailmanWebDir=/var/lib/mailman-web
+33
pkgs/applications/audio/gnaural/default.nix
··· 1 + { lib, stdenv, fetchurl, pkg-config, libsndfile, portaudio, gtk2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "gnaural"; 5 + version = "20110606"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/${pname}/${pname}_${version}.tar.xz"; 9 + hash = "sha256-0a09DUMfHEIGYuIYSBGJalBiIHIgejr/KVDXCFgKBb8="; 10 + }; 11 + 12 + nativeBuildInputs = [ pkg-config ]; 13 + buildInputs = [ gtk2 libsndfile portaudio ]; 14 + 15 + postInstall = '' 16 + mkdir -p $out/share/applications 17 + substitute \ 18 + $out/share/gnome/apps/Multimedia/gnaural.desktop \ 19 + $out/share/applications/gnaural.desktop \ 20 + --replace \ 21 + "/usr/share/gnaural/pixmaps/gnaural-icon.png" \ 22 + "$out/share/gnaural/pixmaps/gnaural-icon.png" \ 23 + 24 + rm -rf $out/share/gnome 25 + ''; 26 + 27 + meta = with lib; { 28 + description = "Programmable auditory binaural-beat synthesizer"; 29 + homepage = "http://gnaural.sourceforge.net/"; 30 + maintainers = with maintainers; [ ehmry ]; 31 + license = with licenses; [ gpl2Only ]; 32 + }; 33 + }
+3 -3
pkgs/applications/audio/ncspot/default.nix
··· 14 14 in 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "ncspot"; 17 - version = "0.7.2"; 17 + version = "0.7.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "hrkfdn"; 21 21 repo = "ncspot"; 22 22 rev = "v${version}"; 23 - sha256 = "0ww7ipyvcdphbkzjpvdqs1s3bqk3rj3jdy1n3bnk76csw9vgn2zi"; 23 + sha256 = "0lfly3d8pag78pabmna4i6xjwzi65dx1mwfmsk7nx64brq3iypbq"; 24 24 }; 25 25 26 - cargoSha256 = "1mrjp5p3iryxzgg6ca9zjwm8n6w0ljs108ll0wkwgfih6rip7ba4"; 26 + cargoSha256 = "0a6d41ll90fza6k3lixjqzwxim98q6zbkqa3zvxvs7q5ydzg8nsp"; 27 27 28 28 cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ]; 29 29
+2 -2
pkgs/applications/networking/ids/zeek/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "zeek"; 24 - version = "4.0.1"; 24 + version = "4.0.2"; 25 25 26 26 src = fetchurl { 27 27 url = "https://download.zeek.org/zeek-${version}.tar.gz"; 28 - sha256 = "0ficl4i012gfv4mdbdclgvi6gyq338gw9gb6k58k1drw8c7qk6k5"; 28 + sha256 = "15gxxgg7nmfmswlbxhvcp6alq5k9wpvrm5cwyf1qfd7xsfli61sm"; 29 29 }; 30 30 31 31 nativeBuildInputs = [ cmake flex bison file ];
+2 -2
pkgs/applications/virtualization/conmon/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "conmon"; 13 - version = "2.0.28"; 13 + version = "2.0.29"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "containers"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-lwR+XoB1LoW/pLjmvExUJKGnAqFhvcDs3sEKkw6pv48="; 19 + sha256 = "sha256-Idt+bN9Lf6GEjdGC/sM9Ln1ohXhUy78CrmJxSDA2Y0o="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ pkg-config ];
+2
pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
··· 6 6 , setJavaClassPath 7 7 }: 8 8 9 + assert (stdenv.isDarwin && stdenv.isx86_64); 10 + 9 11 let cpuName = stdenv.hostPlatform.parsed.cpu.name; 10 12 result = stdenv.mkDerivation { 11 13 name = if sourcePerArch.packageType == "jdk"
+5
pkgs/development/compilers/llvm/11/clang/default.nix
··· 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false 5 + , enablePolly ? false 5 6 }: 6 7 7 8 let ··· 39 40 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 40 41 "-DLLVM_TABLEGEN_EXE=${buildLlvmTools.llvm}/bin/llvm-tblgen" 41 42 "-DCLANG_TABLEGEN=${buildLlvmTools.libclang.dev}/bin/clang-tblgen" 43 + ] ++ lib.optionals enablePolly [ 44 + "-DWITH_POLLY=ON" 45 + "-DLINK_POLLY_INTO_TOOLS=ON" 42 46 ]; 47 + 43 48 44 49 patches = [ 45 50 ./purity.patch
+19 -5
pkgs/development/compilers/llvm/11/default.nix
··· 68 68 # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 69 69 llvm = tools.libllvm.out // { outputUnspecified = true; }; 70 70 71 + libllvm-polly = callPackage ./llvm { 72 + inherit llvm_meta; 73 + enablePolly = true; 74 + }; 75 + 76 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 77 + 71 78 libclang = callPackage ./clang { 72 79 inherit clang-tools-extra_src llvm_meta; 73 80 }; 74 81 75 82 clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 76 - # disabled until recommonmark supports sphinx 3 77 - #Llvm-manpages = lowPrio (tools.libllvm.override { 78 - # enableManpages = true; 79 - # python3 = pkgs.python3; # don't use python-boot 80 - #}); 83 + 84 + clang-polly-unwrapped = callPackage ./clang { 85 + inherit llvm_meta; 86 + inherit clang-tools-extra_src; 87 + libllvm = tools.libllvm-polly; 88 + enablePolly = true; 89 + }; 90 + 91 + llvm-manpages = lowPrio (tools.libllvm.override { 92 + enableManpages = true; 93 + python3 = pkgs.python3; # don't use python-boot 94 + }); 81 95 82 96 clang-manpages = lowPrio (tools.libclang.override { 83 97 enableManpages = true;
+24 -8
pkgs/development/compilers/openjdk/darwin/11.nix
··· 1 - { lib, stdenv, fetchurl, unzip, setJavaClassPath, freetype }: 1 + { lib, stdenv, fetchurl, unzip, setJavaClassPath }: 2 2 let 3 + # Details from https://www.azul.com/downloads/?version=java-11-lts&os=macos&package=jdk 4 + # Note that the latest build may differ by platform 5 + dist = { 6 + x86_64-darwin = { 7 + arch = "x64"; 8 + zuluVersion = "11.48.21"; 9 + jdkVersion = "11.0.11"; 10 + sha256 = "0v0n7h7i04pvna41wpdq2k9qiy70sbbqzqzvazfdvgm3gb22asw6"; 11 + }; 12 + 13 + aarch64-darwin = { 14 + arch = "aarch64"; 15 + zuluVersion = "11.48.21"; 16 + jdkVersion = "11.0.11"; 17 + sha256 = "066whglrxx81c95grv2kxdbvyh32728ixhml2v44ildh549n4lhc"; 18 + }; 19 + }."${stdenv.hostPlatform.system}"; 20 + 3 21 jce-policies = fetchurl { 4 22 # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK! 5 23 url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip"; ··· 7 25 }; 8 26 9 27 jdk = stdenv.mkDerivation rec { 10 - name = "zulu11.43.21-ca-jdk11.0.9"; 28 + pname = "zulu${dist.zuluVersion}-ca-jdk"; 29 + version = dist.jdkVersion; 11 30 12 31 src = fetchurl { 13 - url = "https://cdn.azul.com/zulu/bin/${name}-macosx_x64.tar.gz"; 14 - sha256 = "1j19fb5mwdkfn6y8wfsnvxsz6wfpcab4xv439fqssxy520n6q4zs"; 15 - curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/zulu-mac/"; 32 + url = "https://cdn.azul.com/zulu/bin/zulu${dist.zuluVersion}-ca-jdk${dist.jdkVersion}-macosx_${dist.arch}.tar.gz"; 33 + inherit (dist) sha256; 34 + curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/"; 16 35 }; 17 36 18 37 nativeBuildInputs = [ unzip ]; 19 - buildInputs = [ freetype ]; 20 38 21 39 installPhase = '' 22 40 mkdir -p $out ··· 40 58 # properly. 41 59 mkdir -p $out/nix-support 42 60 printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs 43 - 44 - install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/lib/libfontmanager.dylib 45 61 46 62 # Set JAVA_HOME automatically. 47 63 cat <<EOF >> $out/nix-support/setup-hook
+25 -9
pkgs/development/compilers/openjdk/darwin/8.nix
··· 1 - { lib, stdenv, fetchurl, unzip, setJavaClassPath, freetype }: 1 + { lib, stdenv, fetchurl, unzip, setJavaClassPath }: 2 2 let 3 + # Details from https://www.azul.com/downloads/?version=java-8-lts&os=macos&package=jdk 4 + # Note that the latest build may differ by platform 5 + dist = { 6 + x86_64-darwin = { 7 + arch = "x64"; 8 + zuluVersion = "8.54.0.21"; 9 + jdkVersion = "8.0.292"; 10 + sha256 = "1pgl0bir4r5v349gkxk54k6v62w241q7vw4gjxhv2g6pfq6hv7in"; 11 + }; 12 + 13 + aarch64-darwin = { 14 + arch = "aarch64"; 15 + zuluVersion = "8.54.0.21"; 16 + jdkVersion = "8.0.292"; 17 + sha256 = "05w89wfjlfbpqfjnv6wisxmaf13qb28b2223f9264jyx30qszw1c"; 18 + }; 19 + }."${stdenv.hostPlatform.system}"; 20 + 3 21 jce-policies = fetchurl { 4 22 # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK! 5 23 url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip"; 6 24 sha256 = "0nk7m0lgcbsvldq2wbfni2pzq8h818523z912i7v8hdcij5s48c0"; 7 25 }; 8 26 9 - jdk = stdenv.mkDerivation { 27 + jdk = stdenv.mkDerivation rec { 10 28 # @hlolli: Later version than 1.8.0_202 throws error when building jvmci. 11 29 # dyld: lazy symbol binding failed: Symbol not found: _JVM_BeforeHalt 12 30 # Referenced from: ../libjava.dylib Expected in: .../libjvm.dylib 13 - name = "zulu1.8.0_202-8.36.0.1"; 31 + pname = "zulu${dist.zuluVersion}-ca-jdk"; 32 + version = dist.jdkVersion; 14 33 15 34 src = fetchurl { 16 - url = "https://cdn.azul.com/zulu/bin/zulu8.36.0.1-ca-jdk8.0.202-macosx_x64.zip"; 17 - sha256 = "0s92l1wlf02vjx8dvrsla2kq7qwxnmgh325b38mgqy872016jm9p"; 18 - curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/zulu-linux/"; 35 + url = "https://cdn.azul.com/zulu/bin/zulu${dist.zuluVersion}-ca-jdk${dist.jdkVersion}-macosx_${dist.arch}.tar.gz"; 36 + inherit (dist) sha256; 37 + curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/"; 19 38 }; 20 39 21 40 nativeBuildInputs = [ unzip ]; 22 - buildInputs = [ freetype ]; 23 41 24 42 installPhase = '' 25 43 mkdir -p $out ··· 43 61 # properly. 44 62 mkdir -p $out/nix-support 45 63 printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs 46 - 47 - install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib 48 64 49 65 # Set JAVA_HOME automatically. 50 66 cat <<EOF >> $out/nix-support/setup-hook
+23 -8
pkgs/development/compilers/openjdk/darwin/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, setJavaClassPath, freetype }: 1 + { lib, stdenv, fetchurl, unzip, setJavaClassPath }: 2 2 let 3 + # Details from https://www.azul.com/downloads/?version=java-16-sts&os=macos&package=jdk 4 + # Note that the latest build may differ by platform 5 + dist = { 6 + x86_64-darwin = { 7 + arch = "x64"; 8 + zuluVersion = "16.30.15"; 9 + jdkVersion = "16.0.1"; 10 + sha256 = "1jihn125dmxr9y5h9jq89zywm3z6rbwv5q7msfzsf2wzrr13jh0z"; 11 + }; 12 + 13 + aarch64-darwin = { 14 + arch = "aarch64"; 15 + zuluVersion = "16.30.19"; 16 + jdkVersion = "16.0.1"; 17 + sha256 = "1i0bcjx3acb5dhslf6cabdcnd6mrz9728vxw9hb4al5y3f5fll4w"; 18 + }; 19 + }."${stdenv.hostPlatform.system}"; 20 + 3 21 jce-policies = fetchurl { 4 22 # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK! 5 23 url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip"; ··· 7 25 }; 8 26 9 27 jdk = stdenv.mkDerivation rec { 10 - pname = "zulu16.28.11-ca-jdk"; 11 - version = "16.0.0"; 28 + pname = "zulu${dist.zuluVersion}-ca-jdk"; 29 + version = dist.jdkVersion; 12 30 13 31 src = fetchurl { 14 - url = "https://cdn.azul.com/zulu/bin/${pname}${version}-macosx_x64.tar.gz"; 15 - sha256 = "6d47ef22dc56ce1f5a102ed39e21d9a97320f0bb786818e2c686393109d79bc5"; 32 + url = "https://cdn.azul.com/zulu/bin/zulu${dist.zuluVersion}-ca-jdk${dist.jdkVersion}-macosx_${dist.arch}.tar.gz"; 33 + inherit (dist) sha256; 16 34 curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/"; 17 35 }; 18 36 19 37 nativeBuildInputs = [ unzip ]; 20 - buildInputs = [ freetype ]; 21 38 22 39 installPhase = '' 23 40 mkdir -p $out ··· 41 58 # properly. 42 59 mkdir -p $out/nix-support 43 60 printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs 44 - 45 - install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/lib/libfontmanager.dylib 46 61 47 62 # Set JAVA_HOME automatically. 48 63 cat <<EOF >> $out/nix-support/setup-hook
+8 -7
pkgs/development/libraries/raylib/default.nix
··· 3 3 libX11, libXi, libXcursor, libXrandr, libXinerama, 4 4 alsaSupport ? stdenv.hostPlatform.isLinux, alsaLib, 5 5 pulseSupport ? stdenv.hostPlatform.isLinux, libpulseaudio, 6 + sharedLib ? true, 6 7 includeEverything ? true 7 8 }: 8 9 9 10 stdenv.mkDerivation rec { 10 11 pname = "raylib"; 11 - version = "3.5.0"; 12 + version = "3.7.0"; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "raysan5"; 15 16 repo = pname; 16 17 rev = version; 17 - sha256 = "0syvd5js1lbx3g4cddwwncqg95l6hb3fdz5nsh5pqy7fr6v84kwj"; 18 + sha256 = "1w8v747hqy0ils6zmy8sm056f24ybjhn9bamqzlxvbqhvh9vvly1"; 18 19 }; 19 20 20 21 patches = [ 21 - # fixes examples not compiling in 3.5.0 22 + # fixes incorrect version being set by cmake 22 23 (fetchpatch { 23 - url = "https://patch-diff.githubusercontent.com/raw/raysan5/raylib/pull/1470.patch"; 24 - sha256 = "1ff5l839wl8dxwrs2bwky7kqa8kk9qmsflg31sk5vbil68dzbzg0"; 24 + url = "https://github.com/raysan5/raylib/commit/204aa4c46fdd6986aa0130eeba658562c540759f.patch"; 25 + sha256 = "10pl7828iy4kadach0wy4fs95vr7k08z3mxw90j8dm9xak1ri8fz"; 25 26 }) 26 27 ]; 27 28 ··· 34 35 # https://github.com/raysan5/raylib/wiki/CMake-Build-Options 35 36 cmakeFlags = [ 36 37 "-DUSE_EXTERNAL_GLFW=ON" 37 - "-DSHARED=ON" 38 38 "-DBUILD_EXAMPLES=OFF" 39 - ] ++ lib.optional includeEverything "-DINCLUDE_EVERYTHING=ON"; 39 + ] ++ lib.optional includeEverything "-DINCLUDE_EVERYTHING=ON" 40 + ++ lib.optional sharedLib "-DBUILD_SHARED_LIBS=ON"; 40 41 41 42 # fix libasound.so/libpulse.so not being found 42 43 preFixup = ''
+2 -2
pkgs/development/python-modules/aiosmb/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "aiosmb"; 17 - version = "0.2.41"; 17 + version = "0.2.44"; 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-hiLLoFswh0rm5f5TsaX+zyRDkOIyzGXVO0M5J5d/gtQ="; 22 + sha256 = "sha256-xNdrOO0BqV4sD6U39G2RXihDBBf516x8RLiqNLnZyWk="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+3 -1
pkgs/development/python-modules/awscrt/default.nix
··· 11 11 # https://github.com/NixOS/nixpkgs/issues/39687 12 12 hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 13 13 14 - nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.isAarch64 ([ gcc10 perl ]); 14 + nativeBuildInputs = [ cmake ] ++ 15 + # gcc <10 is not supported, LLVM on darwin is just fine 16 + lib.optionals (!stdenv.isDarwin && stdenv.isAarch64) [ gcc10 perl ]; 15 17 16 18 dontUseCmakeConfigure = true; 17 19
+2 -2
pkgs/development/python-modules/hstspreload/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "hstspreload"; 9 - version = "2021.5.24"; 9 + version = "2021.5.31"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "sethmlarson"; 14 14 repo = pname; 15 15 rev = version; 16 - sha256 = "sha256-Z1v2p8kn0IO38Cgr4tUp2n3zAiQntkskS7kYPUakC5U="; 16 + sha256 = "sha256-qTOzhPET2uj/ST28pzeckFTYYfyPgErvG4HB9zMMB2w="; 17 17 }; 18 18 19 19 # tests require network connection
+41
pkgs/development/python-modules/i-pi/default.nix
··· 1 + { buildPythonPackage, lib, fetchFromGitHub, gfortran 2 + , makeWrapper, numpy, pytest, mock, pytest-mock 3 + } : 4 + 5 + buildPythonPackage rec { 6 + name = "i-pi"; 7 + version = "2.4.0"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "i-pi"; 11 + repo = "i-pi"; 12 + rev = "v${version}"; 13 + sha256 = "0d0ag57aa0fsqjwya27fyj8alimjvlxzgh6hxjqy1k4ap9h3n1cy"; 14 + }; 15 + 16 + nativeBuildInputs = [ 17 + gfortran 18 + makeWrapper 19 + ]; 20 + 21 + propagatedBuildInputs = [ numpy ]; 22 + 23 + checkInputs = [ 24 + pytest 25 + mock 26 + pytest-mock 27 + ]; 28 + 29 + postFixup = '' 30 + wrapProgram $out/bin/i-pi \ 31 + --set IPI_ROOT $out 32 + ''; 33 + 34 + meta = with lib; { 35 + description = "A universal force engine for ab initio and force field driven (path integral) molecular dynamics"; 36 + license = with licenses; [ gpl3Only mit ]; 37 + homepage = "http://ipi-code.org/"; 38 + platforms = platforms.linux; 39 + maintainers = [ maintainers.sheepforce ]; 40 + }; 41 + }
+5 -2
pkgs/development/python-modules/minikerberos/default.nix
··· 3 3 , asysocks 4 4 , buildPythonPackage 5 5 , fetchPypi 6 + , oscrypto 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "minikerberos"; 10 - version = "0.2.11"; 11 + version = "0.2.14"; 11 12 12 13 src = fetchPypi { 13 14 inherit pname version; 14 - sha256 = "sha256-OC+Cnk47GFzK1QaDEDxntRVrakpFiBuNelM/R5t/AUY="; 15 + sha256 = "sha256-MND7r4Gkx9RnEMgEl62QXFYr1NEloihQ2HeU9hyhsx8="; 15 16 }; 16 17 17 18 propagatedBuildInputs = [ 18 19 asn1crypto 19 20 asysocks 21 + oscrypto 20 22 ]; 21 23 22 24 # no tests are published: https://github.com/skelsec/minikerberos/pull/5 23 25 doCheck = false; 26 + 24 27 pythonImportsCheck = [ "minikerberos" ]; 25 28 26 29 meta = with lib; {
+2 -2
pkgs/development/python-modules/msldap/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "msldap"; 15 - version = "0.3.29"; 15 + version = "0.3.30"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "0khwyhylh28qvz35pdckr5fdd82zsybv0xmzlzjbgcv99cyy1a94"; 19 + sha256 = "sha256-fX+W1Bq4F0/6DyxWeA6zvoswFQCdDpSk29g7nq1cYYE="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+13 -11
pkgs/development/python-modules/oscrypto/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , asn1crypto 3 4 , fetchPypi 4 - , lib 5 5 , openssl 6 6 }: 7 7 8 8 buildPythonPackage rec { 9 9 pname = "oscrypto"; 10 - version = "1.1.1"; 10 + version = "1.2.1"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1vlryamwr442w2av8f54ldhls8fqs6678fg60pqbrf5pjy74kg23"; 14 + sha256 = "1546si2bdgkqnbvv4mw1hr4mhh6bq39d9z4wxgv1m7fq6miclb3x"; 15 15 }; 16 16 17 17 testSources = fetchPypi { 18 18 inherit version; 19 19 pname = "oscrypto_tests"; 20 - sha256 = "1crndz647pqdd8148yn3n5l63xwr6qkwa1qarsz59nk3ip0dsyq5"; 20 + sha256 = "1ha68dsrbx6mlra44x0n81vscn17pajbl4yg7cqkk7mq1zfmjwks"; 21 21 }; 22 22 23 + propagatedBuildInputs = [ 24 + asn1crypto 25 + openssl 26 + ]; 27 + 23 28 preCheck = '' 24 29 tar -xf ${testSources} 25 30 mv oscrypto_tests-${version} tests ··· 28 33 sed -e '/TLSTests/d' -e '/TrustListTests/d' -i tests/__init__.py 29 34 ''; 30 35 31 - propagatedBuildInputs = [ 32 - asn1crypto 33 - openssl 34 - ]; 36 + pythonImportsCheck = [ "oscrypto" ]; 35 37 36 38 meta = with lib; { 37 - description = "A compilation-free, always up-to-date encryption library for Python that works on Windows, OS X, Linux and BSD."; 38 - homepage = "https://www.snowflake.com/"; 39 + description = "Encryption library for Python"; 40 + homepage = "https://github.com/wbond/oscrypto"; 39 41 license = licenses.mit; 40 42 }; 41 43 }
+18 -3
pkgs/development/python-modules/qcelemental/default.nix
··· 1 - { buildPythonPackage, lib, fetchPypi, numpy, pydantic, pint, 2 - networkx, pytestrunner, pytestcov, pytest 1 + { buildPythonPackage, lib, fetchPypi, fetchpatch, numpy 2 + , pydantic, pint, networkx, pytestrunner, pytestcov, pytest 3 3 } : 4 4 5 5 buildPythonPackage rec { ··· 14 14 sha256 = "141vw36fmacj897q26kq2bl9l0d23lyqjfry6q46aa9087dcs7ni"; 15 15 }; 16 16 17 + # FIXME: Fixed upstream but not released yet. Nevertheless critical for correct behaviour. 18 + # See https://github.com/MolSSI/QCElemental/pull/265 19 + patches = [ 20 + (fetchpatch { 21 + name = "SearchPath1.patch"; 22 + url = "https://github.com/MolSSI/QCElemental/commit/2211a4e59690bcb14265a60f199a5efe74fe44db.diff"; 23 + sha256 = "1ibjvmdrc103jdj79xrr11y5yji5hc966rm4ihfhfzgbvfkbjg2l"; 24 + }) 25 + (fetchpatch { 26 + name = "SearchPath2.patch"; 27 + url = "https://github.com/MolSSI/QCElemental/commit/5a32ce33e8142047b0a00d0036621fe2750e872a.diff"; 28 + sha256 = "0gmg70vdps7k6alqclwdlxkli9d8s1fphbdvyl8wy8xrh46jw6rk"; 29 + }) 30 + ]; 31 + 17 32 doCheck = true; 18 33 19 34 meta = with lib; { 20 - description = "Periodic table, physical constants, and molecule parsing for quantum chemistry."; 35 + description = "Periodic table, physical constants, and molecule parsing for quantum chemistry"; 21 36 homepage = "http://docs.qcarchive.molssi.org/projects/qcelemental/en/latest/"; 22 37 license = licenses.bsd3; 23 38 platforms = platforms.linux;
+2 -2
pkgs/development/web/nodejs/v16.nix
··· 8 8 in 9 9 buildNodejs { 10 10 inherit enableNpm; 11 - version = "16.2.0"; 12 - sha256 = "1krm3cnpbnqg4mfl3cpp8x2i1rr6hba9qbl60wyg5f5g8ac3pyfh"; 11 + version = "16.3.0"; 12 + sha256 = "0pxcdy9i1iyxp4afmpaz30ajlwrj74y64jl3n9rjqw0r5jw4gavs"; 13 13 }
+3 -3
pkgs/games/frogatto/data.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "frogatto-data"; 5 - version = "unstable-2018-12-18"; 5 + version = "unstable-2021-05-24"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "frogatto"; 9 9 repo = "frogatto"; 10 10 # master branch as of 2020-12-17 11 - rev = "c1d0813b3b755a4e232369b6791397ad058efc16"; 12 - sha256 = "1fhaidd35392zzavp93r6ihyansgkc3m1ilz71ia1zl4n3fbsxjg"; 11 + rev = "8b0f2bc8f9f172f6225b8e0d806552cb94f35e2a"; 12 + sha256 = "09nrna9l1zj2ma2bazdhdvphwy570kfz4br4xgpwq21rsjrvrqiy"; 13 13 }; 14 14 15 15 installPhase = ''
-1
pkgs/games/frogatto/default.nix
··· 34 34 ''; 35 35 36 36 meta = with lib; { 37 - broken = true; 38 37 homepage = "https://frogatto.com"; 39 38 description = description; 40 39 license = with licenses; [ cc-by-30 unfree ];
+8 -4
pkgs/games/frogatto/engine.nix
··· 4 4 5 5 stdenv.mkDerivation { 6 6 pname = "anura-engine"; 7 - version = "unstable-2018-11-28"; 7 + version = "unstable-2021-05-24"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "anura-engine"; 11 11 repo = "anura"; 12 - # trunk branch as of 2018-11-28 13 - rev = "a05f413f255d2854019134be817c253a03da3d9f"; 14 - sha256 = "1hd57q8gbn1zdpibnqd3ma0z1ycayc2f4r9j4m2m9kc6yf4v7w7b"; 12 + rev = "ed50bbfa68a4aa09438d95d39103ec39156d438f"; 13 + sha256 = "0bk0qklk9wwx3jr2kbrmansccn1nj962v5n2vlb5hxsrcv96s3dg"; 15 14 fetchSubmodules = true; 16 15 }; 16 + 17 + postPatch = '' 18 + substituteInPlace src/sys.cpp \ 19 + --replace mallinfo2 mallinfo 20 + ''; 17 21 18 22 nativeBuildInputs = [ 19 23 which pkg-config
+18
pkgs/os-specific/darwin/apple-sdk-11.0/apple_sdk.nix
··· 119 119 ''; 120 120 }; 121 121 122 + sandbox = stdenv.mkDerivation { 123 + name = "apple-lib-sandbox"; 124 + 125 + dontUnpack = true; 126 + dontBuild = true; 127 + 128 + installPhase = '' 129 + mkdir -p $out/include $out/lib 130 + ln -s "${MacOSX-SDK}/usr/include/sandbox.h" $out/include/sandbox.h 131 + cp "${MacOSX-SDK}/usr/lib/libsandbox.1.tbd" $out/lib 132 + ln -s libsandbox.1.tbd $out/lib/libsandbox.tbd 133 + ''; 134 + }; 135 + 122 136 libDER = stdenv.mkDerivation { 123 137 name = "apple-lib-libDER"; 124 138 dontUnpack = true; ··· 133 147 CoreFoundation = lib.overrideDerivation super.CoreFoundation (drv: { 134 148 setupHook = ./cf-setup-hook.sh; 135 149 }); 150 + 151 + # This framework doesn't exist in newer SDKs (somewhere around 10.13), but 152 + # there are references to it in nixpkgs. 153 + QuickTime = throw "QuickTime framework not available"; 136 154 }; 137 155 138 156 bareFrameworks = (
+1
pkgs/os-specific/darwin/apple-sdk-11.0/private-frameworks.nix
··· 14 14 URLFormatting = {}; 15 15 SignpostMetrics = {}; 16 16 PassKitCore = {}; 17 + SkyLight = {}; 17 18 }
+4 -4
pkgs/os-specific/linux/nvidia-x11/default.nix
··· 27 27 else legacy_390; 28 28 29 29 beta = generic { 30 - version = "465.27"; 31 - sha256_64bit = "fmn/qFve5qqqa26n4dsoOwGZ+ash5Bon3JBI8kncMXE="; 32 - settingsSha256 = "3BFLCx0dcrQY4Mv1joMsiVPwTPyufgsNT5pFgp1Mk/A="; 33 - persistencedSha256 = "HtoFGTiBnAeQyRTOMlve5poaQh63LHRD+DHJxZO+c90="; 30 + version = "465.31"; 31 + sha256_64bit = "YAjQAckzWGMEnDOOe6arlkBvT3rzFCeqjBjG0ncnLNo="; 32 + settingsSha256 = "33zHXxfG/t6REbHqhYjzBhtuus7jP34r2wK90sBT9vE="; 33 + persistencedSha256 = "1r/QqjOxg6836mQ46hNsPscKliNAtpN9xW6M++02woY="; 34 34 }; 35 35 36 36 # Vulkan developer beta driver
+1 -1
pkgs/servers/irc/inspircd/default.nix
··· 23 23 # checking, only whitelist licenses used by notable 24 24 # libcs in nixpkgs (musl and glibc). 25 25 compatible = lib: drv: 26 - lib.any (lic: lic == drv.meta.license) [ 26 + lib.any (lic: lic == (drv.meta.license or {})) [ 27 27 lib.licenses.mit # musl 28 28 lib.licenses.lgpl2Plus # glibc 29 29 ];
+4 -3
pkgs/tools/filesystems/glusterfs/default.nix
··· 1 1 {lib, stdenv, fetchFromGitHub, fuse, bison, flex_2_5_35, openssl, python3, ncurses, readline, 2 2 autoconf, automake, libtool, pkg-config, zlib, libaio, libxml2, acl, sqlite, 3 - liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which, 3 + liburcu, liburing, attr, makeWrapper, coreutils, gnused, gnugrep, which, 4 4 openssh, gawk, findutils, util-linux, lvm2, btrfs-progs, e2fsprogs, xfsprogs, systemd, 5 5 rsync, glibc, rpcsvc-proto, libtirpc 6 6 }: ··· 17 17 fuse bison flex_2_5_35 openssl ncurses readline 18 18 autoconf automake libtool pkg-config zlib libaio libxml2 19 19 acl sqlite liburcu attr makeWrapper util-linux libtirpc 20 + liburing 20 21 (python3.withPackages (pkgs: [ 21 22 pkgs.flask 22 23 pkgs.prettytable ··· 54 55 ]; 55 56 in stdenv.mkDerivation rec { 56 57 pname = "glusterfs"; 57 - version = "9.0"; 58 + version = "9.2"; 58 59 59 60 src = fetchFromGitHub { 60 61 owner = "gluster"; 61 62 repo = pname; 62 63 rev = "v${version}"; 63 - sha256 = "sha256-pjJQAFEb44yNqvNAOclZsiEDZBgcfIxliD3La1IsKPs="; 64 + sha256 = "00y2xs7nj4d59x4fp6gq7qql3scykq9lppdvx7y3xbgfmkrwixx9"; 64 65 }; 65 66 inherit buildInputs propagatedBuildInputs; 66 67
+32
pkgs/tools/misc/pferd/default.nix
··· 1 + { lib 2 + , python3Packages 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3Packages.buildPythonApplication rec { 7 + pname = "pferd"; 8 + version = "3.0.1"; 9 + format = "pyproject"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Garmelon"; 13 + repo = "PFERD"; 14 + rev = "v${version}"; 15 + sha256 = "1s0z8yajy3n194pnlqb48hy2n5qvhkzwbpksrdyds79vfq0b9rdl"; 16 + }; 17 + 18 + propagatedBuildInputs = with python3Packages; [ 19 + aiohttp 20 + beautifulsoup4 21 + rich 22 + keyring 23 + certifi 24 + ]; 25 + 26 + meta = with lib; { 27 + homepage = "https://github.com/Garmelon/PFERD"; 28 + description = "Tool for downloading course-related files from ILIAS"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ _0xbe7a ]; 31 + }; 32 + }
+1 -2
pkgs/tools/networking/acme-client/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchurl 3 - , apple_sdk ? null 4 3 , libbsd 5 4 , libressl 6 5 , pkg-config ··· 18 17 }; 19 18 20 19 nativeBuildInputs = [ pkg-config ]; 21 - buildInputs = [ libbsd libressl ] ++ optional stdenv.isDarwin apple_sdk.sdk; 20 + buildInputs = [ libbsd libressl ]; 22 21 23 22 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 24 23
+3 -3
pkgs/tools/security/grype/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "grype"; 9 - version = "0.12.1"; 9 + version = "0.13.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "anchore"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-NcLXpxPtTwc/ThI/A9wQ9XI2Msxviy1Ipz8TSfcrHbI="; 15 + sha256 = "sha256-nHSnDrvz0EwDnmYch/bDJOZkf1b1Vrf1960d637ZmBs="; 16 16 }; 17 17 18 - vendorSha256 = "sha256-9uKtrKcF950ZEvpxJzmIQMwc/f1IlgHF8du+RIxhtKI="; 18 + vendorSha256 = "sha256-+1XJTr/WJIz/gvvl9KNp68OVEkjHk+KunAd4trd2T/Y="; 19 19 20 20 propagatedBuildInputs = [ docker ]; 21 21
+7 -1
pkgs/top-level/all-packages.nix
··· 786 786 787 787 aescrypt = callPackage ../tools/misc/aescrypt { }; 788 788 789 - acme-client = callPackage ../tools/networking/acme-client { inherit (darwin) apple_sdk; stdenv = gccStdenv; }; 789 + acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; }; 790 790 791 791 amass = callPackage ../tools/networking/amass { }; 792 792 ··· 859 859 gobgp = callPackage ../tools/networking/gobgp { }; 860 860 861 861 metapixel = callPackage ../tools/graphics/metapixel { }; 862 + 863 + pferd = callPackage ../tools/misc/pferd {}; 862 864 863 865 quich = callPackage ../tools/misc/quich { } ; 864 866 ··· 5852 5854 ipfs-cluster = callPackage ../applications/networking/ipfs-cluster { }; 5853 5855 5854 5856 ipget = callPackage ../applications/networking/ipget { }; 5857 + 5858 + i-pi = with python3Packages; toPythonApplication i-pi; 5855 5859 5856 5860 iptsd = callPackage ../applications/misc/iptsd { }; 5857 5861 ··· 24009 24013 gmtk = callPackage ../development/libraries/gmtk { }; 24010 24014 24011 24015 gmu = callPackage ../applications/audio/gmu { }; 24016 + 24017 + gnaural = callPackage ../applications/audio/gnaural { }; 24012 24018 24013 24019 gnome_mplayer = callPackage ../applications/video/gnome-mplayer { }; 24014 24020
+2
pkgs/top-level/python-packages.nix
··· 3408 3408 3409 3409 ipfshttpclient = callPackage ../development/python-modules/ipfshttpclient { }; 3410 3410 3411 + i-pi = callPackage ../development/python-modules/i-pi { }; 3412 + 3411 3413 iptools = callPackage ../development/python-modules/iptools { }; 3412 3414 3413 3415 ipy = callPackage ../development/python-modules/IPy { };