lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
e8f8906d afc6dcbb

+565 -303
-9
nixos/doc/manual/release-notes/rl-2105.xml
··· 183 183 184 184 <listitem> 185 185 <para> 186 - Enabling wireless networking now requires specifying at least one network 187 - interface using <xref linkend="opt-networking.wireless.interfaces"/>. 188 - This is to avoid a race condition with the card initialisation (see 189 - <link xlink:href="https://github.com/NixOS/nixpkgs/issues/101963">issue 190 - #101963</link> for more information). 191 - </para> 192 - </listitem> 193 - <listitem> 194 - <para> 195 186 If you are using <option>services.udev.extraRules</option> to assign 196 187 custom names to network interfaces, this may stop working due to a change 197 188 in the initialisation of dhcpcd and systemd networkd. To avoid this, either
+18
nixos/modules/services/network-filesystems/davfs2.nix
··· 70 70 }; 71 71 }; 72 72 73 + security.wrappers."mount.davfs" = { 74 + program = "mount.davfs"; 75 + source = "${pkgs.davfs2}/bin/mount.davfs"; 76 + owner = "root"; 77 + group = cfg.davGroup; 78 + setuid = true; 79 + permissions = "u+rx,g+x"; 80 + }; 81 + 82 + security.wrappers."umount.davfs" = { 83 + program = "umount.davfs"; 84 + source = "${pkgs.davfs2}/bin/umount.davfs"; 85 + owner = "root"; 86 + group = cfg.davGroup; 87 + setuid = true; 88 + permissions = "u+rx,g+x"; 89 + }; 90 + 73 91 }; 74 92 75 93 }
+76 -27
nixos/modules/services/networking/networkmanager.nix
··· 22 22 23 23 enableIwd = cfg.wifi.backend == "iwd"; 24 24 25 - configFile = pkgs.writeText "NetworkManager.conf" '' 26 - [main] 27 - plugins=keyfile 28 - dhcp=${cfg.dhcp} 29 - dns=${cfg.dns} 30 - # If resolvconf is disabled that means that resolv.conf is managed by some other module. 31 - rc-manager=${if config.networking.resolvconf.enable then "resolvconf" else "unmanaged"} 25 + mkValue = v: 26 + if v == true then "yes" 27 + else if v == false then "no" 28 + else if lib.isInt v then toString v 29 + else v; 32 30 33 - [keyfile] 34 - ${optionalString (cfg.unmanaged != []) 35 - ''unmanaged-devices=${lib.concatStringsSep ";" cfg.unmanaged}''} 31 + mkSection = name: attrs: '' 32 + [${name}] 33 + ${ 34 + lib.concatStringsSep "\n" 35 + (lib.mapAttrsToList 36 + (k: v: "${k}=${mkValue v}") 37 + (lib.filterAttrs 38 + (k: v: v != null) 39 + attrs)) 40 + } 41 + ''; 36 42 37 - [logging] 38 - level=${cfg.logLevel} 39 - audit=${lib.boolToString config.security.audit.enable} 40 - 41 - [connection] 42 - ipv6.ip6-privacy=2 43 - ethernet.cloned-mac-address=${cfg.ethernet.macAddress} 44 - wifi.cloned-mac-address=${cfg.wifi.macAddress} 45 - ${optionalString (cfg.wifi.powersave != null) 46 - ''wifi.powersave=${if cfg.wifi.powersave then "3" else "2"}''} 47 - 48 - [device] 49 - wifi.scan-rand-mac-address=${if cfg.wifi.scanRandMacAddress then "yes" else "no"} 50 - wifi.backend=${cfg.wifi.backend} 51 - 52 - ${cfg.extraConfig} 53 - ''; 43 + configFile = pkgs.writeText "NetworkManager.conf" (lib.concatStringsSep "\n" [ 44 + (mkSection "main" { 45 + plugins = "keyfile"; 46 + dhcp = cfg.dhcp; 47 + dns = cfg.dns; 48 + # If resolvconf is disabled that means that resolv.conf is managed by some other module. 49 + rc-manager = 50 + if config.networking.resolvconf.enable then "resolvconf" 51 + else "unmanaged"; 52 + }) 53 + (mkSection "keyfile" { 54 + unmanaged-devices = 55 + if cfg.unmanaged == [] then null 56 + else lib.concatStringsSep ";" cfg.unmanaged; 57 + }) 58 + (mkSection "logging" { 59 + audit = config.security.audit.enable; 60 + level = cfg.logLevel; 61 + }) 62 + (mkSection "connection" cfg.connectionConfig) 63 + (mkSection "device" { 64 + "wifi.scan-rand-mac-address" = cfg.wifi.scanRandMacAddress; 65 + "wifi.backend" = cfg.wifi.backend; 66 + }) 67 + cfg.extraConfig 68 + ]); 54 69 55 70 /* 56 71 [network-manager] ··· 151 166 configured. If enabled, a group <literal>networkmanager</literal> 152 167 will be created. Add all users that should have permission 153 168 to change network settings to this group. 169 + ''; 170 + }; 171 + 172 + connectionConfig = mkOption { 173 + type = with types; attrsOf (nullOr (oneOf [ 174 + bool 175 + int 176 + str 177 + ])); 178 + default = {}; 179 + description = '' 180 + Configuration for the [connection] section of NetworkManager.conf. 181 + Refer to 182 + <link xlink:href="https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html"> 183 + https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html#id-1.2.3.11 184 + </link> 185 + or 186 + <citerefentry> 187 + <refentrytitle>NetworkManager.conf</refentrytitle> 188 + <manvolnum>5</manvolnum> 189 + </citerefentry> 190 + for more information. 154 191 ''; 155 192 }; 156 193 ··· 482 519 (mkIf enableIwd { 483 520 wireless.iwd.enable = true; 484 521 }) 522 + 523 + { 524 + networkmanager.connectionConfig = { 525 + "ipv6.ip6-privacy" = 2; 526 + "ethernet.cloned-mac-address" = cfg.ethernet.macAddress; 527 + "wifi.cloned-mac-address" = cfg.wifi.macAddress; 528 + "wifi.powersave" = 529 + if cfg.wifi.powersave == null then null 530 + else if cfg.wifi.powersave then 3 531 + else 2; 532 + }; 533 + } 485 534 ]; 486 535 487 536 boot.kernelModules = [ "ctr" ];
+30 -10
nixos/modules/services/networking/wpa_supplicant.nix
··· 40 40 default = []; 41 41 example = [ "wlan0" "wlan1" ]; 42 42 description = '' 43 - The interfaces <command>wpa_supplicant</command> will use. 43 + The interfaces <command>wpa_supplicant</command> will use. If empty, it will 44 + automatically use all wireless interfaces. 45 + <warning><para> 46 + The automatic discovery of interfaces does not work reliably on boot: 47 + it may fail and leave the system without network. When possible, specify 48 + a known interface name. 49 + </para></warning> 44 50 ''; 45 51 }; 46 52 ··· 219 225 }; 220 226 221 227 config = mkIf cfg.enable { 222 - assertions = [ 223 - { assertion = cfg.interfaces != []; 224 - message = '' 225 - No network interfaces for wpa_supplicant have been configured. 226 - Please, specify at least one using networking.wireless.interfaces. 227 - ''; 228 - } 229 - ] ++ flip mapAttrsToList cfg.networks (name: cfg: { 228 + assertions = flip mapAttrsToList cfg.networks (name: cfg: { 230 229 assertion = with cfg; count (x: x != null) [ psk pskRaw auth ] <= 1; 231 230 message = ''options networking.wireless."${name}".{psk,pskRaw,auth} are mutually exclusive''; 232 231 }); 232 + 233 + warnings = 234 + optional (cfg.interfaces == [] && config.systemd.services.wpa_supplicant.wantedBy != []) 235 + '' 236 + No network interfaces for wpa_supplicant have been configured: the service 237 + may randomly fail to start at boot. You should specify at least one using the option 238 + networking.wireless.interfaces. 239 + ''; 233 240 234 241 environment.systemPackages = [ package ]; 235 242 ··· 261 268 then echo >&2 "<3>/etc/wpa_supplicant.conf present but ignored. Generated ${configFile} is used instead." 262 269 fi 263 270 iface_args="-s -u -D${cfg.driver} ${configStr}" 264 - args="${concatMapStringsSep " -N " (i: "-i${i} $iface_args") ifaces}" 271 + ${if ifaces == [] then '' 272 + for i in $(cd /sys/class/net && echo *); do 273 + DEVTYPE= 274 + UEVENT_PATH=/sys/class/net/$i/uevent 275 + if [ -e "$UEVENT_PATH" ]; then 276 + source "$UEVENT_PATH" 277 + if [ "$DEVTYPE" = "wlan" -o -e /sys/class/net/$i/wireless ]; then 278 + args+="''${args:+ -N} -i$i $iface_args" 279 + fi 280 + fi 281 + done 282 + '' else '' 283 + args="${concatMapStringsSep " -N " (i: "-i${i} $iface_args") ifaces}" 284 + ''} 265 285 exec wpa_supplicant $args 266 286 ''; 267 287 };
+3 -2
pkgs/applications/blockchains/chia/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "chia"; 5 - version = "1.1.5"; 5 + version = "1.1.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Chia-Network"; 9 9 repo = "chia-blockchain"; 10 10 rev = version; 11 - sha256 = "ZUxWOlJGQpeQCtWt0PSdcbMackHdeuNFkxHvYDPcU8Y="; 11 + sha256 = "05hcckkv3vhz172w9kp5lh4srakizx1l383dijs50vgx2bj30m8v"; 12 12 }; 13 13 14 14 patches = [ ··· 38 38 colorlog 39 39 concurrent-log-handler 40 40 cryptography 41 + dnspython 41 42 keyrings-cryptfile 42 43 pyyaml 43 44 setproctitle
+20
pkgs/applications/editors/edbrowse/0001-small-fixes.patch
··· 1 + diff -Naur source.old/src/makefile source/src/makefile 2 + --- source.old/src/makefile 1969-12-31 21:00:01.000000000 -0300 3 + +++ source/src/makefile 2021-06-07 18:58:48.851231787 -0300 4 + @@ -101,14 +101,14 @@ 5 + 6 + # need packages nodejs and libnode-dev 7 + js_hello_v8 : js_hello_v8.cpp 8 + - g++ -I/usr/include/v8 js_hello_v8.cpp -lv8 -lstdc++ -o js_hello_v8 9 + + $(CXX) -I/usr/include/v8 js_hello_v8.cpp -lv8 -lstdc++ -o js_hello_v8 10 + 11 + HELLOEXTRA = stringfile.o messages.o msg-strings.o startwindow.o ebrc.o format.o http.o isup.o fetchmail.o sendmail.o plugin.o buffers.o dbstubs.o html.o decorate.o html-tidy.o css.o 12 + js_hello_moz : js_hello_moz.o $(HELLOEXTRA) jseng-moz.o 13 + $(CC) js_hello_moz.o $(HELLOEXTRA) jseng-moz.o $(LDFLAGS) -lmozjs-$(SMV) -lstdc++ -o $@ 14 + 15 + js_hello_quick : js_hello_quick.c 16 + - gcc $(CFLAGS) js_hello_quick.c stringfile.o messages.o msg-strings.o ebrc.o format.o -o js_hello_quick -L/usr/local/lib/quickjs -lquickjs -lm -ldl -lpthread -latomic 17 + + $(CC) $(CFLAGS) js_hello_quick.c stringfile.o messages.o msg-strings.o ebrc.o format.o -o js_hello_quick $(QUICKJS_LDFLAGS) -lm -lpthread 18 + 19 + hello: js_hello_duk js_hello_v8 js_hello_moz js_hello_quick 20 +
+58 -20
pkgs/applications/editors/edbrowse/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , curl 5 + , duktape 6 + , html-tidy 7 + , openssl 8 + , pcre 9 + , perl 10 + , pkg-config 11 + , quickjs 12 + , readline 13 + , which 14 + }: 2 15 3 16 stdenv.mkDerivation rec { 4 17 pname = "edbrowse"; 5 - version = "3.7.7"; 18 + version = "3.8.0"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "CMB"; 22 + repo = pname; 23 + rev = "v${version}"; 24 + hash = "sha256-ZXxzQBAmu7kM3sjqg/rDLBXNucO8sFRFKXV8UxQVQZU="; 25 + }; 6 26 7 - buildInputs = [ curl pcre readline openssl duktape perl html-tidy ]; 27 + nativeBuildInputs = [ 28 + pkg-config 29 + which 30 + ]; 31 + buildInputs = [ 32 + curl 33 + duktape 34 + html-tidy 35 + openssl 36 + pcre 37 + perl 38 + quickjs 39 + readline 40 + ]; 41 + 42 + patches = [ 43 + # Fixes some small annoyances on src/makefile 44 + ./0001-small-fixes.patch 45 + ]; 8 46 9 47 postPatch = '' 10 - for i in ./tools/*.pl 11 - do 12 - substituteInPlace $i --replace "/usr/bin/perl" "${perl}/bin/perl" 48 + substituteInPlace src/makefile --replace\ 49 + '-L/usr/local/lib/quickjs' '-L${quickjs}/lib/quickjs' 50 + for i in $(find ./tools/ -type f ! -name '*.c'); do 51 + patchShebangs $i 13 52 done 14 53 ''; 15 54 16 55 makeFlags = [ 17 56 "-C" "src" 18 - "prefix=${placeholder "out"}" 57 + "PREFIX=${placeholder "out"}" 19 58 ]; 20 59 21 - src = fetchFromGitHub { 22 - owner = "CMB"; 23 - repo = "edbrowse"; 24 - rev = "v${version}"; 25 - sha256 = "0cw9d60mdhwna57r1vxn53s8gl81rr3cxnvm769ifq3xyh49vfcf"; 26 - }; 27 60 meta = with lib; { 61 + homepage = "https://edbrowse.org/"; 28 62 description = "Command Line Editor Browser"; 29 63 longDescription = '' 30 - Edbrowse is a combination editor, browser, and mail client that is 100% text based. 31 - The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html. 32 - This program was originally written for blind users, but many sighted users have taken advantage of the unique scripting capabilities of this program, which can be found nowhere else. 33 - A batch job, or cron job, can access web pages on the internet, submit forms, and send email, with no human intervention whatsoever. 34 - edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke. 35 - ''; 64 + Edbrowse is a combination editor, browser, and mail client that is 100% 65 + text based. The interface is similar to /bin/ed, though there are many 66 + more features, such as editing multiple files simultaneously, and 67 + rendering html. This program was originally written for blind users, but 68 + many sighted users have taken advantage of the unique scripting 69 + capabilities of this program, which can be found nowhere else. A batch 70 + job, or cron job, can access web pages on the internet, submit forms, and 71 + send email, with no human intervention whatsoever. edbrowse can also tap 72 + into databases through odbc. It was primarily written by Karl Dahlke. 73 + ''; 36 74 license = licenses.gpl1Plus; 37 - homepage = "https://edbrowse.org/"; 38 75 maintainers = with maintainers; [ schmitthenner vrthra equirosa ]; 39 76 platforms = platforms.linux; 40 77 }; 41 78 } 79 + # TODO: send the patch to upstream developers
+2 -2
pkgs/applications/graphics/renderdoc/default.nix
··· 13 13 pythonPackages = python3Packages; 14 14 in 15 15 mkDerivation rec { 16 - version = "1.13"; 16 + version = "1.14"; 17 17 pname = "renderdoc"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "baldurk"; 21 21 repo = "renderdoc"; 22 22 rev = "v${version}"; 23 - sha256 = "MBvdnB1YPeCaXSgqqtGs0SMocbarjmaWtIUkBBCvufc="; 23 + sha256 = "VO7pOLodXI0J7O4Y9b7YSl5BdtsIxmalFG5mqfuiJEw="; 24 24 }; 25 25 26 26 buildInputs = [
-13
pkgs/applications/misc/navit/CMakeLists.txt.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 763f75b..defa74a 100755 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -212,7 +212,7 @@ CHECK_INCLUDE_FILES(endian.h HAVE_ENDIAN_H) 6 - CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H) 7 - CHECK_INCLUDE_FILES(byteswap.h HAVE_BYTESWAP_H) 8 - CHECK_LIBRARY_EXISTS(gypsy gypsy_control_get_default "" GYPSY_FOUND) 9 - -CHECK_INCLUDE_FILES(libspeechd.h HAVE_LIBSPEECHD) 10 - +CHECK_INCLUDE_FILES(speech-dispatcher/libspeechd.h HAVE_LIBSPEECHD) 11 - CHECK_INCLUDE_FILES(sys/socket.h HAVE_SOCKET) 12 - CHECK_INCLUDE_FILES(sys/shm.h HAVE_SHMEM) 13 - CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)
-90
pkgs/applications/misc/navit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, gtk2, fontconfig, freetype, imlib2 2 - , SDL_image, libGLU, libGL, libXmu, freeglut, pcre, dbus, dbus-glib, glib 3 - , librsvg, freeimage, libxslt, cairo, gdk-pixbuf, pango 4 - , atk, patchelf, fetchurl, bzip2, python, gettext, quesoglc 5 - , gd, cmake, shapelib, SDL_ttf, fribidi, makeWrapper 6 - , qtquickcontrols, qtmultimedia, qtspeech, qtsensors 7 - , qtlocation, qtdeclarative, qtsvg 8 - , qtSupport ? false, qtbase #need to fix qt_qpainter 9 - , sdlSupport ? true, SDL 10 - , xkbdSupport ? true, xkbd 11 - , espeakSupport ? true, espeak 12 - , postgresqlSupport ? false, postgresql 13 - , speechdSupport ? false, speechd ? null 14 - }: 15 - 16 - assert speechdSupport -> speechd != null; 17 - 18 - with lib; 19 - stdenv.mkDerivation rec { 20 - pname = "navit"; 21 - version = "0.5.3"; 22 - 23 - src = fetchFromGitHub { 24 - owner = "navit-gps"; 25 - repo = "navit"; 26 - rev = "v${version}"; 27 - sha256 = "071drvqzxpxbfh0lf0lra5a97rv8ny40l96n9xl0dx0s8w30j61i"; 28 - }; 29 - 30 - sample_map = fetchurl { 31 - url = "http://www.navit-project.org/maps/osm_bbox_11.3,47.9,11.7,48.2.osm.bz2"; 32 - name = "sample_map.bz2"; 33 - sha256 = "0vg6b6rhsa2cxqj4rbhfhhfss71syhnfa6f1jg2i2d7l88dm5x7d"; 34 - }; 35 - 36 - patches = [ ./CMakeLists.txt.patch ]; 37 - 38 - NIX_CFLAGS_COMPILE = toString (optional sdlSupport "-I${SDL.dev}/include/SDL" 39 - ++ optional speechdSupport "-I${speechd}/include/speech-dispatcher"); 40 - 41 - # we choose only cmdline and speech-dispatcher speech options. 42 - # espeak builtins is made for non-cmdline OS as winCE 43 - cmakeFlags = [ 44 - "-DSAMPLE_MAP=n " "-DCMAKE_BUILD_TYPE=Release" 45 - "-Dspeech/qt5_espeak=FALSE" "-Dsupport/espeak=FALSE" 46 - ]; 47 - 48 - buildInputs = [ 49 - gtk2 fontconfig freetype imlib2 libGLU libGL freeimage 50 - libxslt libXmu freeglut python gettext quesoglc gd 51 - fribidi pcre dbus dbus-glib librsvg shapelib glib 52 - cairo gdk-pixbuf pango atk 53 - ] ++ optionals sdlSupport [ SDL SDL_ttf SDL_image ] 54 - ++ optional postgresqlSupport postgresql 55 - ++ optional speechdSupport speechd 56 - ++ optionals qtSupport [ 57 - qtquickcontrols qtmultimedia qtspeech qtsensors 58 - qtbase qtlocation qtdeclarative qtsvg 59 - ]; 60 - 61 - nativeBuildInputs = [ makeWrapper pkg-config cmake patchelf bzip2 ]; 62 - 63 - # we dont want blank screen by defaut 64 - postInstall = '' 65 - # emulate DSAMPLE_MAP 66 - mkdir -p $out/share/navit/maps/ 67 - bzcat "${sample_map}" | $out/bin/maptool "$out/share/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.bin" 68 - ''; 69 - 70 - # TODO: fix upstream? 71 - libPath = lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs ); 72 - postFixup = 73 - '' 74 - find "$out/lib" -type f -name "*.so" -exec patchelf --set-rpath $libPath {} \; 75 - 76 - wrapProgram $out/bin/navit \ 77 - --prefix PATH : ${makeBinPath ( 78 - optional xkbdSupport xkbd 79 - ++ optional espeakSupport espeak 80 - ++ optional speechdSupport speechd ) } 81 - ''; 82 - 83 - meta = { 84 - homepage = "https://www.navit-project.org"; 85 - description = "Car navigation system with routing engine using OSM maps"; 86 - license = licenses.gpl2; 87 - maintainers = [ ]; 88 - platforms = platforms.linux; 89 - }; 90 - }
+3 -3
pkgs/applications/misc/xplr/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "xplr"; 5 - version = "0.13.1"; 5 + version = "0.14.0"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "1aanw0l8b4ak0kikkixmb817qw48ypviq9dxdivzwc29rjvgp152"; 9 + sha256 = "1cyybqb91n91h6nig7rxxxw9c7krz80jdfl25bdr7mlbzymssn0q"; 10 10 }; 11 11 12 12 buildInputs = lib.optional stdenv.isDarwin libiconv; 13 13 14 - cargoSha256 = "16iaj1pqvqwi0rq4k3lmqwd8skbjf55133ri69hj26gz88k4q43w"; 14 + cargoSha256 = "1bj1rgsmkbby4ma325fhpb911bwabhd5bihyv9j0dfvgm1ffdm8a"; 15 15 16 16 meta = with lib; { 17 17 description = "A hackable, minimal, fast TUI file explorer";
+10
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 14 14 "sha256": "1wdrjpd3l0xadsa3lqhsc9c57g8x2qkwb76q824sk8za1a7lapii", 15 15 "version": "1.5.0-patched" 16 16 }, 17 + "aiven": { 18 + "owner": "aiven", 19 + "provider-source-address": "registry.terraform.io/aiven/aiven", 20 + "repo": "terraform-provider-aiven", 21 + "rev": "v2.1.14", 22 + "sha256": "14bfdhn3daygj1v3lm9b3791sx2cd5h0panchpp39h6vrccrpmmk", 23 + "vendorSha256": "1j09bfbld03yxq0vv9ld0xmw5axbza2bwlz01i1gl1v9dprlnbkc", 24 + "version": "2.1.14" 25 + }, 17 26 "akamai": { 18 27 "owner": "terraform-providers", 19 28 "provider-source-address": "registry.terraform.io/akamai/akamai", ··· 609 618 }, 610 619 "metal": { 611 620 "owner": "equinix", 621 + "provider-source-address": "registry.terraform.io/equinix/metal", 612 622 "repo": "terraform-provider-metal", 613 623 "rev": "v2.1.0", 614 624 "sha256": "06i3rj6ig8hxbncdpa8b11v8pr3zhi90ppmf77jjin1114ikd172",
+2 -2
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "terragrunt"; 5 - version = "0.29.8"; 5 + version = "0.29.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gruntwork-io"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-zHfY1pl9r9N1Jx9TzbOFYt2VR9hvHWcdFhPc36Q3apE="; 11 + sha256 = "sha256-xgoKxA8lc72yhFVHeFkbF5j5/vGAd9TTaJ/aDEYL8Wg="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-qlSCQtiGHmlk3DyETMoQbbSYhuUSZTsvAnBKuDJI8x8=";
+6 -5
pkgs/applications/science/programming/fdr/default.nix
··· 1 - {lib, stdenv, fetchurl, qtbase, qtx11extras, ncurses5, xorg, zlib, python27Packages}: 1 + { lib, stdenv, fetchurl, qtbase, qtx11extras, ncurses5, xorg, zlib, python27Packages }: 2 2 stdenv.mkDerivation { 3 - name = "fdr-4.2.3"; 3 + pname = "fdr"; 4 + version = "4.2.7"; 4 5 src = fetchurl { 5 - url = "https://www.cs.ox.ac.uk/projects/fdr/downloads/fdr-3789-linux-x86_64.tar.gz"; 6 - sha256 = "0n2yqichym5xdawlgk3r7yha88k7ycnx6585jfrcm7043sls1i88"; 6 + url = "https://dl.cocotec.io/fdr/fdr-3814-linux-x86_64.tar.gz"; 7 + sha256 = "0cajz1gz4slq9nfhm8dqdgxl0kc950838n0lrf8jw4vl54gv6chh"; 7 8 }; 8 9 9 10 libPath = lib.makeLibraryPath [ ··· 59 60 ''; 60 61 61 62 meta = with lib; { 62 - homepage = "https://www.cs.ox.ac.uk/projects/fdr/"; 63 + homepage = "https://cocotec.io/fdr/"; 63 64 description = "The CSP refinement checker"; 64 65 license = licenses.unfreeRedistributable; 65 66 platforms = platforms.linux;
+26 -26
pkgs/build-support/writers/test.nix
··· 13 13 let 14 14 15 15 bin = { 16 - bash = writeBashBin "test_writers" '' 16 + bash = writeBashBin "test-writers-bash-bin" '' 17 17 if [[ "test" == "test" ]]; then echo "success"; fi 18 18 ''; 19 19 20 - c = writeCBin "test_writers" { libraries = [ ]; } '' 20 + c = writeCBin "test-writers-c" { libraries = [ ]; } '' 21 21 #include <stdio.h> 22 22 int main() { 23 23 printf("success\n"); ··· 25 25 } 26 26 ''; 27 27 28 - dash = writeDashBin "test_writers" '' 28 + dash = writeDashBin "test-writers-dash-bin" '' 29 29 test '~' = '~' && echo 'success' 30 30 ''; 31 31 32 - rust = writeRustBin "test_writers" {} '' 32 + rust = writeRustBin "test-writers-rust-bin" {} '' 33 33 fn main(){ 34 34 println!("success") 35 35 } 36 36 ''; 37 37 38 - haskell = writeHaskellBin "test_writers" { libraries = [ haskellPackages.acme-default ]; } '' 38 + haskell = writeHaskellBin "test-writers-haskell-bin" { libraries = [ haskellPackages.acme-default ]; } '' 39 39 import Data.Default 40 40 41 41 int :: Int ··· 47 47 _ -> print "fail" 48 48 ''; 49 49 50 - js = writeJSBin "test_writers" { libraries = [ nodePackages.semver ]; } '' 50 + js = writeJSBin "test-writers-js-bin" { libraries = [ nodePackages.semver ]; } '' 51 51 var semver = require('semver'); 52 52 53 53 if (semver.valid('1.2.3')) { ··· 57 57 } 58 58 ''; 59 59 60 - perl = writePerlBin "test_writers" { libraries = [ perlPackages.boolean ]; } '' 60 + perl = writePerlBin "test-writers-perl-bin" { libraries = [ perlPackages.boolean ]; } '' 61 61 use boolean; 62 62 print "success\n" if true; 63 63 ''; 64 64 65 - python2 = writePython2Bin "test_writers" { libraries = [ python2Packages.enum ]; } '' 65 + python2 = writePython2Bin "test-writers-python2-bin" { libraries = [ python2Packages.enum ]; } '' 66 66 from enum import Enum 67 67 68 68 ··· 73 73 print Test.a 74 74 ''; 75 75 76 - python3 = writePython3Bin "test_writers" { libraries = [ python3Packages.pyyaml ]; } '' 76 + python3 = writePython3Bin "test-writers-python3-bin" { libraries = [ python3Packages.pyyaml ]; } '' 77 77 import yaml 78 78 79 79 y = yaml.load(""" ··· 84 84 }; 85 85 86 86 simple = { 87 - bash = writeBash "test_bash" '' 87 + bash = writeBash "test-writers-bash" '' 88 88 if [[ "test" == "test" ]]; then echo "success"; fi 89 89 ''; 90 90 91 - c = writeC "test_c" { libraries = [ glib.dev ]; } '' 91 + c = writeC "test-writers-c" { libraries = [ glib.dev ]; } '' 92 92 #include <gio/gio.h> 93 93 #include <stdio.h> 94 94 int main() { ··· 106 106 } 107 107 ''; 108 108 109 - dash = writeDash "test_dash" '' 109 + dash = writeDash "test-writers-dash" '' 110 110 test '~' = '~' && echo 'success' 111 111 ''; 112 112 113 - haskell = writeHaskell "test_haskell" { libraries = [ haskellPackages.acme-default ]; } '' 113 + haskell = writeHaskell "test-writers-haskell" { libraries = [ haskellPackages.acme-default ]; } '' 114 114 import Data.Default 115 115 116 116 int :: Int ··· 122 122 _ -> print "fail" 123 123 ''; 124 124 125 - js = writeJS "test_js" { libraries = [ nodePackages.semver ]; } '' 125 + js = writeJS "test-writers-js" { libraries = [ nodePackages.semver ]; } '' 126 126 var semver = require('semver'); 127 127 128 128 if (semver.valid('1.2.3')) { ··· 132 132 } 133 133 ''; 134 134 135 - perl = writePerl "test_perl" { libraries = [ perlPackages.boolean ]; } '' 135 + perl = writePerl "test-writers-perl" { libraries = [ perlPackages.boolean ]; } '' 136 136 use boolean; 137 137 print "success\n" if true; 138 138 ''; 139 139 140 - python2 = writePython2 "test_python2" { libraries = [ python2Packages.enum ]; } '' 140 + python2 = writePython2 "test-writers-python2" { libraries = [ python2Packages.enum ]; } '' 141 141 from enum import Enum 142 142 143 143 ··· 148 148 print Test.a 149 149 ''; 150 150 151 - python3 = writePython3 "test_python3" { libraries = [ python3Packages.pyyaml ]; } '' 151 + python3 = writePython3 "test-writers-python3" { libraries = [ python3Packages.pyyaml ]; } '' 152 152 import yaml 153 153 154 154 y = yaml.load(""" ··· 157 157 print(y[0]['test']) 158 158 ''; 159 159 160 - python2NoLibs = writePython2 "test_python2_no_libs" {} '' 160 + python2NoLibs = writePython2 "test-writers-python2-no-libs" {} '' 161 161 print("success") 162 162 ''; 163 163 164 - python3NoLibs = writePython3 "test_python3_no_libs" {} '' 164 + python3NoLibs = writePython3 "test-writers-python3-no-libs" {} '' 165 165 print("success") 166 166 ''; 167 167 }; 168 168 169 169 170 170 path = { 171 - bash = writeBash "test_bash" (writeText "test" '' 171 + bash = writeBash "test-writers-bash-path" (writeText "test" '' 172 172 if [[ "test" == "test" ]]; then echo "success"; fi 173 173 ''); 174 - haskell = writeHaskell "test_haskell" { libraries = [ haskellPackages.acme-default ]; } (writeText "test" '' 174 + haskell = writeHaskell "test-writers-haskell-path" { libraries = [ haskellPackages.acme-default ]; } (writeText "test" '' 175 175 import Data.Default 176 176 177 177 int :: Int ··· 184 184 ''); 185 185 }; 186 186 187 - writeTest = expectedValue: test: 188 - writeDash "test-writers" '' 187 + writeTest = expectedValue: name: test: 188 + writeDash "run-${name}" '' 189 189 if test "$(${test})" != "${expectedValue}"; then 190 190 echo 'test ${test} failed' 191 191 exit 1 ··· 196 196 passthru = { inherit writeTest bin simple; }; 197 197 meta.platforms = lib.platforms.all; 198 198 } '' 199 - ${lib.concatMapStringsSep "\n" (test: writeTest "success" "${test}/bin/test_writers") (lib.attrValues bin)} 200 - ${lib.concatMapStringsSep "\n" (test: writeTest "success" test) (lib.attrValues simple)} 201 - ${lib.concatMapStringsSep "\n" (test: writeTest "success" test) (lib.attrValues path)} 199 + ${lib.concatMapStringsSep "\n" (test: writeTest "success" test.name "${test}/bin/${test.name}") (lib.attrValues bin)} 200 + ${lib.concatMapStringsSep "\n" (test: writeTest "success" test.name test) (lib.attrValues simple)} 201 + ${lib.concatMapStringsSep "\n" (test: writeTest "success" test.name test) (lib.attrValues path)} 202 202 203 203 echo 'nix-writers successfully tested' >&2 204 204 touch $out
+3 -3
pkgs/development/compilers/acme/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "acme"; 5 - version = "unstable-2020-12-27"; 5 + version = "unstable-2021-02-14"; 6 6 7 7 src = fetchsvn { 8 8 url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk"; 9 - rev = "314"; 10 - sha256 = "08zg26rh19nlif7id91nv0syx5n243ssxhfw0nk2r2bhjm5jrjz1"; 9 + rev = "319"; 10 + sha256 = "sha256-VifIQ+UEVMKJ+cNS+Xxusazinr5Cgu1lmGuhqj/5Mpk="; 11 11 }; 12 12 13 13 sourceRoot = "code-0-r${src.rev}/src";
+25
pkgs/development/coq-modules/reglang/default.nix
··· 1 + { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 + with lib; 3 + 4 + mkCoqDerivation { 5 + pname = "reglang"; 6 + 7 + releaseRev = v: "v${v}"; 8 + 9 + release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk="; 10 + 11 + inherit version; 12 + defaultVersion = with versions; switch coq.coq-version [ 13 + { case = range "8.10" "8.13"; out = "1.1.2"; } 14 + ] null; 15 + 16 + 17 + propagatedBuildInputs = [ ssreflect ]; 18 + 19 + meta = { 20 + description = "Regular Language Representations in Coq"; 21 + maintainers = with maintainers; [ siraben ]; 22 + license = licenses.cecill-b; 23 + platforms = platforms.unix; 24 + }; 25 + }
+26 -6
pkgs/development/interpreters/quickjs/default.nix
··· 1 - { lib, stdenv, fetchurl }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , texinfo 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 pname = "quickjs"; 5 - version = "2020-11-08"; 9 + version = "2021-03-27"; 6 10 7 - src = fetchurl { 8 - url = "https://bellard.org/${pname}/${pname}-${version}.tar.xz"; 9 - sha256 = "0yqqcjxi3cqagw184mqrxpvqg486x7c233r3cp9mxachngd6779f"; 11 + src = fetchFromGitHub { 12 + owner = "bellard"; 13 + repo = pname; 14 + rev = "b5e62895c619d4ffc75c9d822c8d85f1ece77e5b"; 15 + hash = "sha256-VMaxVVQuJ3DAwYrC14uJqlRBg0//ugYvtyhOXsTUbCA="; 10 16 }; 11 17 12 18 makeFlags = [ "prefix=${placeholder "out"}" ]; 13 19 enableParallelBuilding = true; 14 20 21 + nativeBuildInputs = [ 22 + texinfo 23 + ]; 24 + 25 + postBuild = '' 26 + (cd doc 27 + makeinfo *texi) 28 + ''; 29 + 30 + postInstall = '' 31 + (cd doc 32 + install -Dt $out/share/doc *texi *info) 33 + ''; 34 + 15 35 doInstallCheck = true; 16 36 installCheckPhase = '' 17 37 PATH="$out/bin:$PATH" ··· 32 52 meta = with lib; { 33 53 description = "A small and embeddable Javascript engine"; 34 54 homepage = "https://bellard.org/quickjs/"; 35 - maintainers = with maintainers; [ stesie ]; 55 + maintainers = with maintainers; [ stesie AndersonTorres ]; 36 56 platforms = platforms.linux; 37 57 license = licenses.mit; 38 58 };
+2 -2
pkgs/development/libraries/intel-media-driver/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "intel-media-driver"; 9 - version = "21.2.1"; 9 + version = "21.2.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "intel"; 13 13 repo = "media-driver"; 14 14 rev = "intel-media-${version}"; 15 - sha256 = "0a49087ca3li1cbsdcwp31zlakfw9dxcr2lnxzm5s3x63jvwlbag"; 15 + sha256 = "0cz2zr5qmhlsb1ydffakpkw9adyvn5n2y269fp0k2sskqwlykn48"; 16 16 }; 17 17 18 18 cmakeFlags = [
+3 -3
pkgs/development/libraries/mvapich/default.nix
··· 56 56 done 57 57 58 58 # Ensure the default compilers are the ones mvapich was built with 59 - substituteInPlace $out/bin/mpicc --replace 'CC="gcc"' 'CC=${stdenv.cc}/bin/gcc' 60 - substituteInPlace $out/bin/mpicxx --replace 'CXX="g++"' 'CC=${stdenv.cc}/bin/g++' 61 - substituteInPlace $out/bin/mpifort --replace 'FC="gfortran"' 'CC=${gfortran}/bin/gfortran' 59 + substituteInPlace $out/bin/mpicc --replace 'CC="gcc"' 'CC=${stdenv.cc}/bin/cc' 60 + substituteInPlace $out/bin/mpicxx --replace 'CXX="g++"' 'CXX=${stdenv.cc}/bin/c++' 61 + substituteInPlace $out/bin/mpifort --replace 'FC="gfortran"' 'FC=${gfortran}/bin/gfortran' 62 62 ''; 63 63 64 64 enableParallelBuilding = true;
+2 -2
pkgs/development/libraries/zchunk/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "zchunk"; 14 - version = "1.1.9"; 14 + version = "1.1.11"; 15 15 16 16 outputs = [ "out" "lib" "dev" ]; 17 17 ··· 19 19 owner = "zchunk"; 20 20 repo = pname; 21 21 rev = version; 22 - hash = "sha256-MqnHtqOjLl6R5GZ4f2UX1iLoO9FUT2IfZlSN58wW8JA="; 22 + hash = "sha256-r+qWJOUnTyPJjM9eW44Q2DMKxx4HloyfNrQ6xWDO9vQ="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/chiapos/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "chiapos"; 16 - version = "1.0.1"; 16 + version = "1.0.2"; 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-kJx57EtwPBrGMpjnSzeYYhWqc/g1N1Bg8slW5oZKjg8="; 21 + sha256 = "09mwj9m9rcvcb3zn6v2xykgd4a9lpwl6c86nwl8d1iqr82gb5hb5"; 22 22 }; 23 23 24 24 patches = [
-2
pkgs/development/python-modules/defusedxml/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , pythonOlder 5 4 , python 6 5 }: 7 6 8 7 buildPythonPackage rec { 9 8 pname = "defusedxml"; 10 9 version = "0.7.1"; 11 - disabled = pythonOlder "3.6"; 12 10 13 11 src = fetchPypi { 14 12 inherit pname version;
+23
pkgs/development/python-modules/injector/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, typing-extensions }: 2 + 3 + buildPythonPackage rec { 4 + pname = "injector"; 5 + version = "0.18.4"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "10miwi58g4b8rvdf1pl7s7x9j91qyxxv3kdn5idzkfc387hqxn6f"; 10 + }; 11 + 12 + propagatedBuildInputs = [ typing-extensions ]; 13 + 14 + doCheck = false; # No tests are available 15 + pythonImportsCheck = [ "injector" ]; 16 + 17 + meta = with lib; { 18 + description = "Python dependency injection framework, inspired by Guice"; 19 + homepage = "https://github.com/alecthomas/injector"; 20 + maintainers = [ maintainers.ivar ]; 21 + license = licenses.bsd3; 22 + }; 23 + }
+3 -3
pkgs/development/python-modules/ipdb/default.nix
··· 3 3 , fetchPypi 4 4 , ipython 5 5 , isPyPy 6 - , isPy27 7 6 , mock 7 + , toml 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "ipdb"; 12 12 version = "0.13.7"; 13 - disabled = isPyPy || isPy27; # setupterm: could not find terminfo database 13 + disabled = isPyPy; # setupterm: could not find terminfo database 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 17 sha256 = "178c367a61c1039e44e17c56fcc4a6e7dc11b33561261382d419b6ddb4401810"; 18 18 }; 19 19 20 - propagatedBuildInputs = [ ipython ]; 20 + propagatedBuildInputs = [ ipython toml ]; 21 21 checkInputs = [ mock ]; 22 22 23 23 preCheck = ''
+2 -2
pkgs/development/python-modules/pymfy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pymfy"; 14 - version = "0.9.4"; 14 + version = "0.10.1"; 15 15 format = "pyproject"; 16 16 disabled = pythonOlder "3.7"; 17 17 ··· 19 19 owner = "tetienne"; 20 20 repo = "somfy-open-api"; 21 21 rev = "v${version}"; 22 - sha256 = "1ml536dvva2xd52jfgrd557h2sr5w6567sxnyq0blhkgpyz4m2av"; 22 + sha256 = "sha256-xX7vNBQaYPdnsukFcQyEa2G1XIvf9ehADNXbLUUCRoU="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ poetry-core ];
+7 -4
pkgs/development/python-modules/python-velbus/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "python-velbus"; 9 - version = "2.1.2"; 9 + version = "2.1.4"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "thomasdelaet"; 13 13 repo = pname; 14 - rev = "v${version}"; 15 - sha256 = "0dv7dsjp5li87ispdphaz7jd0a9xc328rxwawf2f58b1ii904xr4"; 14 + rev = version; 15 + sha256 = "1z0a7fc9xfrcpwi9xiimxsgbzbp2iwyi1rij6vqd5z47mzi49fv9"; 16 16 }; 17 17 18 - propagatedBuildInputs = [ pyserial ]; 18 + propagatedBuildInputs = [ 19 + pyserial 20 + ]; 19 21 20 22 # Project has not tests 21 23 doCheck = false; 24 + 22 25 pythonImportsCheck = [ "velbus" ]; 23 26 24 27 meta = with lib; {
+2 -2
pkgs/development/tools/build-managers/sbt/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "sbt"; 11 - version = "1.5.1"; 11 + version = "1.5.3"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 15 - sha256 = "0dsbqipr549awv584fyl227s1gknlpsf5krp990w7w3bbxl3avb7"; 15 + sha256 = "10kIQNy+3V1SD4uEZs/BJ4E6bTCRV3wjBN8gw9jr9VQ="; 16 16 }; 17 17 18 18 postPatch = ''
+4 -4
pkgs/development/tools/poetry2nix/poetry2nix/default.nix
··· 5 5 }: 6 6 let 7 7 # Poetry2nix version 8 - version = "1.17.0"; 8 + version = "1.17.1"; 9 9 10 10 inherit (poetryLib) isCompatible readTOML moduleName; 11 11 ··· 209 209 poetry-core = if __isBootstrap then null else poetryPkg.passthru.python.pkgs.poetry-core; 210 210 poetry = if __isBootstrap then null else poetryPkg; 211 211 212 - # The canonical name is setuptools-scm 213 - setuptools-scm = super.setuptools-scm; 214 - 215 212 __toPluginAble = toPluginAble self; 216 213 217 214 inherit (hooks) pipBuildHook removePathDependenciesHook poetry2nixFixupHook wheelUnpackHook; 215 + } // lib.optionalAttrs (! super ? setuptools-scm) { 216 + # The canonical name is setuptools-scm 217 + setuptools-scm = super.setuptools_scm; 218 218 } 219 219 ) 220 220 # Null out any filtered packages, we don't want python.pkgs from nixpkgs
+1 -1
pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix
··· 89 89 90 90 # Prevent infinite recursion 91 91 skipSetupToolsSCM = [ 92 - "setuptools-scm" 92 + "setuptools_scm" 93 93 "setuptools-scm" 94 94 "toml" # Toml is an extra for setuptools-scm 95 95 ];
+5 -1
pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
··· 598 598 599 599 lxml = super.lxml.overridePythonAttrs ( 600 600 old: { 601 - nativeBuildInputs = with pkgs; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ]; 601 + nativeBuildInputs = with pkgs; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ]; 602 602 buildInputs = with pkgs; (old.buildInputs or [ ]) ++ [ libxml2 libxslt ]; 603 603 } 604 604 ); ··· 636 636 cat > setup.cfg <<EOF 637 637 [libs] 638 638 system_freetype = True 639 + '' + lib.optionalString stdenv.isDarwin '' 640 + # LTO not working in darwin stdenv, see NixOS/nixpkgs/pull/19312 641 + enable_lto = false 642 + '' + '' 639 643 EOF 640 644 ''; 641 645
+3 -3
pkgs/games/papermc/default.nix
··· 1 1 { lib, stdenv, fetchurl, bash, jre }: 2 2 let 3 3 mcVersion = "1.16.5"; 4 - buildNum = "488"; 4 + buildNum = "771"; 5 5 jar = fetchurl { 6 - url = "https://papermc.io/api/v1/paper/${mcVersion}/${buildNum}/download"; 7 - sha256 = "07zgq6pfgwd9a9daqv1dab0q8cwgidsn6sszn7bpr37y457a4ka8"; 6 + url = "https://papermc.io/api/v1/paper/${mcVersion}/${buildNum}/download"; 7 + sha256 = "1lmlfhigbzbkgzfq6knglka0ccf4i32ch25gkny0c5fllmsnm08l"; 8 8 }; 9 9 in stdenv.mkDerivation { 10 10 pname = "papermc";
+1
pkgs/games/steam/fhsenv.nix
··· 98 98 xorg.libXfixes 99 99 libGL 100 100 libva 101 + pipewire.lib 101 102 102 103 # Not formally in runtime but needed by some games 103 104 at-spi2-atk
+12
pkgs/misc/vim-plugins/generated.nix
··· 8970 8970 meta.homepage = "https://github.com/rcarriga/vim-ultest/"; 8971 8971 }; 8972 8972 8973 + vim-unicoder = buildVimPluginFrom2Nix { 8974 + pname = "vim-unicoder"; 8975 + version = "2019-04-16"; 8976 + src = fetchFromGitHub { 8977 + owner = "arthurxavierx"; 8978 + repo = "vim-unicoder"; 8979 + rev = "a71fc3670f9337c56806fa9e8e97b7ea09fd5e39"; 8980 + sha256 = "1kcnxx909pdvrvk0kyz3h8f9szn6hmalm8qyakq3pv6dknlkwb0b"; 8981 + }; 8982 + meta.homepage = "https://github.com/arthurxavierx/vim-unicoder/"; 8983 + }; 8984 + 8973 8985 vim-unimpaired = buildVimPluginFrom2Nix { 8974 8986 pname = "vim-unimpaired"; 8975 8987 version = "2020-04-26";
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 25 25 antoinemadec/coc-fzf 26 26 ap/vim-css-color 27 27 arcticicestudio/nord-vim 28 + arthurxavierx/vim-unicoder 28 29 artur-shaik/vim-javacomplete2 29 30 autozimu/LanguageClient-neovim 30 31 axelf4/vim-strip-trailing-whitespace
+3 -3
pkgs/servers/openafs/1.9/srcs.nix
··· 1 1 { fetchurl }: 2 2 rec { 3 - version = "1.9.0"; 3 + version = "1.9.1"; 4 4 src = fetchurl { 5 5 url = "https://www.openafs.org/dl/openafs/${version}/openafs-${version}-src.tar.bz2"; 6 - sha256 = "1jw99zwisq25l0smdm8f0gfwhynk532s2ch44blrvxyd7all8kcd"; 6 + sha256 = "sha256-7rHihVR4VobHAzt0ZALFOLJnlfd1Qwsa5ohpRFWBPbw="; 7 7 }; 8 8 9 9 srcs = [ src 10 10 (fetchurl { 11 11 url = "https://www.openafs.org/dl/openafs/${version}/openafs-${version}-doc.tar.bz2"; 12 - sha256 = "03x1pv8l4bv2fdns1l4sfy200nggy0a4b1f7qd0mnggdaj12c4jp"; 12 + sha256 = "sha256-pvF8CdTl+5DNuymNvhb3UrGW05LcXRv8cZp2QQlXF+E="; 13 13 })]; 14 14 }
+3 -3
pkgs/tools/admin/chamber/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "chamber"; 5 - version = "2.10.0"; 5 + version = "2.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "segmentio"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "4G/QGoztpcLIspHxD5G+obG5h05SZek4keOJ5qS3/zg="; 11 + sha256 = "sha256-nIIoU+iz2uOglNaqGIhQ2kUjpFOyOx+flXXwu02UG6Y="; 12 12 }; 13 13 14 14 CGO_ENABLED = 0; 15 15 16 - vendorSha256 = "XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk="; 16 + vendorSha256 = "sha256-XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk="; 17 17 18 18 buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ]; 19 19
+8 -4
pkgs/tools/compression/flips/default.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "flips"; 5 - version = "unstable-2020-10-02"; 5 + version = "unstable-2021-05-18"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Alcaro"; 9 9 repo = "Flips"; 10 - rev = "5a3d2012b8ea53ae777c24b8ac4edb9a6bdb9761"; 11 - sha256 = "1ksh9j1n5z8b78yd7gjxswndsqnb1azp84xk4rc0p7zq127l0fyy"; 10 + rev = "3476e5e46fc6f10df475f0cad1714358ba04c756"; 11 + sha256 = "0s13qrmqfmlb2vy0smpgw39vjkl8vzsmpzk52jnc9r7b4hisii39"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config wrapGAppsHook ]; 15 15 buildInputs = [ gtk3 libdivsufsort ]; 16 16 patches = [ ./use-system-libdivsufsort.patch ]; 17 17 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 18 - buildPhase = "./make.sh"; 18 + buildPhase = '' 19 + runHook preBuild 20 + ./make.sh 21 + runHook postBuild 22 + ''; 19 23 20 24 meta = with lib; { 21 25 description = "A patcher for IPS and BPS files";
+2 -2
pkgs/tools/filesystems/gocryptfs/default.nix
··· 16 16 17 17 buildGoModule rec { 18 18 pname = "gocryptfs"; 19 - version = "2.0"; 19 + version = "2.0.1"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "rfjakob"; 23 23 repo = pname; 24 24 rev = "v${version}"; 25 - sha256 = "1wpdzi1qfpab76v0ki74qkk82m3ykr4iqb8r6a8k11l4fn42fjk0"; 25 + sha256 = "0wiagmym8mwi0vpvrs5ryn3zjwha8ilh7xkavvkd1gqd5laln0kp"; 26 26 }; 27 27 28 28 vendorSha256 = "10az8n7z4rhsk1af2x6v3pmxg4zp7c9cal35ily8bdzzcb9cpgs0";
+2 -2
pkgs/tools/filesystems/sshfs-fuse/default.nix
··· 22 22 } 23 23 else 24 24 mkSSHFS { 25 - version = "3.7.1"; 26 - sha256 = "088mgcsqv9f2vly4xn6lvvkmqkgr9jjmjs9qp8938hl7j6rrgd17"; 25 + version = "3.7.2"; 26 + sha256 = "0i0ycgwdxja8313hlkrlwrl85a4ykkyqddgg484jkr4rnr7ylk8w"; 27 27 platforms = lib.platforms.linux; 28 28 }
+26 -13
pkgs/tools/inputmethods/hime/default.nix
··· 1 - { 2 - stdenv, fetchFromGitHub, pkg-config, which, gtk2, gtk3, qt4, qt5, libXtst, lib, 1 + { stdenv 2 + , fetchFromGitHub 3 + , pkg-config 4 + , which 5 + , gtk2 6 + , gtk3 7 + , qt4 8 + , qt5 9 + , libXtst 10 + , lib 11 + , libchewing 12 + , unixtools 13 + , anthy 3 14 }: 4 15 5 - # chewing and anthy do not work well 6 - # so we do not enable these input method at this moment 7 - 8 - stdenv.mkDerivation { 9 - name = "hime"; 10 - version = "unstable-2020-06-27"; 16 + stdenv.mkDerivation rec { 17 + pname = "hime"; 18 + version = "0.9.11"; 11 19 12 20 src = fetchFromGitHub { 21 + repo = pname; 13 22 owner = "hime-ime"; 14 - repo = "hime"; 15 - rev = "c89751a58836906e6916355fd037fc74fd7a7a15"; 16 - sha256 = "024w67q0clzxigsrvqbxpiy8firjvrqi7wbkkcapzzhzapv3nm8x"; 23 + rev = "v${version}"; 24 + sha256 = "sha256-fCqet+foQjI+LpTQ/6Egup1GzXELlL2hgbh0dCKLwPI="; 17 25 }; 18 26 19 - nativeBuildInputs = [ which pkg-config ]; 20 - buildInputs = [ libXtst gtk2 gtk3 qt4 qt5.qtbase ]; 27 + nativeBuildInputs = [ which pkg-config unixtools.whereis ]; 28 + buildInputs = [ libXtst gtk2 gtk3 qt4 qt5.qtbase libchewing anthy ]; 21 29 22 30 preConfigure = "patchShebangs configure"; 23 31 configureFlags = [ "--disable-lib64" "--disable-qt5-immodule" ]; 24 32 dontWrapQtApps = true; 33 + postFixup = '' 34 + hime_rpath=$(patchelf --print-rpath $out/bin/hime) 35 + patchelf --set-rpath $out/lib/hime:$hime_rpath $out/bin/hime 36 + ''; 37 + 25 38 26 39 meta = with lib; { 27 40 homepage = "http://hime-ime.github.io/";
+89
pkgs/tools/misc/gwe/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , wrapGAppsHook 5 + , makeWrapper 6 + , pkg-config 7 + , meson 8 + , ninja 9 + , cmake 10 + , gobject-introspection 11 + , desktop-file-utils 12 + , python3 13 + , gtk3 14 + , libdazzle 15 + , libappindicator-gtk3 16 + , libnotify 17 + , nvidia_x11 18 + }: 19 + 20 + let 21 + pythonEnv = python3.withPackages (pypkgs: with pypkgs; [ 22 + injector 23 + matplotlib 24 + peewee 25 + pynvml 26 + pygobject3 27 + xlib 28 + pyxdg 29 + requests 30 + rx 31 + gtk3 32 + ]); 33 + in stdenv.mkDerivation rec { 34 + pname = "gwe"; 35 + version = "0.15.3"; 36 + 37 + src = fetchFromGitLab { 38 + owner = "leinardi"; 39 + repo = pname; 40 + rev = version; 41 + sha256 = "1znd2g02j0klg8w6cgwvaxc8anan6sidadknl0vh9jxmzz75xp9z"; 42 + }; 43 + 44 + prePatch = '' 45 + patchShebangs scripts/{make_local_manifest,meson_post_install}.py 46 + 47 + substituteInPlace gwe/repository/nvidia_repository.py \ 48 + --replace "from py3nvml import py3nvml" "import pynvml" \ 49 + --replace "py3nvml.py3nvml" "pynvml" \ 50 + --replace "py3nvml" "pynvml" 51 + ''; 52 + 53 + nativeBuildInputs = [ 54 + wrapGAppsHook 55 + pkg-config 56 + meson 57 + ninja 58 + cmake 59 + gobject-introspection 60 + desktop-file-utils 61 + pythonEnv 62 + ]; 63 + 64 + buildInputs = [ 65 + gtk3 66 + libdazzle 67 + libappindicator-gtk3 68 + libnotify 69 + ]; 70 + 71 + postInstall = '' 72 + mv $out/bin/gwe $out/lib/gwe-bin 73 + 74 + makeWrapper ${pythonEnv}/bin/python $out/bin/gwe \ 75 + --add-flags "$out/lib/gwe-bin" \ 76 + --prefix LD_LIBRARY_PATH : "/run/opengl-driver/lib" \ 77 + --prefix PATH : "${builtins.concatStringsSep ":" [ (lib.makeBinPath [ nvidia_x11 nvidia_x11.settings ]) "/run/wrappers/bin" ]}" \ 78 + --unset "SHELL" \ 79 + ''${gappsWrapperArgs[@]} 80 + ''; 81 + 82 + meta = with lib; { 83 + description = "System utility designed to provide information, control the fans and overclock your NVIDIA card"; 84 + homepage = "https://gitlab.com/leinardi/gwe"; 85 + platforms = platforms.linux; 86 + license = licenses.gpl3Only; 87 + maintainers = [ maintainers.ivar ]; 88 + }; 89 + }
+8 -11
pkgs/tools/networking/spiped/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "spiped"; 5 - version = "1.5.0"; 5 + version = "1.6.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://www.tarsnap.com/spiped/${pname}-${version}.tgz"; 9 - sha256 = "1mxcbxifr3bnj6ga8lz88y4bhff016i6kjdzwbb3gzb2zcs4pxxj"; 9 + sha256 = "8d7089979db79a531a0ecc507b113ac6f2cf5f19305571eff1d3413e0ab33713"; 10 10 }; 11 11 12 12 buildInputs = [ openssl ]; 13 13 14 - patchPhase = '' 14 + postPatch = '' 15 15 substituteInPlace libcperciva/cpusupport/Build/cpusupport.sh \ 16 + --replace "dirname" "${coreutils}/bin/dirname" \ 16 17 --replace "2>/dev/null" "2>stderr.log" 17 18 18 - substituteInPlace POSIX/posix-l.sh \ 19 + substituteInPlace libcperciva/POSIX/posix-l.sh \ 19 20 --replace "rm" "${coreutils}/bin/rm" \ 20 - --replace ">/dev/stderr" ">stderr.log" \ 21 21 --replace "2>/dev/null" "2>stderr.log" 22 - 23 - substituteInPlace POSIX/posix-cflags.sh \ 24 - --replace "rm" "${coreutils}/bin/rm" \ 25 - --replace ">/dev/stderr" ">stderr.log" \ 26 - --replace "2>/dev/null" "2>stderr.log" 27 - ''; 22 + ''; 28 23 29 24 installPhase = '' 25 + runHook preInstall 30 26 mkdir -p $out/bin $out/share/man/man1 31 27 make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1 28 + runHook postInstall 32 29 ''; 33 30 34 31 meta = {
+5 -7
pkgs/tools/package-management/nix/default.nix
··· 93 93 patchelf --set-rpath $out/lib:${stdenv.cc.cc.lib}/lib $out/lib/libboost_thread.so.* 94 94 ''} 95 95 '' + 96 - # On all versions before c9f51e87057652db0013289a95deffba495b35e7, 97 - # released with 2.3.8, we need to patch around an issue where the Nix 98 - # configure step pulls in the build system's bash and other utilities 99 - # when cross-compiling. 96 + # On all versions before c9f51e87057652db0013289a95deffba495b35e7, which 97 + # removes config.nix entirely and is not present in 2.3.x, we need to 98 + # patch around an issue where the Nix configure step pulls in the build 99 + # system's bash and other utilities when cross-compiling. 100 100 lib.optionalString ( 101 - stdenv.buildPlatform != stdenv.hostPlatform && 102 - (lib.versionOlder "2.3.8" version && !is24) 103 - # The additional is24 condition is required as versionOlder doesn't understand nixUnstable version strings 101 + stdenv.buildPlatform != stdenv.hostPlatform && !is24 104 102 ) '' 105 103 mkdir tmp/ 106 104 substitute corepkgs/config.nix.in tmp/config.nix.in \
+15 -7
pkgs/tools/security/pass/extensions/checkup.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 - , curl, findutils, gnugrep, gnused }: 2 + , curl, findutils, gnugrep, gnused, shellcheck }: 3 3 4 - stdenv.mkDerivation rec { 4 + let 5 5 pname = "pass-checkup"; 6 - version = "0.2.0"; 6 + version = "0.2.1"; 7 + in stdenv.mkDerivation { 8 + inherit pname version; 7 9 8 10 src = fetchFromGitHub { 9 11 owner = "etu"; 10 - repo = "pass-checkup"; 12 + repo = pname; 11 13 rev = version; 12 - sha256 = "17fyf8zj535fg43yddjww1jhxfb3nbdkn622wjxaai2nf46jzh7y"; 14 + sha256 = "18b6rx59r7g0hvqs2affvw0g0jyifyzhanwgz2q2b8nhjgqgnar2"; 13 15 }; 14 16 15 - patchPhase = '' 17 + nativeBuildInputs = [ shellcheck ]; 18 + 19 + postPatch = '' 16 20 substituteInPlace checkup.bash \ 17 21 --replace curl ${curl}/bin/curl \ 18 22 --replace find ${findutils}/bin/find \ ··· 21 25 ''; 22 26 23 27 installPhase = '' 28 + runHook preInstall 29 + 24 30 install -D -m755 checkup.bash $out/lib/password-store/extensions/checkup.bash 31 + 32 + runHook postInstall 25 33 ''; 26 34 27 35 meta = with lib; { 28 36 description = "A pass extension to check against the Have I been pwned API to see if your passwords are publicly leaked or not"; 29 37 homepage = "https://github.com/etu/pass-checkup"; 30 - license = licenses.gpl3; 38 + license = licenses.gpl3Plus; 31 39 maintainers = with maintainers; [ etu ]; 32 40 platforms = platforms.unix; 33 41 };
+1
pkgs/top-level/aliases.nix
··· 482 482 mxisd = throw "mxisd has been removed from nixpkgs as it has reached end of life, see https://github.com/kamax-matrix/mxisd/blob/535e0a5b96ab63cb0ddef90f6f42c5866407df95/EOL.md#end-of-life-notice . ma1sd may be a suitable alternative."; # added 2021-04-15 483 483 mysqlWorkbench = mysql-workbench; # added 2017-01-19 484 484 nagiosPluginsOfficial = monitoring-plugins; 485 + navit = throw "navit has been removed from nixpkgs, due to being unmaintained"; # added 2021-06-07 485 486 ncat = nmap; # added 2016-01-26 486 487 netcat-openbsd = libressl.nc; # added 2018-04-25 487 488 netease-cloud-music = throw "netease-cloud-music has been removed together with deepin"; # added 2020-08-31
+4 -2
pkgs/top-level/all-packages.nix
··· 11153 11153 11154 11154 gprolog = callPackage ../development/compilers/gprolog { }; 11155 11155 11156 + gwe = callPackage ../tools/misc/gwe { 11157 + nvidia_x11 = linuxPackages.nvidia_x11; 11158 + }; 11159 + 11156 11160 gwt240 = callPackage ../development/compilers/gwt/2.4.0.nix { }; 11157 11161 11158 11162 idrisPackages = dontRecurseIntoAttrs (callPackage ../development/idris-modules { ··· 25666 25670 nanorc = callPackage ../applications/editors/nano/nanorc { }; 25667 25671 25668 25672 navipowm = callPackage ../applications/misc/navipowm { }; 25669 - 25670 - navit = libsForQt5.callPackage ../applications/misc/navit { }; 25671 25673 25672 25674 netbeans = callPackage ../applications/editors/netbeans { 25673 25675 jdk = jdk11;
+1
pkgs/top-level/coq-packages.nix
··· 69 69 paramcoq = callPackage ../development/coq-modules/paramcoq {}; 70 70 pocklington = callPackage ../development/coq-modules/pocklington {}; 71 71 QuickChick = callPackage ../development/coq-modules/QuickChick {}; 72 + reglang = callPackage ../development/coq-modules/reglang {}; 72 73 relation-algebra = callPackage ../development/coq-modules/relation-algebra {}; 73 74 simple-io = callPackage ../development/coq-modules/simple-io { }; 74 75 stdpp = callPackage ../development/coq-modules/stdpp { };
+15
pkgs/top-level/perl-packages.nix
··· 23939 23939 }; 23940 23940 }; 23941 23941 23942 + XSParseKeyword = buildPerlModule { 23943 + pname = "XS-Parse-Keyword"; 23944 + version = "0.06"; 23945 + src = fetchurl { 23946 + url = "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.06.tar.gz"; 23947 + sha256 = "0nnr8akkxb2h2y3d5r51pr84vvxkq89ynmi9azkbnn79jmbcbgvq"; 23948 + }; 23949 + perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; 23950 + meta = { 23951 + description = "XS functions to assist in parsing keyword syntax"; 23952 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 23953 + maintainers = [ maintainers.zakame ]; 23954 + }; 23955 + }; 23956 + 23942 23957 XSParseSublike = buildPerlModule { 23943 23958 pname = "XS-Parse-Sublike"; 23944 23959 version = "0.10";
+2
pkgs/top-level/python-packages.nix
··· 3400 3400 3401 3401 iniparse = callPackage ../development/python-modules/iniparse { }; 3402 3402 3403 + injector = callPackage ../development/python-modules/injector { }; 3404 + 3403 3405 inotify-simple = callPackage ../development/python-modules/inotify-simple { }; 3404 3406 3405 3407 inquirer = callPackage ../development/python-modules/inquirer { };