lol
0
fork

Configure Feed

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

Merge remote-tracking branch 'origin/master' into staging-next

+733 -222
+6
maintainers/maintainer-list.nix
··· 9044 9044 githubId = 116740; 9045 9045 name = "Paweł Pacana"; 9046 9046 }; 9047 + pb- = { 9048 + email = "pbaecher@gmail.com"; 9049 + github = "pb-"; 9050 + githubId = 84886; 9051 + name = "Paul Baecher"; 9052 + }; 9047 9053 pbogdan = { 9048 9054 email = "ppbogdan@gmail.com"; 9049 9055 github = "pbogdan";
+22 -1
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 83 83 release based on GTK+3 and Python 3. 84 84 </para> 85 85 </listitem> 86 + <listitem> 87 + <para> 88 + The <literal>writers.writePython2</literal> and corresponding 89 + <literal>writers.writePython2Bin</literal> convenience 90 + functions to create executable Python 2 scripts in the store 91 + were removed in preparation of removal of the Python 2 92 + interpreter. Scripts have to be converted to Python 3 for use 93 + with <literal>writers.writePython3</literal> or 94 + <literal>writers.writePyPy2</literal> needs to be used. 95 + </para> 96 + </listitem> 86 97 </itemizedlist> 87 98 </section> 88 99 <section xml:id="sec-release-22.05-notable-changes"> 89 100 <title>Other Notable Changes</title> 90 - <itemizedlist spacing="compact"> 101 + <itemizedlist> 91 102 <listitem> 92 103 <para> 93 104 The option ··· 111 122 are only accessible by default to the members of the Unix 112 123 group <literal>redis-${serverName}</literal> through the Unix 113 124 socket <literal>/run/redis-${serverName}/redis.sock</literal>. 125 + </para> 126 + </listitem> 127 + <listitem> 128 + <para> 129 + The 130 + <literal>writers.writePyPy2</literal>/<literal>writers.writePyPy3</literal> 131 + and corresponding 132 + <literal>writers.writePyPy2Bin</literal>/<literal>writers.writePyPy3Bin</literal> 133 + convenience functions to create executable Python 2/3 scripts 134 + using the PyPy interpreter were added. 114 135 </para> 115 136 </listitem> 116 137 </itemizedlist>
+5
nixos/doc/manual/release-notes/rl-2205.section.md
··· 34 34 - `pkgs.claws-mail-gtk2`, representing Claws Mail's older release version three, was removed in order to get rid of Python 2. 35 35 Please switch to `claws-mail`, which is Claws Mail's latest release based on GTK+3 and Python 3. 36 36 37 + - The `writers.writePython2` and corresponding `writers.writePython2Bin` convenience functions to create executable Python 2 scripts in the store were removed in preparation of removal of the Python 2 interpreter. 38 + Scripts have to be converted to Python 3 for use with `writers.writePython3` or `writers.writePyPy2` needs to be used. 39 + 37 40 ## Other Notable Changes {#sec-release-22.05-notable-changes} 38 41 39 42 - The option [services.redis.servers](#opt-services.redis.servers) was added ··· 51 54 are only accessible by default 52 55 to the members of the Unix group `redis-${serverName}` 53 56 through the Unix socket `/run/redis-${serverName}/redis.sock`. 57 + 58 + - The `writers.writePyPy2`/`writers.writePyPy3` and corresponding `writers.writePyPy2Bin`/`writers.writePyPy3Bin` convenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added.
+3 -3
pkgs/applications/audio/ncspot/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "ncspot"; 10 - version = "0.9.2"; 10 + version = "0.9.3"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "hrkfdn"; 14 14 repo = "ncspot"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-fZ0yQGLGnEFxt+OiG9J+niYzvttybudfciu5xo104Qo="; 16 + sha256 = "sha256-k4EGyQjjJCvUhp56OjYl63n+giI05GiIS2++I1SVhCg="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-i3/96rVfP8TbIz3pNArTp8w27rfp1aPhohfFMMHgubo="; 19 + cargoSha256 = "sha256-YsjInqmkPnAwqgRBDiwcLH0DDqCF0NElrn+WO2v+ATM="; 20 20 21 21 nativeBuildInputs = [ pkg-config ]; 22 22
+15 -1
pkgs/applications/audio/pamix/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub, fetchpatch 2 2 , pkg-config, cmake 3 3 , libpulseaudio, ncurses }: 4 4 ··· 12 12 rev = version; 13 13 sha256 = "1d44ggnwkf2gff62959pj45v3a2k091q8v154wc5pmzamam458wp"; 14 14 }; 15 + 16 + patches = [ 17 + # ncurses-6.3 support, included in next release 18 + (fetchpatch { 19 + name = "ncurses-6.3-p1.patch"; 20 + url = "https://github.com/patroclos/PAmix/commit/3400b9c048706c572373e4617b4d5fcdb8dd2505.patch"; 21 + sha256 = "0rw56a844pz876ad9p8hfvn2fkd5rh29gpp47h55g08spf0vwb2z"; 22 + }) 23 + (fetchpatch { 24 + name = "ncurses-6.3-p2.patch"; 25 + url = "https://github.com/patroclos/PAmix/commit/5ef67fc5ef6fc0dc0b48ff07ba48093881561d9c.patch"; 26 + sha256 = "0f8shpdv2swxdz04bkqgmkvl6c17r5mn4slzr7xd6pvw8hh51p4h"; 27 + }) 28 + ]; 15 29 16 30 preConfigure = '' 17 31 substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc/xdg"
+3 -3
pkgs/applications/audio/spotifyd/default.nix
··· 9 9 10 10 rustPackages.rustPlatform.buildRustPackage rec { 11 11 pname = "spotifyd"; 12 - version = "0.3.2"; 12 + version = "0.3.3"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Spotifyd"; 16 16 repo = "spotifyd"; 17 17 rev = "v${version}"; 18 - sha256 = "1a578h13iv8gqmskzlncfr42jlg5gp0zfcizv4wbd48y9hl8fh2l"; 18 + sha256 = "1liql2wp7cx0x4ha1578wx3m4byd295m4ph268s05yw2wrnr3v6c"; 19 19 }; 20 20 21 - cargoSha256 = "07dxfc0csrnfl01p9vdrqvca9f574svlf37dk3dz8p6q08ki0n1z"; 21 + cargoSha256 = "1plvqd55d1gj0ydimv3154pwgj2sh1fqx2182nw8akzdfmzg1150"; 22 22 23 23 nativeBuildInputs = [ pkg-config ]; 24 24
+2 -3
pkgs/applications/editors/eclipse/build-eclipse.nix
··· 2 2 , zlib, jdk, glib, gtk, libXtst, libsecret, gsettings-desktop-schemas, webkitgtk 3 3 , makeWrapper, perl, ... }: 4 4 5 - { name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description }: 5 + { name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description, productVersion }: 6 6 7 7 stdenv.mkDerivation rec { 8 8 inherit name src; ··· 37 37 # settings in ~/.eclipse/org.eclipse.platform_<version> rather 38 38 # than ~/.eclipse/org.eclipse.platform_<version>_<number>. 39 39 productId=$(sed 's/id=//; t; d' $out/eclipse/.eclipseproduct) 40 - productVersion=$(sed 's/version=//; t; d' $out/eclipse/.eclipseproduct) 41 40 42 41 makeWrapper $out/eclipse/eclipse $out/bin/eclipse \ 43 42 --prefix PATH : ${jdk}/bin \ 44 43 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk libXtst libsecret ] ++ lib.optional (webkitgtk != null) webkitgtk)} \ 45 44 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ 46 - --add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration" 45 + --add-flags "-configuration \$HOME/.eclipse/''${productId}_${productVersion}/configuration" 47 46 48 47 # Create desktop item. 49 48 mkdir -p $out/share/applications
+17 -13
pkgs/applications/editors/eclipse/default.nix
··· 16 16 17 17 let 18 18 platform_major = "4"; 19 - platform_minor = "21"; 19 + platform_minor = "22"; 20 20 year = "2021"; 21 - month = "09"; 22 - timestamp = "${year}${month}060500"; 21 + month = "12"; #release month 22 + buildmonth = "11"; #sometimes differs from release month 23 + timestamp = "${year}${buildmonth}241800"; 23 24 gtk = gtk3; 24 25 in rec { 25 26 26 - buildEclipse = callPackage ./build-eclipse.nix { 27 + # work around https://bugs.eclipse.org/bugs/show_bug.cgi?id=476075#c3 28 + buildEclipseUnversioned = callPackage ./build-eclipse.nix { 27 29 inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib 28 30 jdk glib gtk libXtst gsettings-desktop-schemas webkitgtk 29 31 makeWrapper; 30 32 }; 33 + buildEclipse = eclipseData: buildEclipseUnversioned (eclipseData // { productVersion = "${platform_major}.${platform_minor}"; }); 31 34 32 35 ### Eclipse CPP 33 36 ··· 37 40 src = 38 41 fetchurl { 39 42 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 40 - sha512 = "3xdj7b0mlhdys9q4l19kkf1hm0d67dwx55gzfmgv90nvswv0jhyvs42my4wrlrmkh6lz8m0z6dakadhl1bxf2fd8pdp5sm4bv0w0gwc"; 43 + hash = "sha512-Lniaw8aUptHI0a75olTNHaMba+ugUdJKf9sJ0hGzKqY94vvfU3N2TH5eQBeXb1MyQdRdBL1D8Vs3+LD9lWlTMg=="; 41 44 }; 42 45 }; 43 46 ··· 49 52 src = 50 53 fetchurl { 51 54 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 52 - sha512 = "20xy4vzqlmg4sdvqimz2nc212vb45k5kwh40qagm13r6h3vfv3yrl8bznnappaf4msfa9xdaxns2kz0x94hw444zjmrnbf7614a48xi"; 55 + hash = "sha512-F/5yroFDbrSclmUP5vTNSkYR+OZ1dkPv2FPZT1XM5HFoynitYkDxnj+uTcJIBOWv3Zu1plU4yweW0DF1E9jLcg=="; 53 56 }; 54 57 }; 55 58 ··· 61 64 src = 62 65 fetchurl { 63 66 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz"; 64 - sha512 = "29hab3ha3spk0048k3mf2x5m80hlh1l6nazsykx0xxrqy9vdkdibv6mq74dzf1n93h1bd5qh9axicnhs465kp7r1irdl04761c1wibi"; 67 + hash = "sha512-3XsBk8/KHtTjit/WMneOghuOkqEHOIdLwof7718dsrDP4vfgcfhb47V7fPYDOw2eld88pHk+85mTGpZOTTywxw=="; 65 68 }; 66 69 }; 67 70 68 71 ### Eclipse Scala SDK 69 72 70 73 eclipse-scala-sdk = 71 - buildEclipse.override { jdk = jdk8; gtk = gtk2; } { 74 + buildEclipseUnversioned.override { jdk = jdk8; gtk = gtk2; } { 72 75 name = "eclipse-scala-sdk-4.7.0"; 73 76 description = "Eclipse IDE for Scala Developers"; 77 + productVersion = "4.7"; 74 78 src = 75 79 fetchurl { 76 80 url = "https://downloads.typesafe.com/scalaide-pack/4.7.0-vfinal-oxygen-212-20170929/scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz"; ··· 86 90 src = 87 91 fetchurl { 88 92 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz"; 89 - sha512 = "3ag7nfpnn1149gkva58x0037pbdb5wds0qpwv21lif7a6b1a1n7g2n056bn43a7fkxkkj38752gkz29nvqh5g8hqkg29lax8sjlm7sm"; 93 + hash = "sha512-7bTYIFnX8oUPaqDrMOlGNnpyC+xvDQsNmgZUps/epGkzM9Fjlc2lPr75VR7UaezBCoAuNTSHCYtG5d6TJOKjmQ=="; 90 94 }; 91 95 }; 92 96 ··· 98 102 src = 99 103 fetchurl { 100 104 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 101 - sha512 = "27h5wjr4k0jhi256rk74kbjbm5h7xi4hbml89n1jhppq1yfyv2mf75zb32iaia2pxclx6hc0cd1hvq85fwvcshnq79fw8za687yvbhv"; 105 + hash = "sha512-ahykujYH9RLvxVMPFlFILGYJO0LXHvuhnILifeAo5v5Tp5ktGVlZWG461iZHETlt8Zr76liGAqm1ytQcuzCyQA=="; 102 106 }; 103 107 }; 104 108 ··· 110 114 src = 111 115 fetchurl { 112 116 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-jee-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 113 - sha512 = "03li2bkhkdybwp411xs8i3cp2hmrfg2xd7inbdsxh07y4b9806spi3q10vga97m7ngl6fl5n0mvgxwj8dbdvp133wn9mgrlajb1n4n8"; 117 + hash = "sha512-CuKxjcnvkROURtavZJN0AhCuA0x7NayZTpIOn9oE21rUzVqR0p7x7C5RPtMZ9gS4ZMWcYyQDJ0BVgRHBoKsYqQ=="; 114 118 }; 115 119 }; 116 120 ··· 122 126 src = 123 127 fetchurl { 124 128 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-committers-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 125 - sha512 = "38xwwvg59bdp0a6brmcvq0wlfikik0wnqq897abf5a8vyr0ci7xp5f4ii90x2l5sj5gmcc6jiwvi99c03cjbgivpalr741yka0p3pv5"; 129 + hash = "sha512-CqUbxUUMIJsXsx4XEOQ1d2L3U22VpAfQP+R8HNoVetDawhR+b2tyDVnTQRKTL4dJ0fjLXDeoHvTlPm1EXi/ahA=="; 126 130 }; 127 131 }; 128 132 ··· 134 138 src = 135 139 fetchurl { 136 140 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-rcp-${year}-${month}-R-linux-gtk-x86_64.tar.gz"; 137 - sha512 = "30hhy83lmjldcwwbjpk5q9zjai5r3xyhlrddalgrw8mspknayncaa2l32gg327fw0a8qaakzgwkh68gj81pmk3dps5wzy881pf22dhc"; 141 + hash = "sha256-ys3MjIBr2hLZC/GB8Am/Qlto4+dSzOoK9p7QF+GS0Eg="; 138 142 }; 139 143 }; 140 144
+2 -2
pkgs/applications/editors/eclipse/plugins.nix
··· 248 248 cdt = buildEclipseUpdateSite rec { 249 249 name = "cdt-${version}"; 250 250 # find current version at https://www.eclipse.org/cdt/downloads.php 251 - version = "10.4.1"; 251 + version = "10.5.0"; 252 252 253 253 src = fetchzip { 254 254 stripRoot = false; 255 255 url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/${lib.versions.majorMinor version}/${name}/${name}.zip"; 256 - sha256 = "1l3v6dryaqifwrv2h4knwmpyf11qbyl04p7gcvgrx3hczc82a6p1"; 256 + hash = "sha256-0sf38Ekw9mMjiEmJDcunVL3VS3KqWVXKZlQIGBk4V4g="; 257 257 }; 258 258 259 259 meta = with lib; {
-1
pkgs/applications/editors/emacs/27.nix
··· 2 2 version = "27.2"; 3 3 sha256 = "sha256-tKfMTnjmPzeGJOCRkhW5EK9bsqCvyBn60pgnLp9Awbk="; 4 4 patches = fetchpatch: [ 5 - ./tramp-detect-wrapped-gvfsd.patch 6 5 (fetchpatch { 7 6 name = "fix-aarch64-darwin-triplet.patch"; 8 7 url = "https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=a88f63500e475f842e5fbdd9abba4ce122cdb082";
+10
pkgs/applications/editors/emacs/generic.nix
··· 64 64 rm -fr .git 65 65 '') 66 66 67 + # Add the name of the wrapped gvfsd 68 + # This used to be carried as a patch but it often got out of sync with upstream 69 + # and was hard to maintain for emacs-overlay. 70 + (lib.concatStrings (map (fn: '' 71 + sed -i 's#(${fn} "gvfs-fuse-daemon")#(${fn} "gvfs-fuse-daemon") (${fn} ".gvfsd-fuse-wrapped")#' lisp/net/tramp-gvfs.el 72 + '') [ 73 + "tramp-compat-process-running-p" 74 + "tramp-process-running-p" 75 + ])) 76 + 67 77 # Reduce closure size by cleaning the environment of the emacs dumper 68 78 '' 69 79 substituteInPlace src/Makefile.in \
-14
pkgs/applications/editors/emacs/tramp-detect-wrapped-gvfsd-26.patch
··· 1 - diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el 2 - index f370abba31..f2806263a9 100644 3 - --- a/lisp/net/tramp-gvfs.el 4 - +++ b/lisp/net/tramp-gvfs.el 5 - @@ -164,7 +164,8 @@ tramp-gvfs-enabled 6 - (and (featurep 'dbusbind) 7 - (tramp-compat-funcall 'dbus-get-unique-name :system) 8 - (tramp-compat-funcall 'dbus-get-unique-name :session) 9 - - (or (tramp-compat-process-running-p "gvfs-fuse-daemon") 10 - + (or (tramp-compat-process-running-p ".gvfsd-fuse-wrapped") 11 - + (tramp-compat-process-running-p "gvfs-fuse-daemon") 12 - (tramp-compat-process-running-p "gvfsd-fuse")))) 13 - "Non-nil when GVFS is available.") 14 -
-11
pkgs/applications/editors/emacs/tramp-detect-wrapped-gvfsd.patch
··· 1 - diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el 2 - index 9e26c8fd6d..fa220e513c 100644 3 - --- a/lisp/net/tramp-gvfs.el 4 - +++ b/lisp/net/tramp-gvfs.el 5 - @@ -125,5 +125,6 @@ 6 - ;; for some processes. Better we don't check. 7 - (<= emacs-major-version 25) 8 - (tramp-compat-process-running-p "gvfs-fuse-daemon") 9 - + (tramp-compat-process-running-p ".gvfsd-fuse-wrapped") 10 - (tramp-compat-process-running-p "gvfsd-fuse")))) 11 - "Non-nil when GVFS is available.")
+6 -6
pkgs/applications/editors/vscode/vscode.nix
··· 14 14 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 15 15 16 16 sha256 = { 17 - x86_64-linux = "1w28rmb9fi45s85rrlzzh6r826dnyisd6lh3j8ir4hx6d34cawsf"; 18 - x86_64-darwin = "1fyg3ygqk0z3jcj5bskgprlq8k9j134y75xq06z4xbv1dhgwhswj"; 19 - aarch64-linux = "0hha9ksbj51zmq0p3d1fwni4jd0yp0wab0w19carmbhnydhrgh22"; 20 - aarch64-darwin = "1cmrh621z7ddl4qh95hm0nwzazshl71a43c6113jf4w6b1kvy5m5"; 21 - armv7l-linux = "1kipvqc5hrpgsfw7x2ab5jydf7zksdd3q8qr2mg20kjsdi4skwy4"; 17 + x86_64-linux = "0xn2gcvqjbj2adfwq2s0pz1n4yxg6spq4hifhvwavb34pn9yc9p9"; 18 + x86_64-darwin = "13kgsxhjdfcdgz8xbhzpd7x1xh6am255dwxpbr03cg4p8iwfd3ig"; 19 + aarch64-linux = "166ag0k0j8wixm3arl1ld4a4qi92ff1zvb6whhqshzdv0s39pys3"; 20 + aarch64-darwin = "08g8qjbvlp27i37z7jcsvzgg6vm0grppnlh0jyji6lz31ksib6pz"; 21 + armv7l-linux = "15l9kr01f0jxfi0a9dnldsjrwzv9x60ljgvmlh0zhx4h0q1x0n7l"; 22 22 }.${system}; 23 23 in 24 24 callPackage ./generic.nix rec { 25 25 # Please backport all compatible updates to the stable release. 26 26 # This is important for the extension ecosystem. 27 - version = "1.63.0"; 27 + version = "1.63.1"; 28 28 pname = "vscode"; 29 29 30 30 executableName = "code" + lib.optionalString isInsiders "-insiders";
+5 -5
pkgs/applications/editors/vscode/vscodium.nix
··· 13 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 14 15 15 sha256 = { 16 - x86_64-linux = "17kck7pkklhifm6hpsd93wmnyk06vi9sa55gp62m3diymp1b129z"; 17 - x86_64-darwin = "1japc6yyvw07rll53pf2jfg89m2g9jqj5daghg10v1gqk98j7r3x"; 18 - aarch64-linux = "0zg05q0hyldnw5g8b9zdf0ls4s07fixib7v830wa5dyi2sjcv149"; 19 - armv7l-linux = "0mky66cyxhx3cfm35sa4vlwh8m1878rc80jml9mqxdhlrpnxgdiy"; 16 + x86_64-linux = "1p7rbpvmllpdvghk3avg8f0xrbfhgyyj7l0ajjp0pcx24g3ijdwq"; 17 + x86_64-darwin = "1ggcvdvciq5dkiknlxsrxkx96gj0g8vw0h2v1bj1xvv1mqjv0kwk"; 18 + aarch64-linux = "0ypi7n99c6s99vxl78j5zw4l8jysgnz3bzch3l9yqpp1faq2zim5"; 19 + armv7l-linux = "1rb1b4ixvm98y5s40i6qhzl6c5rv1jkbvcbwrv4s2g122j002dwn"; 20 20 }.${system}; 21 21 22 22 sourceRoot = { ··· 31 31 32 32 # Please backport all compatible updates to the stable release. 33 33 # This is important for the extension ecosystem. 34 - version = "1.63.0"; 34 + version = "1.63.1"; 35 35 pname = "vscodium"; 36 36 37 37 executableName = "codium";
+2 -2
pkgs/applications/misc/grip/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "grip"; 19 - version = "4.2.2"; 19 + version = "4.2.3"; 20 20 21 21 src = fetchurl { 22 22 url = "mirror://sourceforge/grip/grip-${version}.tar.gz"; 23 - sha256 = "sha256-nXtGgJeNYM8lyllNi9UdmsnVcHOCXfryWmKGZ9QFTHE="; 23 + sha256 = "sha256-5Qgsf4+xs0ckhYJk2csKulXC3nWaLRAsQ15qaTkKkjw="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ pkg-config libtool ];
+2 -2
pkgs/applications/misc/masterpdfeditor/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "masterpdfeditor"; 5 - version = "5.7.90"; 5 + version = "5.8.20"; 6 6 7 7 src = fetchurl { 8 8 url = "https://code-industry.net/public/master-pdf-editor-${version}-qt5.x86_64.tar.gz"; 9 - sha256 = "sha256-wUHLesJ/YV3QyTJfGUr1lFD55JBnfSmjO2VvriaqlII="; 9 + sha256 = "sha256-2YfjTRTC/ZvgnV4tEY4wwoqUeUG8+0SCYuRPBzQ8ba4="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ autoPatchelfHook wrapQtAppsHook ];
+2 -2
pkgs/applications/networking/browsers/brave/default.nix
··· 93 93 94 94 stdenv.mkDerivation rec { 95 95 pname = "brave"; 96 - version = "1.32.115"; 96 + version = "1.33.106"; 97 97 98 98 src = fetchurl { 99 99 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 100 - sha256 = "6DY3gLyaMSkjZEPR9o1hiuFFsL22bTeq2SN9Nt3DCSc="; 100 + sha256 = "XSqlQyc6gJthchfmq29d5+OVVSaxYG7zpVZNFZpl67s="; 101 101 }; 102 102 103 103 dontConfigure = true;
+2 -2
pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
··· 7 7 8 8 # Please keep the version x.y.0.z and do not update to x.y.76.z because the 9 9 # source of the latter disappears much faster. 10 - version = "8.77.0.97"; 10 + version = "8.79.0.92"; 11 11 12 12 rpath = lib.makeLibraryPath [ 13 13 alsa-lib ··· 69 69 "https://mirror.cs.uchicago.edu/skype/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb" 70 70 "https://web.archive.org/web/https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb" 71 71 ]; 72 - sha256 = "sha256-0u1fpKJrsEgbvTwdkqJZ/SwCRDmJwEi9IXHbMmY8MJI="; 72 + sha256 = "sha256-wGt0zNBmJf5NJGGOopWNUoBoy8sr4jWp8UKLd8AudnM="; 73 73 } 74 74 else 75 75 throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
+2 -2
pkgs/applications/networking/remote/teamviewer/default.nix
··· 6 6 7 7 mkDerivation rec { 8 8 pname = "teamviewer"; 9 - version = "15.22.3"; 9 + version = "15.24.5"; 10 10 11 11 src = fetchurl { 12 12 url = "https://dl.tvcdn.de/download/linux/version_15x/teamviewer_${version}_amd64.deb"; 13 - sha256 = "15fvzhdq7mnx2l2w4byvij8ww16qwdlkbadal60rm66yzv79mv9w"; 13 + sha256 = "sha256-u4azVjwD5xTc0vWe8tDEx44rBdYFZljZPVQ0yilqeR0="; 14 14 }; 15 15 16 16 unpackPhase = ''
+40
pkgs/applications/science/biology/subread/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , zlib 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "subread"; 9 + version = "2.0.3"; 10 + 11 + src = fetchurl { 12 + url = "mirror://sourceforge/subread/subread-${version}/subread-${version}-source.tar.gz"; 13 + sha256 = "sha256-Vs7zovkU1DJxMGnVwoL0iDHDoezIlDKtVYDKoyKl9Ws="; 14 + }; 15 + 16 + buildInputs = [ 17 + zlib 18 + ]; 19 + 20 + configurePhase = '' 21 + cd src 22 + cp Makefile.${if stdenv.isLinux then "Linux" else "MacOS"} Makefile 23 + ''; 24 + 25 + makeFlags = [ "CC_EXEC=cc" ]; 26 + 27 + installPhase = '' 28 + mkdir $out 29 + cp -r ../bin $out 30 + ''; 31 + 32 + meta = with lib; { 33 + description = "High-performance read alignment, quantification and mutation discovery"; 34 + license = licenses.gpl3; 35 + maintainers = with maintainers; [ jbedo ]; 36 + platforms = [ "x86_64-darwin" "x86_64-linux" ]; 37 + homepage = "http://subread.sourceforge.net/"; 38 + }; 39 + 40 + }
+3 -3
pkgs/applications/virtualization/cloud-hypervisor/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cloud-hypervisor"; 5 - version = "20.0"; 5 + version = "20.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloud-hypervisor"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "1j2p2phv1fxsa2mdr66gyswqgij33m3sdaa460xrf98dm581bqw2"; 11 + sha256 = "1r55ykxwa0xr1f9sp7mnv8nqf0dr7vw62b1w8r7mmyrndwnq6z5b"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ]; 15 15 buildInputs = [ openssl ] ++ lib.optional stdenv.isAarch64 dtc; 16 16 17 - cargoSha256 = "12fmpq1y29mawa3xdwbwa3fw2hnhy5rqhlx54qp0s3x9g2jd7gsa"; 17 + cargoSha256 = "07wpfhlp82hp3hr8vc52vhkrxd8xpyvdvfqh1dn1fnhxk3b1z7lz"; 18 18 19 19 meta = with lib; { 20 20 homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor";
+2 -2
pkgs/applications/virtualization/docker-slim/default.nix
··· 6 6 7 7 buildGoPackage rec { 8 8 pname = "docker-slim"; 9 - version = "1.37.2"; 9 + version = "1.37.3"; 10 10 11 11 goPackagePath = "github.com/docker-slim/docker-slim"; 12 12 ··· 14 14 owner = "docker-slim"; 15 15 repo = "docker-slim"; 16 16 rev = version; 17 - sha256 = "1svhi9xf71zrk843bnwkpmq4iaaln07dpfrdvq0vdqhj5xvbx47g"; 17 + sha256 = "sha256-jzwQ3nrhLDiQXcVkPiXrRAmpLQOD8ILBnoCEUiEbxzw="; 18 18 }; 19 19 20 20 subPackages = [ "cmd/docker-slim" "cmd/docker-slim-sensor" ];
+35
pkgs/build-support/writers/aliases.nix
··· 1 + lib: prev: 2 + 3 + let 4 + # Removing recurseForDerivation prevents derivations of aliased attribute 5 + # set to appear while listing all the packages available. 6 + removeRecurseForDerivations = alias: with lib; 7 + if alias.recurseForDerivations or false then 8 + removeAttrs alias ["recurseForDerivations"] 9 + else alias; 10 + 11 + # Disabling distribution prevents top-level aliases for non-recursed package 12 + # sets from building on Hydra. 13 + removeDistribute = alias: with lib; 14 + if isDerivation alias then 15 + dontDistribute alias 16 + else alias; 17 + 18 + # Make sure that we are not shadowing something from 19 + # writers. 20 + checkInPkgs = n: alias: if builtins.hasAttr n prev 21 + then throw "Alias ${n} is still in writers" 22 + else alias; 23 + 24 + mapAliases = aliases: 25 + lib.mapAttrs (n: alias: removeDistribute 26 + (removeRecurseForDerivations 27 + (checkInPkgs n alias))) 28 + aliases; 29 + 30 + in 31 + mapAliases ({ 32 + /* Cleanup before 22.05, Added 2021-12-11 */ 33 + writePython2 = "Python 2 is EOL and the use of writers.writePython2 is deprecated."; 34 + writePython2Bin = "Python 2 is EOL and the use of writers.writePython2Bin is deprecated."; 35 + })
+33 -10
pkgs/build-support/writers/default.nix
··· 1 - { pkgs, buildPackages, lib, stdenv, libiconv, gawk, gnused, gixy }: 1 + { pkgs, config, buildPackages, lib, stdenv, libiconv, gawk, gnused, gixy }: 2 2 3 - with lib; 4 - rec { 3 + let 4 + aliases = if (config.allowAliases or true) then (import ./aliases.nix lib) else prev: {}; 5 + 6 + writers = with lib; rec { 5 7 # Base implementation for non-compiled executables. 6 8 # Takes an interpreter, for example `${pkgs.bash}/bin/bash` 7 9 # ··· 245 247 ''); 246 248 } name; 247 249 248 - # writePython2 takes a name an attributeset with libraries and some python2 sourcecode and 250 + # writePyPy2 takes a name an attributeset with libraries and some pypy2 sourcecode and 249 251 # returns an executable 250 252 # 251 253 # Example: 252 - # writePython2 "test_python2" { libraries = [ pkgs.python2Packages.enum ]; } '' 254 + # writePyPy2 "test_pypy2" { libraries = [ pkgs.pypy2Packages.enum ]; } '' 253 255 # from enum import Enum 254 256 # 255 257 # class Test(Enum): ··· 257 259 # 258 260 # print Test.a 259 261 # '' 260 - writePython2 = makePythonWriter pkgs.python2 pkgs.python2Packages; 262 + writePyPy2 = makePythonWriter pkgs.pypy2 pkgs.pypy2Packages; 261 263 262 - # writePython2Bin takes the same arguments as writePython2 but outputs a directory (like writeScriptBin) 263 - writePython2Bin = name: 264 - writePython2 "/bin/${name}"; 264 + # writePyPy2Bin takes the same arguments as writePyPy2 but outputs a directory (like writeScriptBin) 265 + writePyPy2Bin = name: 266 + writePyPy2 "/bin/${name}"; 265 267 266 268 # writePython3 takes a name an attributeset with libraries and some python3 sourcecode and 267 269 # returns an executable ··· 280 282 # writePython3Bin takes the same arguments as writePython3 but outputs a directory (like writeScriptBin) 281 283 writePython3Bin = name: 282 284 writePython3 "/bin/${name}"; 283 - } 285 + 286 + # writePyPy3 takes a name an attributeset with libraries and some pypy3 sourcecode and 287 + # returns an executable 288 + # 289 + # Example: 290 + # writePyPy3 "test_pypy3" { libraries = [ pkgs.pypy3Packages.pyyaml ]; } '' 291 + # import yaml 292 + # 293 + # y = yaml.load(""" 294 + # - test: success 295 + # """) 296 + # print(y[0]['test']) 297 + # '' 298 + writePyPy3 = makePythonWriter pkgs.pypy3 pkgs.pypy3Packages; 299 + 300 + # writePyPy3Bin takes the same arguments as writePyPy3 but outputs a directory (like writeScriptBin) 301 + writePyPy3Bin = name: 302 + writePyPy3 "/bin/${name}"; 303 + 304 + }; 305 + in 306 + writers // (aliases writers)
+27 -4
pkgs/build-support/writers/test.nix
··· 3 3 , lib 4 4 , nodePackages 5 5 , perlPackages 6 - , python2Packages 6 + , pypy2Packages 7 7 , python3Packages 8 + , pypy3Packages 8 9 , runCommand 9 10 , writers 10 11 , writeText ··· 54 55 print "success\n" if true; 55 56 ''; 56 57 57 - python2 = writePython2Bin "test-writers-python2-bin" { libraries = [ python2Packages.enum ]; } '' 58 + pypy2 = writePyPy2Bin "test-writers-pypy2-bin" { libraries = [ pypy2Packages.enum ]; } '' 58 59 from enum import Enum 59 60 60 61 ··· 73 74 """) 74 75 print(y[0]['test']) 75 76 ''; 77 + 78 + pypy3 = writePyPy3Bin "test-writers-pypy3-bin" { libraries = [ pypy3Packages.pyyaml ]; } '' 79 + import yaml 80 + 81 + y = yaml.load(""" 82 + - test: success 83 + """) 84 + print(y[0]['test']) 85 + ''; 76 86 }; 77 87 78 88 simple = { ··· 111 121 print "success\n" if true; 112 122 ''; 113 123 114 - python2 = writePython2 "test-writers-python2" { libraries = [ python2Packages.enum ]; } '' 124 + pypy2 = writePyPy2 "test-writers-pypy2" { libraries = [ pypy2Packages.enum ]; } '' 115 125 from enum import Enum 116 126 117 127 ··· 131 141 print(y[0]['test']) 132 142 ''; 133 143 134 - python2NoLibs = writePython2 "test-writers-python2-no-libs" {} '' 144 + pypy3 = writePyPy3 "test-writers-pypy3" { libraries = [ pypy3Packages.pyyaml ]; } '' 145 + import yaml 146 + 147 + y = yaml.load(""" 148 + - test: success 149 + """) 150 + print(y[0]['test']) 151 + ''; 152 + 153 + pypy2NoLibs = writePyPy2 "test-writers-pypy2-no-libs" {} '' 135 154 print("success") 136 155 ''; 137 156 138 157 python3NoLibs = writePython3 "test-writers-python3-no-libs" {} '' 158 + print("success") 159 + ''; 160 + 161 + pypy3NoLibs = writePyPy3 "test-writers-pypy3-no-libs" {} '' 139 162 print("success") 140 163 ''; 141 164 };
+4 -6
pkgs/desktops/pantheon/apps/elementary-dock/default.nix
··· 28 28 29 29 stdenv.mkDerivation rec { 30 30 pname = "elementary-dock"; 31 - version = "unstable-2021-11-08"; 31 + version = "unstable-2021-12-08"; 32 32 33 33 outputs = [ "out" "dev" ]; 34 34 35 - repoName = "dock"; 36 - 37 35 src = fetchFromGitHub { 38 36 owner = "elementary"; 39 - repo = repoName; 40 - rev = "51e8d3ddfbed0dfce3158d80f997ab183e92567b"; 41 - sha256 = "sha256-w6HGxEAXNod/uMEEfSz9nRNTRrCbcEqJCP9EFkVbX1U="; 37 + repo = "dock"; 38 + rev = "5e4b5ba2eec3b522e107ad834a59c0f1271d4699"; 39 + sha256 = "sha256-/Ul21t9VFxhmlQbfx4eY86UKU33hiRfXF9OPHBzPe5o="; 42 40 }; 43 41 44 42 nativeBuildInputs = [
+4 -4
pkgs/development/compilers/flutter/default.nix
··· 4 4 getPatches = dir: 5 5 let files = builtins.attrNames (builtins.readDir dir); 6 6 in map (f: dir + ("/" + f)) files; 7 - version = "2.5.1"; 7 + version = "2.8.0"; 8 8 channel = "stable"; 9 9 filename = "flutter_linux_${version}-${channel}.tar.xz"; 10 10 11 11 # Decouples flutter derivation from dart derivation, 12 12 # use specific dart version to not need to bump dart derivation when bumping flutter. 13 - dartVersion = "2.14.2"; 13 + dartVersion = "2.15.0"; 14 14 dartSourceBase = "https://storage.googleapis.com/dart-archive/channels"; 15 15 dartForFlutter = dart.override { 16 16 version = dartVersion; 17 17 sources = { 18 18 "${dartVersion}-x86_64-linux" = fetchurl { 19 19 url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip"; 20 - sha256 = "1gr2dr683kz0a0k6rcn4jcbxf9fr2xlzi5fcgn1lzrrxvys2lddx"; 20 + sha256 = "sha256-U1V1OPmFeNZCdBxFy7yqAbAE0cxh9f2UqKQmreJu9YA="; 21 21 }; 22 22 }; 23 23 }; ··· 29 29 pname = "flutter"; 30 30 src = fetchurl { 31 31 url = "https://storage.googleapis.com/flutter_infra_release/releases/${channel}/linux/${filename}"; 32 - sha256 = "12ycz7iasrc9p9c6zr95l6llyji3za43gsx8cmr2kjfiv23bcrv2"; 32 + sha256 = "sha256-sSz/owGdCMB5b9+cAWvLkrfFcIIq5665Xopd4JKv1G4="; 33 33 }; 34 34 patches = getPatches ./patches; 35 35 };
+24 -29
pkgs/development/compilers/flutter/patches/move-cache.patch
··· 1 1 diff --git a/packages/flutter_tools/lib/src/asset.dart b/packages/flutter_tools/lib/src/asset.dart 2 - index 80fb16673f..5723f93f9f 100644 2 + index ed42baea29..fee2fb1d62 100644 3 3 --- a/packages/flutter_tools/lib/src/asset.dart 4 4 +++ b/packages/flutter_tools/lib/src/asset.dart 5 - @@ -7,6 +7,7 @@ 6 - import 'package:meta/meta.dart'; 7 - import 'package:package_config/package_config.dart'; 8 - 9 - +import 'base/common.dart'; 10 - import 'base/context.dart'; 11 - import 'base/deferred_component.dart'; 12 - import 'base/file_system.dart'; 13 - @@ -16,6 +17,7 @@ import 'build_info.dart'; 14 - import 'cache.dart'; 5 + @@ -11,11 +11,11 @@ import 'base/file_system.dart'; 6 + import 'base/logger.dart'; 7 + import 'base/platform.dart'; 8 + import 'build_info.dart'; 9 + -import 'cache.dart'; 15 10 import 'convert.dart'; 16 11 import 'dart/package_map.dart'; 17 - +import 'globals.dart' as globals; 18 12 import 'devfs.dart'; 19 13 import 'flutter_manifest.dart'; 14 + +import 'globals.dart' as globals; 20 15 import 'license_collector.dart'; 21 - @@ -449,7 +451,7 @@ class ManifestAssetBundle implements AssetBundle { 22 - for (final Map<String, Object> font in family['fonts'] as List<Map<String, Object>>) { 23 - final Uri entryUri = _fileSystem.path.toUri(font['asset'] as String); 16 + import 'project.dart'; 17 + 18 + @@ -504,7 +504,7 @@ class ManifestAssetBundle implements AssetBundle { 19 + } 20 + final Uri entryUri = _fileSystem.path.toUri(asset); 24 21 result.add(_Asset( 25 - - baseDir: _fileSystem.path.join(Cache.flutterRoot, 'bin', 'cache', 'artifacts', 'material_fonts'), 26 - + baseDir: _fileSystem.path.join(globals.fsUtils.homeDirPath, '.cache', 'flutter', 'artifacts', 'material_fonts'), 22 + - baseDir: _fileSystem.path.join(Cache.flutterRoot!, 'bin', 'cache', 'artifacts', 'material_fonts'), 23 + + baseDir: _fileSystem.path.join(globals.fsUtils.homeDirPath!, 'bin', 'cache', 'artifacts', 'material_fonts'), 27 24 relativeUri: Uri(path: entryUri.pathSegments.last), 28 25 entryUri: entryUri, 29 26 package: null, 30 27 diff --git a/packages/flutter_tools/lib/src/cache.dart b/packages/flutter_tools/lib/src/cache.dart 31 - index 152d4e75e5..1fcff7e2bd 100644 28 + index 7870c7807f..3fcf92f20d 100644 32 29 --- a/packages/flutter_tools/lib/src/cache.dart 33 30 +++ b/packages/flutter_tools/lib/src/cache.dart 34 - @@ -9,6 +9,7 @@ import 'package:file/memory.dart'; 35 - import 'package:meta/meta.dart'; 36 - import 'package:process/process.dart'; 37 - 31 + @@ -22,6 +22,7 @@ import 'base/user_messages.dart'; 32 + import 'build_info.dart'; 33 + import 'convert.dart'; 34 + import 'features.dart'; 38 35 +import 'globals.dart' as globals; 39 - import 'base/common.dart'; 40 - import 'base/error_handling_io.dart'; 41 - import 'base/file_system.dart'; 42 - @@ -298,8 +299,15 @@ class Cache { 36 + 37 + const String kFlutterRootEnvironmentVariableName = 'FLUTTER_ROOT'; // should point to //flutter/ (root of flutter/flutter repo) 38 + const String kFlutterEngineEnvironmentVariableName = 'FLUTTER_ENGINE'; // should point to //engine/src/ (root of flutter/engine repo) 39 + @@ -302,8 +303,13 @@ class Cache { 43 40 return; 44 41 } 45 42 assert(_lock == null); 46 - + 47 43 + final Directory dir = _fileSystem.directory(_fileSystem.path.join(globals.fsUtils.homeDirPath!, '.cache', 'flutter')); 48 44 + if (!dir.existsSync()) { 49 45 + dir.createSync(recursive: true); 50 46 + globals.os.chmod(dir, '755'); 51 47 + } 52 - + 53 48 final File lockFile = 54 49 - _fileSystem.file(_fileSystem.path.join(flutterRoot!, 'bin', 'cache', 'lockfile')); 55 50 + _fileSystem.file(_fileSystem.path.join(globals.fsUtils.homeDirPath!, '.cache', 'flutter', 'lockfile')); 56 51 try { 57 52 _lock = lockFile.openSync(mode: FileMode.write); 58 53 } on FileSystemException catch (e) { 59 - @@ -404,7 +412,7 @@ class Cache { 54 + @@ -453,7 +459,7 @@ class Cache { 60 55 if (_rootOverride != null) { 61 56 return _fileSystem.directory(_fileSystem.path.join(_rootOverride!.path, 'bin', 'cache')); 62 57 } else {
+1 -1
pkgs/development/compilers/ldc/generic.nix
··· 132 132 # from https://github.com/ldc-developers/ldc/blob/master/LICENSE 133 133 license = with licenses; [ bsd3 boost mit ncsa gpl2Plus ]; 134 134 maintainers = with maintainers; [ ThomasMader lionello ]; 135 - platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" ]; 135 + platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 136 136 }; 137 137 }
+4
pkgs/development/interpreters/python/default.nix
··· 299 299 inherit passthruFun; 300 300 }; 301 301 302 + rustpython = callPackage ./rustpython/default.nix { 303 + inherit (darwin.apple_sdk.frameworks) SystemConfiguration; 304 + }; 305 + 302 306 })
+44
pkgs/development/interpreters/python/rustpython/default.nix
··· 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , SystemConfiguration 6 + , python3 7 + }: 8 + 9 + rustPlatform.buildRustPackage rec { 10 + pname = "rustpython"; 11 + version = "unstable-2021-12-09"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "RustPython"; 15 + repo = "RustPython"; 16 + rev = "db3b3127df34ff5dd569301aa36ed71ae5624e4e"; 17 + sha256 = "sha256-YwGfXs3A5L/18mHnnWubPU3Y8EI9uU3keJ2HJnnTwv0="; 18 + }; 19 + 20 + cargoHash = "sha256-T85kiPG80oZ4mwpb8Ag40wDHKx2Aens+gM7NGXan5lM="; 21 + 22 + # freeze the stdlib into the rustpython binary 23 + cargoBuildFlags = "--features=freeze-stdlib"; 24 + 25 + buildInputs = lib.optionals stdenv.isDarwin [ SystemConfiguration ]; 26 + 27 + checkInputs = [ python3 ]; 28 + 29 + meta = with lib; { 30 + description = "Python 3 interpreter in written Rust"; 31 + homepage = "https://rustpython.github.io"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ prusnak ]; 34 + 35 + # TODO: Remove once nixpkgs uses newer SDKs that supports '*at' functions. 36 + # Probably macOS SDK 10.13 or later. Check the current version in 37 + # .../os-specific/darwin/apple-sdk/default.nix 38 + # 39 + # From the build logs: 40 + # 41 + # > Undefined symbols for architecture x86_64: "_utimensat" 42 + broken = stdenv.isDarwin && stdenv.isx86_64; 43 + }; 44 + }
+2 -2
pkgs/development/libraries/openssl/default.nix
··· 207 207 }; 208 208 209 209 openssl_3_0 = common { 210 - version = "3.0.0"; 211 - sha256 = "sha256-We7fy0bCUhTJvTftYHgpe03wHQEiZ/6enu4x9hvHBTY="; 210 + version = "3.0.1"; 211 + sha256 = "sha256-wxGthTNTvOeW7a0BqGLFCopYf2Ln4hAO9GWrU+ybBtE="; 212 212 patches = [ 213 213 ./3.0/nix-ssl-cert-file.patch 214 214
+2 -2
pkgs/development/ocaml-modules/sha/default.nix
··· 2 2 3 3 buildDunePackage rec { 4 4 pname = "sha"; 5 - version = "1.14"; 5 + version = "1.15.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/djs55/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 9 - sha256 = "114vydrfdp7fayigvgk3ckiby0kh4n49c1j53v8k40gk6nzm3l19"; 9 + sha256 = "sha256-cRtjydvwgXgimi6F3C48j7LrWgfMO6m9UJKjKlxvp0Q="; 10 10 }; 11 11 12 12 useDune2 = true;
+3 -3
pkgs/development/ocaml-modules/wayland/default.nix
··· 12 12 13 13 buildDunePackage rec { 14 14 pname = "wayland"; 15 - version = "0.2"; 15 + version = "1.0"; 16 16 17 17 minimumOCamlVersion = "4.08"; 18 18 19 19 useDune2 = true; 20 20 21 21 src = fetchurl { 22 - url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-v${version}.tbz"; 23 - sha256 = "4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c"; 22 + url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-${version}.tbz"; 23 + sha256 = "bf8fd0057242d11f1c265c11cfa5de3c517ec0ad5994eae45e1efe3aac034510"; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/casbin/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "casbin"; 12 - version = "1.15.0"; 12 + version = "1.15.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; ··· 18 18 owner = pname; 19 19 repo = "pycasbin"; 20 20 rev = "v${version}"; 21 - sha256 = "05jg8qm0ix02qvcjqcfalp15j22hzlf9wfdnhrll57bnwgk4kkf8"; 21 + sha256 = "1majsbpldsch3wgg7pdm87vk9dhqll9nk2pjjvqp8rvg93x2kkww"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/flask-appbuilder/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "flask-appbuilder"; 28 - version = "3.4.0"; 28 + version = "3.4.1"; 29 29 30 30 src = fetchPypi { 31 31 pname = "Flask-AppBuilder"; 32 32 inherit version; 33 - sha256 = "a5dfb559a0e96dd06bf5ff023f72bb3cc855e6db68e573e70f30caa31840f50f"; 33 + sha256 = "c0830935077c4d06d57237ca4791fcabfc682fe3e315c1c9444a2bd6f94e7514"; 34 34 }; 35 35 36 36 # See here: https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch
+2 -2
pkgs/development/python-modules/open-meteo/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "open-meteo"; 15 - version = "0.2.0"; 15 + version = "0.2.1"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.8"; ··· 21 21 owner = "frenck"; 22 22 repo = "python-open-meteo"; 23 23 rev = "v${version}"; 24 - sha256 = "tuAuY43HRz8zFTOhsm4TxSppP4CYTGPqQndDMxW3URs="; 24 + sha256 = "0i8jmhd29vvkpfxs9l5wy8525ngs79mnc7si2j9b1nc41xrv91f6"; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/somajo/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "SoMaJo"; 5 - version = "2.1.5"; 5 + version = "2.1.6"; 6 6 disabled = !isPy3k; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "tsproisl"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "17v1vmbjwpxwql25vlbm7xsair7945ljmyaricxx8fd6fxvgn9rr"; 12 + sha256 = "1q88x05729qdnl1gbahisjk3s97wha0b5dj3n63kq2qyvyy0929s"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [ regex ];
+2 -2
pkgs/development/python-modules/tailscale/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "tailscale"; 16 - version = "0.1.4"; 16 + version = "0.1.5"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "frenck"; 23 23 repo = "python-tailscale"; 24 24 rev = "v${version}"; 25 - sha256 = "sha256-xRVkmofD2pOco0kJfVcmUaPow2ZZNEZrhvNmldUjQuw="; 25 + sha256 = "1a33xibkbavl442sc7phvj6d6w17x91zh64f59w0xrsccabn25b1"; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/vehicle/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "vehicle"; 16 - version = "0.2.2"; 16 + version = "0.3.0"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "frenck"; 23 23 repo = "python-vehicle"; 24 24 rev = "v${version}"; 25 - sha256 = "sha256-3DkfS8gx3C1/Vj8+IE7uxZ5i0cKJk0mJpBWQqAgb2Xo="; 25 + sha256 = "0blpyh246l16bn6jy8ifym2br13k8qxagggbwpzwrwfxkb3kdz5x"; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/development/tools/analysis/tflint/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tflint"; 5 - version = "0.33.2"; 5 + version = "0.34.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "terraform-linters"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-CjpeBB1krbRJxwfvBbhhHUf5IDOZFWRds/t9h22iLE0="; 11 + sha256 = "sha256-MdA1bS8ZPsfwnmnmIKBissuvwWY9HHxoLJEfGcJQ3j0="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-y+bPFCjgTu+C5Cx85lYRjUbLd6c5PcckXRpg102d1zk=";
+14 -4
pkgs/development/tools/misc/tcptrack/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, ncurses, libpcap }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, libpcap }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tcptrack"; 5 - version = "1.4.3"; 5 + version = "unstable-2017-04-29"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bchretien"; 9 9 repo = "tcptrack"; 10 - rev = "d05fe08154ff1e46578e92be49e4cfa2c6543283"; 11 - sha256 = "08lh3l67wn4kq9q0nfspc7rj0jvp9dzwjgxpvqliwcif8cy5mi45"; 10 + rev = "2b096ac103af2884bbd7648cff8adcbadbda9394"; 11 + sha256 = "0084g9s0ynv1az67j08q9nz4p07bqqz9k6w5lprzj3ljlh0x10gj"; 12 12 }; 13 + 14 + patches = [ 15 + # Fix pending upstream inclusion for ncurses-6.3 support: 16 + # https://github.com/bchretien/tcptrack/pull/10 17 + (fetchpatch { 18 + name = "ncurses-6.3.patch"; 19 + url = "https://github.com/bchretien/tcptrack/commit/409007afbce8ec5a81312a2a4123dd83b62b4494.patch"; 20 + sha256 = "00641jyr52ksww5bbzvxlprmbb36jnvzg2w1aj1jgnm75jiajcfc"; 21 + }) 22 + ]; 13 23 14 24 buildInputs = [ ncurses libpcap ]; 15 25
+11 -12
pkgs/games/fishfight/default.nix
··· 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 4 , stdenv 5 + , SDL2 5 6 , alsa-lib 6 7 , libGL 7 8 , libX11 ··· 9 10 , AudioToolbox 10 11 , Cocoa 11 12 , CoreAudio 12 - , CoreFoundation 13 - , IOKit 14 13 , OpenGL 15 14 }: 16 15 17 16 rustPlatform.buildRustPackage rec { 18 17 pname = "fishfight"; 19 - version = "0.1"; 18 + version = "0.3"; 20 19 21 20 src = fetchFromGitHub { 22 21 owner = "fishfight"; 23 22 repo = pname; 24 23 rev = "v${version}"; 25 - sha256 = "0mbg9zshyg9hlbsk5npslbnwjf8fh6gxszi5hxks380z080cjxs2"; 24 + sha256 = "sha256-kLdk7zTICZ8iawNttTsWUVKGvh2zykXVsMqUyYoGrBs="; 26 25 }; 27 26 28 - cargoSha256 = "sha256-fZXqJ6a2erAQSgAZRwmkor94eMryjiq3gbY102pJb9Q="; 27 + # use system sdl2 instead of bundled sdl2 28 + cargoPatches = [ ./use-system-sdl2.patch ]; 29 + 30 + cargoSha256 = "sha256-KQiqUzdsVMIjDmmreihekrrFoXeyNzd6ZbqApwH8B4Q="; 29 31 30 - buildInputs = lib.optionals stdenv.isLinux [ 32 + buildInputs = [ 33 + SDL2 34 + ] ++ lib.optionals stdenv.isLinux [ 31 35 alsa-lib 32 36 libGL 33 37 libX11 ··· 36 40 AudioToolbox 37 41 Cocoa 38 42 CoreAudio 39 - CoreFoundation 40 - IOKit 41 43 OpenGL 42 44 ]; 43 45 44 46 postPatch = '' 45 - substituteInPlace assets/levels/levels.toml --replace assets $out/share/assets 46 - substituteInPlace src/gui.rs --replace \"assets \"$out/share/assets 47 - substituteInPlace src/main.rs --replace \"assets \"$out/share/assets 47 + substituteInPlace src/main.rs --replace ./assets $out/share/assets 48 48 ''; 49 49 50 50 postInstall = '' ··· 57 57 homepage = "https://fishfight.org/"; 58 58 license = with licenses; [ mit /* or */ asl20 ]; 59 59 maintainers = with maintainers; [ figsoda ]; 60 - mainProgram = "fishgame"; 61 60 }; 62 61 }
+39
pkgs/games/fishfight/use-system-sdl2.patch
··· 1 + --- a/Cargo.lock 2 + +++ b/Cargo.lock 3 + @@ -96,15 +96,6 @@ version = "1.0.0" 4 + source = "registry+https://github.com/rust-lang/crates.io-index" 5 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 6 + 7 + -[[package]] 8 + -name = "cmake" 9 + -version = "0.1.46" 10 + -source = "registry+https://github.com/rust-lang/crates.io-index" 11 + -checksum = "b7b858541263efe664aead4a5209a4ae5c5d2811167d4ed4ee0944503f8d2089" 12 + -dependencies = [ 13 + - "cc", 14 + -] 15 + - 16 + [[package]] 17 + name = "color_quant" 18 + version = "1.1.0" 19 + @@ -605,7 +596,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" 20 + checksum = "94cb479353c0603785c834e2307440d83d196bf255f204f7f6741358de8d6a2f" 21 + dependencies = [ 22 + "cfg-if", 23 + - "cmake", 24 + "libc", 25 + "version-compare", 26 + ] 27 + diff --git a/Cargo.toml b/Cargo.toml 28 + index d2af29e..a813f30 100644 29 + --- a/Cargo.toml 30 + +++ b/Cargo.toml 31 + @@ -14,7 +14,7 @@ macroquad-profiler = "0.1" 32 + 33 + ff-particles = { version = "0.1", features = ["serde"] } 34 + 35 + -fishsticks = { version = "0.2.0", features = ["bundled-sdl2"] } 36 + +fishsticks = "0.2.0" 37 + 38 + stunclient = { git = "https://github.com/not-fl3/rust-stunclient", default-features = false } 39 +
+1 -1
pkgs/games/gotypist/default.nix
··· 21 21 ''; 22 22 homepage = "https://github.com/pb-/gotypist"; 23 23 license = licenses.mit; 24 - maintainers = [ "Paul Baecher" ]; 24 + maintainers = with maintainers; [ pb- ]; 25 25 }; 26 26 }
+2 -2
pkgs/games/quakespasm/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "quakespasm"; 9 - version = "0.94.1"; 9 + version = "0.94.2"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://sourceforge/quakespasm/quakespasm-${version}.tar.gz"; 13 - sha256 = "19grpvsk3ikjypx9j0gpfsx5wanrqxkgf8dwl9h6ab5c8wwmjcjp"; 13 + sha256 = "sha256-wIgtoJVZH14EKcVNqZdwV3a5jORptYkVMTW1UmvaHyo="; 14 14 }; 15 15 16 16 sourceRoot = "${pname}-${version}/Quake";
+2 -2
pkgs/misc/vscode-extensions/default.nix
··· 1613 1613 mktplcRef = { 1614 1614 name = "vscode-ltex"; 1615 1615 publisher = "valentjn"; 1616 - version = "13.0.0"; 1616 + version = "13.1.0"; 1617 1617 }; 1618 1618 1619 1619 vsix = fetchurl { 1620 1620 name = "${mktplcRef.publisher}-${mktplcRef.name}.zip"; 1621 1621 url = "https://github.com/valentjn/vscode-ltex/releases/download/${mktplcRef.version}/vscode-ltex-${mktplcRef.version}-offline-linux-x64.vsix"; 1622 - sha256 = "6db4846dee4e394f7bcfb7e29520d45d6bc1534482ba73cf40cd5edf3f6ec266"; 1622 + sha256 = "1nlrijjwc35n1xgb5lgnr4yvlgfcxd0vdj93ip8lv2xi8x1ni5f6"; 1623 1623 }; 1624 1624 1625 1625 nativeBuildInputs = [ jq moreutils ];
+32 -7
pkgs/servers/openafs/1.8/default.nix
··· 1 - { lib, stdenv, buildPackages, fetchurl, which, autoconf, automake, flex 2 - , bison , glibc, perl, libkrb5, libxslt, docbook_xsl, file 3 - , docbook_xml_dtd_43, libtool_2 4 - , withDevdoc ? false, doxygen, dblatex # Extra developer documentation 1 + { lib 2 + , stdenv 3 + , buildPackages 4 + , fetchurl 5 + , which 6 + , autoconf 7 + , automake 8 + , flex 9 + , bison 10 + , glibc 11 + , perl 12 + , libkrb5 13 + , libxslt 14 + , docbook_xsl 15 + , file 16 + , docbook_xml_dtd_43 17 + , libtool_2 18 + , withDevdoc ? false 19 + , doxygen 20 + , dblatex # Extra developer documentation 5 21 , ncurses # Extra ncurses utilities. Needed for debugging and monitoring. 6 22 , tsmbac ? null # Tivoli Storage Manager Backup Client from IBM 7 23 }: ··· 10 26 let 11 27 inherit (lib) optional optionalString optionals; 12 28 13 - in stdenv.mkDerivation { 29 + in 30 + stdenv.mkDerivation { 14 31 pname = "openafs"; 15 32 inherit version srcs; 16 33 17 34 depsBuildBuild = [ buildPackages.stdenv.cc ]; 18 - nativeBuildInputs = [ autoconf automake flex libxslt libtool_2 perl 19 - which bison ] ++ optionals withDevdoc [ doxygen dblatex ]; 35 + nativeBuildInputs = [ 36 + autoconf 37 + automake 38 + flex 39 + libxslt 40 + libtool_2 41 + perl 42 + which 43 + bison 44 + ] ++ optionals withDevdoc [ doxygen dblatex ]; 20 45 21 46 buildInputs = [ libkrb5 ncurses ]; 22 47
+16 -20
pkgs/servers/openafs/1.8/module.nix
··· 1 - { lib, stdenv, fetchurl, which, autoconf, automake, flex, bison 2 - , kernel, glibc, perl, libtool_2, libkrb5, fetchpatch }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , which 5 + , autoconf 6 + , automake 7 + , flex 8 + , bison 9 + , kernel 10 + , glibc 11 + , perl 12 + , libtool_2 13 + , libkrb5 14 + }: 3 15 4 16 with (import ./srcs.nix { 5 17 inherit fetchurl; ··· 9 21 modDestDir = "$out/lib/modules/${kernel.modDirVersion}/extra/openafs"; 10 22 kernelBuildDir = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; 11 23 12 - in stdenv.mkDerivation { 24 + in 25 + stdenv.mkDerivation { 13 26 name = "openafs-${version}-${kernel.modDirVersion}"; 14 27 inherit version src; 15 28 ··· 17 30 ++ kernel.moduleBuildDependencies; 18 31 19 32 buildInputs = [ libkrb5 ]; 20 - 21 - patches = [ 22 - # LINUX 5.14: explicitly set set_page_dirty to default 23 - ((fetchpatch { 24 - url = "https://gerrit.openafs.org/changes/14830/revisions/20b8a37950b3718b85a4a3d21b23469a5176eb6a/patch"; 25 - sha256 = "1mkfwq0pbwvfjspsy2lxhi0f09hljgc6xyn3y97sai0dyivn05jp"; 26 - }).overrideAttrs (o: { 27 - postFetch = "mv $out p; base64 -d p > $out; " + o.postFetch; 28 - })) 29 - # Linux 5.15: Convert osi_Msg macro to a function 30 - ((fetchpatch { 31 - url = "https://gerrit.openafs.org/changes/14831/revisions/6cfa9046229d90c0625687e3fddb7877f21fbcff/patch"; 32 - sha256 = "18rip9a1krxf47fizf3f12ddq55apzb2w3wjj5qs7n3sh2nwks7g"; 33 - }).overrideAttrs (o: { 34 - postFetch = "mv $out p; base64 -d p > $out; " + o.postFetch; 35 - })) 36 - ]; 37 33 38 34 hardeningDisable = [ "pic" ]; 39 35
+7 -5
pkgs/servers/openafs/1.8/srcs.nix
··· 1 1 { fetchurl }: 2 2 rec { 3 - version = "1.8.8"; 3 + version = "1.8.8.1"; 4 4 src = fetchurl { 5 5 url = "https://www.openafs.org/dl/openafs/${version}/openafs-${version}-src.tar.bz2"; 6 - sha256 = "sha256-2qjvhqdyf6z83jvJemrRQxKcHCXuNfM0cIDsfp0oTaA="; 6 + sha256 = "sha256-58S+1wdbzWQC4/DC1bnb52rS7jxf1d3DlzozVsoj70Q="; 7 7 }; 8 8 9 - srcs = [ src 9 + srcs = [ 10 + src 10 11 (fetchurl { 11 12 url = "https://www.openafs.org/dl/openafs/${version}/openafs-${version}-doc.tar.bz2"; 12 - sha256 = "sha256-3cxODH1KvOTxrGB+acEudxGCX1iBPjZcTfjpfraOm+U="; 13 - })]; 13 + sha256 = "sha256-y17O3C4WS+o7SMayydbxw2v96R0GikxiqciF30j+jms="; 14 + }) 15 + ]; 14 16 }
+2 -2
pkgs/servers/tautulli/default.nix
··· 2 2 3 3 buildPythonApplication rec { 4 4 pname = "Tautulli"; 5 - version = "2.7.6"; 5 + version = "2.7.7"; 6 6 format = "other"; 7 7 8 8 pythonPath = [ setuptools ]; ··· 12 12 owner = "Tautulli"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "1j57n8bi8qzzx1nw23rfr1g8yidg7p600pbbfv4b1dfiw8633jsl"; 15 + sha256 = "03zqpffc0hc8lrnc9m9562lh154bv3cnfw0n5x7j4wqr2jp5kb2h"; 16 16 }; 17 17 18 18 installPhase = ''
+19
pkgs/servers/x11/xorg/overrides.nix
··· 649 649 ]; 650 650 postInstall = ":"; # prevent infinite recursion 651 651 }); 652 + 653 + fpgit = commit: sha256: name: fetchpatch ( 654 + { 655 + url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/${commit}.diff"; 656 + inherit sha256; 657 + } // lib.optionalAttrs (name != null) { 658 + name = name + ".patch"; 659 + } 660 + ); 652 661 in 653 662 if (!isDarwin) 654 663 then { 655 664 outputs = [ "out" "dev" ]; 656 665 patches = [ 666 + # https://lists.x.org/archives/xorg-announce/2021-December/003122.html 667 + (fpgit "ebce7e2d80e7c80e1dda60f2f0bc886f1106ba60" 668 + "sNi16FqN4rS4s8j5+PUVeOQBasccCkB5KvywP7xl28M=" "CVE-2021-4008") 669 + (fpgit "b5196750099ae6ae582e1f46bd0a6dad29550e02" 670 + "5hgzQXBBaJfhSTa9hs8K2N1fQ6+Vp8TTkertmQhkw8Y=" "CVE-2021-4009") 671 + (fpgit "6c4c53010772e3cb4cb8acd54950c8eec9c00d21" 672 + "1gGG9RpjLMi7Emwh13/z5CN1+ISLsPL3hJXP5gQcNkE=" "CVE-2021-4010") 673 + (fpgit "e56f61c79fc3cee26d83cda0f84ae56d5979f768" 674 + "e1KgSXGwwI3GgcYeWaF3KHPmkE4tf9VTqvfTYqRpysY=" "CVE-2021-4011") 675 + 657 676 # The build process tries to create the specified logdir when building. 658 677 # 659 678 # We set it to /var/log which can't be touched from inside the sandbox causing the build to hard-fail
+23
pkgs/tools/misc/fbmark/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "fbmark"; 5 + version = "0.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "caramelli"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "0n2czl2sy1k6r5ri0hp7jgq84xcwrx4x43bqvw1b4na99mqhyahn"; 12 + }; 13 + 14 + makeFlags = [ "PREFIX=$(out)" ]; 15 + 16 + meta = with lib; { 17 + description = "Linux Framebuffer Benchmark"; 18 + homepage = "https://github.com/caramelli/fbmark"; 19 + license = licenses.gpl3Plus; 20 + maintainers = with maintainers; [ davidak ]; 21 + platforms = platforms.linux; 22 + }; 23 + }
+2 -2
pkgs/tools/misc/fortune/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fortune-mod"; 5 - version = "3.6.1"; 5 + version = "3.8.0"; 6 6 7 7 # We use fetchurl instead of fetchFromGitHub because the release pack has some 8 8 # special files. 9 9 src = fetchurl { 10 10 url = "https://github.com/shlomif/fortune-mod/releases/download/${pname}-${version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1cw7xf9xhh6d73y4h4q57g6akjhc1gq6xv37k57sx0wx77wjxqdp"; 11 + sha256 = "sha256-HXQYYWZhfYIT7wEr9FAymaQWEfg0DcaWT0z7yvcZ+BI="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake perl ];
+2 -2
pkgs/tools/misc/mktorrent/default.nix
··· 5 5 version = "1.1"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "Rudde"; 8 + owner = "pobrn"; 9 9 repo = "mktorrent"; 10 10 rev = "v${version}"; 11 11 sha256 = "17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr"; ··· 20 20 buildInputs = [ openssl ]; 21 21 22 22 meta = { 23 - homepage = "http://mktorrent.sourceforge.net/"; 23 + homepage = "https://github.com/pobrn/mktorrent/wiki"; 24 24 license = lib.licenses.gpl2Plus; 25 25 description = "Command line utility to create BitTorrent metainfo files"; 26 26 maintainers = with lib.maintainers; [Profpatsch];
+3 -3
pkgs/tools/networking/httplz/default.nix
··· 13 13 14 14 rustPlatform.buildRustPackage rec { 15 15 pname = "httplz"; 16 - version = "1.12.1"; 16 + version = "1.12.2"; 17 17 18 18 src = fetchCrate { 19 19 inherit version; 20 20 pname = "https"; 21 - sha256 = "sha256-vMhQHWzsZlqMVkEQHCZTB8T4ETTaf8iAS9QhgYdfcx0="; 21 + sha256 = "sha256-FhxNYss6n0AJEszpJ7+6CAJE2sdsflWQkvSLakTnFdY="; 22 22 }; 23 23 24 - cargoSha256 = "sha256-9gnKVZ3HQs3kNj4i1cgC+Jl3dhjx7QRaHSih1HOB3nI="; 24 + cargoSha256 = "sha256-wyksA3RYpGkD6nhllNv8WkUwEdml4TiPM2a4GzfBD1o="; 25 25 26 26 nativeBuildInputs = [ 27 27 installShellFiles
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exploitdb"; 5 - version = "2021-12-11"; 5 + version = "2021-12-14"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "offensive-security"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-S0PlUSSVBI5OpEsd0BoDINdX+gpsP1GMs4uH6xvrs0I="; 11 + sha256 = "sha256-Ojgd2B475+Zr7CODtgg7rJZ6bPT3ZYddSQhditI9HhU="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+38
pkgs/tools/security/log4j-detect/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "log4j-detect"; 8 + version = "unstable-2021-12-14"; 9 + format = "other"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "takito1812"; 13 + repo = pname; 14 + rev = "2f5b7a598a6d0b4aee8111bb574ea72c6a1c76d6"; 15 + sha256 = "sha256-fFKW7uPBfrnze0UoPL3Mfwd4sFOuHYuDP7kv6VtdM3o="; 16 + }; 17 + 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + requests 20 + ]; 21 + 22 + postPatch = '' 23 + sed -i "1 i #!/usr/bin/python" ${pname}.py 24 + ''; 25 + 26 + installPhase = '' 27 + runHook preInstall 28 + install -vD ${pname}.py $out/bin/${pname} 29 + runHook postInstall 30 + ''; 31 + 32 + meta = with lib; { 33 + description = "Tool to detect the log4j vulnerability"; 34 + homepage = "https://github.com/takito1812/log4j-detect"; 35 + license = licenses.unfree; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+44
pkgs/tools/security/log4j-scan/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "log4j-scan"; 8 + version = "unstable-2021-12-14"; 9 + format = "other"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "fullhunt"; 13 + repo = pname; 14 + rev = "7be0f1c02ce3494469dc73a177e6f0c96f0016d9"; 15 + sha256 = "sha256-HazxK0wJ8xeFauD2xOxmOwWw1nEpQh+QdcBVZNaUgrM="; 16 + }; 17 + 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + pycryptodome 20 + requests 21 + termcolor 22 + ]; 23 + 24 + postPatch = '' 25 + substituteInPlace log4j-scan.py \ 26 + --replace "headers.txt" "../share/headers.txt" 27 + ''; 28 + 29 + installPhase = '' 30 + runHook preInstall 31 + 32 + install -vD ${pname}.py $out/bin/${pname} 33 + install -vD headers.txt headers-large.txt -t $out/share 34 + 35 + runHook postInstall 36 + ''; 37 + 38 + meta = with lib; { 39 + description = "Scanner for finding hosts which are vulnerable for log4j"; 40 + homepage = "https://github.com/fullhunt/log4j-scan"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+30
pkgs/tools/security/log4j-vuln-scanner/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "log4j-vuln-scanner"; 8 + version = "0.7.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "hillu"; 12 + repo = "local-log4j-vuln-scanner"; 13 + rev = "v${version}"; 14 + sha256 = "sha256-YEXYZtjcZTl+9IgRuSRK/pvnISuW6Jbwuv+dqr4pork="; 15 + }; 16 + 17 + vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; 18 + 19 + postInstall = '' 20 + mv $out/bin/scanner $out/bin/$pname 21 + mv $out/bin/patcher $out/bin/log4j-vuln-patcher 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "Local log4j vulnerability scanner"; 26 + homepage = "https://github.com/hillu/local-log4j-vuln-scanner"; 27 + license = with licenses; [ gpl3Only ]; 28 + maintainers = with maintainers; [ fab ]; 29 + }; 30 + }
+34
pkgs/tools/security/log4jcheck/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "log4jcheck"; 8 + version = "unstable-2021-12-14"; 9 + format = "other"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "NorthwaveSecurity"; 13 + repo = pname; 14 + rev = "736f1f4044e8a9b7bf5db515e2d1b819253f0f6d"; 15 + sha256 = "sha256-1al7EMYbE/hFXKV4mYZlkEWTUIKYxgXYU3qBLlczYvs="; 16 + }; 17 + 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + requests 20 + ]; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -vD nw_log4jcheck.py $out/bin/${pname} 25 + runHook postInstall 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "Tool to check for vulnerable Log4j (CVE-2021-44228) systems"; 30 + homepage = "https://github.com/NorthwaveSecurity/log4jcheck"; 31 + license = licenses.mit; 32 + maintainers = with maintainers; [ fab ]; 33 + }; 34 + }
+35
pkgs/tools/security/log4shell-detector/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "log4shell-detector"; 8 + version = "unstable-2021-12-14"; 9 + format = "other"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Neo23x0"; 13 + repo = pname; 14 + rev = "7bc368f376b8d95282193eac6ea3970c363577d5"; 15 + sha256 = "sha256-MLKd2moMLwAZXqZ5I/pIYzV0PqVwSpze3gNM0IioI1E="; 16 + }; 17 + 18 + checkInputs = with python3.pkgs; [ 19 + pytestCheckHook 20 + ]; 21 + 22 + installPhase = '' 23 + runHook preInstall 24 + install -vD ${pname}.py $out/bin/${pname} 25 + runHook postInstall 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "Detector for Log4Shell exploitation attempts"; 30 + homepage = "https://github.com/Neo23x0/log4shell-detector"; 31 + # https://github.com/Neo23x0/log4shell-detector/issues/24 32 + license = licenses.unfree; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+11 -3
pkgs/tools/wayland/wayland-proxy-virtwl/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , ocamlPackages 4 + , buildPackages 4 5 }: 5 6 6 7 ocamlPackages.buildDunePackage rec { 7 8 pname = "wayland-proxy-virtwl"; 8 - version = "unstable-2021-04-15"; 9 + version = "unstable-2021-12-05"; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "talex5"; 12 13 repo = pname; 13 - rev = "09321a28f3d4c0fa7e41ebb3014106b62090b649"; 14 - sha256 = "03rc2jp5d2y9y7mfis6kk9gchd49gvq0jg6fq5gi9r21ckb4k5v4"; 14 + rev = "d7f58d405514dd031f2f12e402c8c6a58e62a885"; 15 + sha256 = "0riwaqdlrx2gzkrb02v4zdl4ivpmz9g5w87lj3bhqs0l3s6c249s"; 15 16 }; 16 17 17 18 postPatch = '' ··· 22 23 useDune2 = true; 23 24 minimumOCamlVersion = "4.08"; 24 25 26 + nativeBuildInputs = [ 27 + buildPackages.ocamlPackages.ppx_cstruct 28 + ]; 29 + 25 30 buildInputs = with ocamlPackages; [ 26 31 wayland 27 32 cmdliner 28 33 logs 34 + cstruct-lwt 29 35 ]; 36 + 37 + doCheck = true; 30 38 31 39 meta = { 32 40 homepage = "https://github.com/talex5/wayland-virtwl-proxy";
+16 -2
pkgs/top-level/all-packages.nix
··· 7470 7470 7471 7471 localtime = callPackage ../tools/system/localtime { }; 7472 7472 7473 + log4j-detect = callPackage ../tools/security/log4j-detect { }; 7474 + 7475 + log4j-scan = callPackage ../tools/security/log4j-scan { }; 7476 + 7477 + log4j-vuln-scanner = callPackage ../tools/security/log4j-vuln-scanner { }; 7478 + 7479 + log4jcheck = callPackage ../tools/security/log4jcheck { }; 7480 + 7481 + log4shell-detector = callPackage ../tools/security/log4shell-detector { }; 7482 + 7473 7483 logcheck = callPackage ../tools/system/logcheck { }; 7474 7484 7475 7485 logmein-hamachi = callPackage ../tools/networking/logmein-hamachi { }; ··· 13615 13625 python3Packages = python3.pkgs; 13616 13626 13617 13627 pythonInterpreters = callPackage ./../development/interpreters/python { }; 13618 - inherit (pythonInterpreters) python27 python37 python38 python39 python310 python311 python3Minimal pypy27 pypy38; 13628 + inherit (pythonInterpreters) python27 python37 python38 python39 python310 python311 python3Minimal pypy27 pypy38 rustpython; 13619 13629 13620 13630 # Python package sets. 13621 13631 python27Packages = python27.pkgs; ··· 30288 30298 30289 30299 fishfight = callPackage ../games/fishfight { 30290 30300 inherit (xorg) libX11 libXi; 30291 - inherit (darwin.apple_sdk.frameworks) AudioToolbox Cocoa CoreAudio CoreFoundation IOKit OpenGL; 30301 + inherit (darwin.apple_sdk.frameworks) AudioToolbox Cocoa CoreAudio OpenGL; 30292 30302 }; 30293 30303 30294 30304 flightgear = libsForQt5.callPackage ../games/flightgear { }; ··· 31613 31623 sage = callPackage ../applications/science/math/sage { }; 31614 31624 sageWithDoc = sage.override { withDoc = true; }; 31615 31625 31626 + subread = callPackage ../applications/science/biology/subread { }; 31627 + 31616 31628 suitesparse_4_2 = callPackage ../development/libraries/science/math/suitesparse/4.2.nix { }; 31617 31629 suitesparse_4_4 = callPackage ../development/libraries/science/math/suitesparse/4.4.nix {}; 31618 31630 suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse {}; ··· 32453 32465 fahclient = callPackage ../applications/science/misc/foldingathome/client.nix {}; 32454 32466 fahcontrol = callPackage ../applications/science/misc/foldingathome/control.nix {}; 32455 32467 fahviewer = callPackage ../applications/science/misc/foldingathome/viewer.nix {}; 32468 + 32469 + fbmark = callPackage ../tools/misc/fbmark { }; 32456 32470 32457 32471 foma = callPackage ../tools/misc/foma { }; 32458 32472