Merge branch 'master' into staging-next

+981 -255
+5
lib/licenses.nix
··· 603 603 free = false; 604 604 }; 605 605 606 + odbl = spdx { 607 + spdxId = "ODbL-1.0"; 608 + fullName = "Open Data Commons Open Database License v1.0"; 609 + }; 610 + 606 611 ofl = spdx { 607 612 spdxId = "OFL-1.1"; 608 613 fullName = "SIL Open Font License 1.1";
+7 -1
maintainers/maintainer-list.nix
··· 4159 4159 github = "j0hax"; 4160 4160 githubId = 3802620; 4161 4161 }; 4162 + j4m3s = { 4163 + name = "James Landrein"; 4164 + email = "github@j4m3s.eu"; 4165 + github = "j4m3s-s"; 4166 + githubId = 9413812; 4167 + }; 4162 4168 jacg = { 4163 4169 name = "Jacek Generowicz"; 4164 4170 email = "jacg@my-post-office.net"; ··· 6993 6999 githubId = 3359345; 6994 7000 name = "obadz"; 6995 7001 }; 6996 - obsidian-systems-maintainence = { 7002 + obsidian-systems-maintenance = { 6997 7003 name = "Obsidian Systems Maintenance"; 6998 7004 email = "maintainer@obsidian.systems"; 6999 7005 github = "obsidian-systems-maintenance";
+10 -1
nixos/modules/services/computing/slurm/slurm.nix
··· 274 274 ''; 275 275 }; 276 276 277 + etcSlurm = mkOption { 278 + type = types.path; 279 + internal = true; 280 + default = etcSlurm; 281 + description = '' 282 + Path to directory with slurm config files. This option is set by default from the 283 + Slurm module and is meant to make the Slurm config file available to other modules. 284 + ''; 285 + }; 277 286 278 287 }; 279 288 ··· 308 317 #!/bin/sh 309 318 if [ -z "$SLURM_CONF" ] 310 319 then 311 - SLURM_CONF="${etcSlurm}/slurm.conf" "$EXE" "\$@" 320 + SLURM_CONF="${cfg.etcSlurm}/slurm.conf" "$EXE" "\$@" 312 321 else 313 322 "$EXE" "\$0" 314 323 fi
-1
pkgs/applications/audio/ardour/5.nix
··· 8 8 , doxygen 9 9 , fftwSinglePrec 10 10 , flac 11 - , glibc 12 11 , glibmm 13 12 , graphviz 14 13 , gtkmm2
+3 -3
pkgs/applications/audio/cheesecutter/default.nix
··· 8 8 }: 9 9 stdenv.mkDerivation rec { 10 10 pname = "cheesecutter"; 11 - version = "unstable-2020-04-03"; 11 + version = "unstable-2021-02-27"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "theyamo"; 15 15 repo = "CheeseCutter"; 16 - rev = "68d6518f0e6249a2a5d122fc80201578337c1277"; 17 - sha256 = "0xspzjhc6cp3m0yd0mwxncg8n1wklizamxvidrnn21jgj3mnaq2q"; 16 + rev = "84450d3614b8fb2cabda87033baab7bedd5a5c98"; 17 + sha256 = "sha256:0q4a791nayya6n01l0f4kk497rdq6kiq0n72fqdpwqy138pfwydn"; 18 18 }; 19 19 20 20 patches = [
+2
pkgs/applications/audio/gnome-podcasts/default.nix
··· 75 75 license = licenses.gpl3Plus; 76 76 maintainers = teams.gnome.members; 77 77 platforms = platforms.unix; 78 + # couldn't read /build/source/build/podcasts-gtk/resources/resources.gresource: No such file or directory (os error 2) 79 + broken = true; 78 80 }; 79 81 }
+2
pkgs/applications/audio/sunvox/default.nix
··· 44 44 homepage = "http://www.warmplace.ru/soft/sunvox/"; 45 45 maintainers = with maintainers; [ puffnfresh ]; 46 46 platforms = [ "i686-linux" "x86_64-linux" ]; 47 + # hash mismatch 48 + broken = true; 47 49 }; 48 50 }
+3 -5
pkgs/applications/blockchains/monero-gui/default.nix
··· 10 10 , randomx, zeromq, libgcrypt, libgpgerror 11 11 , hidapi, rapidjson, quirc 12 12 , trezorSupport ? true 13 - , libusb1 ? null 14 - , protobuf ? null 15 - , python3 ? null 13 + , libusb1 14 + , protobuf 15 + , python3 16 16 }: 17 17 18 18 with lib; 19 - 20 - assert trezorSupport -> all (x: x!=null) [ libusb1 protobuf python3 ]; 21 19 22 20 let 23 21 arch = if stdenv.isx86_64 then "x86-64"
+16 -16
pkgs/applications/editors/edit/default.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "edit-nightly"; 5 - version = "20160425"; 5 + version = "20180228"; 6 6 7 7 src = fetchgit { 8 8 url = "git://c9x.me/ed.git"; 9 - rev = "323d49b68c5e804ed3b8cada0e2274f1589b3484"; 10 - sha256 = "0wv8i3ii7cd9bqhjpahwp2g5fcmyk365nc7ncmvl79cxbz3f7y8v"; 9 + rev = "77d96145b163d79186c722a7ffccfff57601157c"; 10 + sha256 = "0rsmp7ydmrq3xx5q19566is9a2v2w5yfsphivfc7j4ljp32jlyyy"; 11 11 }; 12 12 13 - nativeBuildInputs = [ unzip ]; 13 + nativeBuildInputs = [ 14 + unzip 15 + pkg-config 16 + cwebbin 17 + ]; 18 + 14 19 buildInputs = [ 15 - pkg-config 16 - ncurses 17 - libX11 18 - libXft 19 - cwebbin 20 + ncurses 21 + libX11 22 + libXft 20 23 ]; 21 24 22 - buildPhase = '' 25 + preBuild = '' 23 26 ctangle *.w 24 - make 25 27 ''; 26 28 27 29 installPhase = '' 28 - mkdir -p $out/bin/ 29 - cp obj/edit $out/bin/edit 30 + install -Dm755 obj/edit -t $out/bin 30 31 ''; 31 32 32 33 meta = with lib; { 33 34 description = "A relaxing mix of Vi and ACME"; 34 - homepage = "http://c9x.me/edit"; 35 + homepage = "https://c9x.me/edit"; 35 36 license = licenses.publicDomain; 36 37 maintainers = [ maintainers.vrthra ]; 37 - platforms = platforms.linux; 38 + platforms = platforms.all; 38 39 }; 39 40 } 40 -
+61
pkgs/applications/misc/metadata-cleaner/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromGitLab 4 + , appstream 5 + , desktop-file-utils 6 + , glib 7 + , gobject-introspection 8 + , gtk3 9 + , libhandy 10 + , librsvg 11 + , meson 12 + , ninja 13 + , pkg-config 14 + , poppler_gi 15 + , wrapGAppsHook 16 + }: 17 + 18 + python3.pkgs.buildPythonApplication rec { 19 + pname = "metadata-cleaner"; 20 + version = "1.0.3"; 21 + 22 + format = "other"; 23 + 24 + src = fetchFromGitLab { 25 + owner = "rmnvgr"; 26 + repo = "metadata-cleaner"; 27 + rev = "v${version}"; 28 + sha256 = "06dzfcnjb1xd8lk0r7bi4i784gfj8r7habbjbk2c4vn2847v71lf"; 29 + }; 30 + 31 + nativeBuildInputs = [ 32 + appstream 33 + desktop-file-utils 34 + glib 35 + gtk3 36 + meson 37 + ninja 38 + pkg-config 39 + wrapGAppsHook 40 + ]; 41 + 42 + buildInputs = [ 43 + gobject-introspection 44 + gtk3 45 + libhandy 46 + librsvg 47 + poppler_gi 48 + ]; 49 + 50 + propagatedBuildInputs = with python3.pkgs; [ 51 + mat2 52 + pygobject3 53 + ]; 54 + 55 + meta = with lib; { 56 + description = "Python GTK application to view and clean metadata in files, using mat2"; 57 + homepage = "https://gitlab.com/rmnvgr/metadata-cleaner"; 58 + license = with licenses; [ gpl3Plus cc-by-sa-40 ]; 59 + maintainers = with maintainers; [ dotlambda ]; 60 + }; 61 + }
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 18 18 } 19 19 }, 20 20 "beta": { 21 - "version": "90.0.4430.19", 22 - "sha256": "174isyx4g62d8ggn9imp41dfklcbxi3y5nfprm4jbjmn5cb7v8xa", 23 - "sha256bin64": "0z665iykdsmjrjbijsrcq80y2anvcfykasznf8w4brg9l9k59wv8", 21 + "version": "90.0.4430.30", 22 + "sha256": "01b6naziii72pvw35wphfqz3inih75is038yf1mdp1847jbvxpwp", 23 + "sha256bin64": "0k48mfzmyjb0w75fkm2j7ll340qgmzvmskz12awc2l19hgnw1s8p", 24 24 "deps": { 25 25 "gn": { 26 26 "version": "2021-02-09",
+3 -3
pkgs/applications/networking/cluster/lens/default.nix
··· 2 2 3 3 let 4 4 pname = "lens"; 5 - version = "3.6.7"; 5 + version = "4.1.4"; 6 6 name = "${pname}-${version}"; 7 7 8 8 src = fetchurl { 9 - url = "https://github.com/lensapp/lens/releases/download/v${version}/Lens-${version}.AppImage"; 10 - sha256 = "0var7d31ab6lq2vq6brk2dnhlnhqjp2gdqhygif567cdmcpn4vz8"; 9 + url = "https://github.com/lensapp/lens/releases/download/v${version}/Lens-${version}.x86_64.AppImage"; 10 + sha256 = "0g7k3sld6m31qi0zc9z5gydi60waw7ykwz48qnyg77xz1cpm6z5x"; 11 11 name="${pname}.AppImage"; 12 12 }; 13 13
+3 -2
pkgs/applications/networking/instant-messengers/fractal/default.nix
··· 87 87 meta = with lib; { 88 88 description = "Matrix group messaging app"; 89 89 homepage = "https://gitlab.gnome.org/GNOME/fractal"; 90 - license = licenses.gpl3Plus; 91 - broken = stdenv.isDarwin; 90 + license = licenses.gpl3; 91 + # couldn't read /build/source/build/podcasts-gtk/resources/resources.gresource: No such file or directory (os error 2) 92 + broken = true; 92 93 maintainers = with maintainers; [ dtzWill worldofpeace ]; 93 94 }; 94 95 }
+2
pkgs/applications/networking/p2p/gnunet/gtk.nix
··· 39 39 meta = gnunet.meta // { 40 40 description = "GNUnet GTK User Interface"; 41 41 homepage = "https://git.gnunet.org/gnunet-gtk.git"; 42 + # configure: error: compiling gnunet-gtk requires GNUnet core headers 43 + broken = true; 42 44 }; 43 45 }
+2 -2
pkgs/applications/networking/remote/freerdp/default.nix
··· 18 18 19 19 in stdenv.mkDerivation rec { 20 20 pname = "freerdp"; 21 - version = "2.3.1"; 21 + version = "2.3.2"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "FreeRDP"; 25 25 repo = "FreeRDP"; 26 26 rev = version; 27 - sha256 = "sha256-qKvzxIFUiRoX/fCTDoGOGFMfzMTCRq+A5b9K2J2Wnwk="; 27 + sha256 = "sha256-qqpdMBDcVfXm/KB54zv23O8raGqBhAKqXo6Kj2VaI8w="; 28 28 }; 29 29 30 30 postPatch = ''
+2 -2
pkgs/applications/networking/sync/onedrive/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "onedrive"; 7 - version = "2.4.7"; 7 + version = "2.4.10"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "abraunegg"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "12g2z6c4f65y8cc7vyhk9nlg1mpbsmlsj7ghlny452qhr13m7qpn"; 13 + sha256 = "sha256:0dvxjkni66g82j9wr6yy07sn7d7yr7bbc0py89pxybvsbid88l65"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
+2 -2
pkgs/applications/office/portfolio/default.nix
··· 24 24 in 25 25 stdenv.mkDerivation rec { 26 26 pname = "PortfolioPerformance"; 27 - version = "0.51.1"; 27 + version = "0.51.2"; 28 28 29 29 src = fetchurl { 30 30 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 31 - sha256 = "sha256-sQisFv+MVGod/gmF0/EWNDvYzkpF3qbDuL5eDr7w0Bs="; 31 + sha256 = "sha256-5wBzGj4DkTOqtN7X8/EBDoiBtbYB6vGJJ5IkuME7a9A="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+4 -4
pkgs/applications/science/biology/sambamba/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python3, which, dmd, ldc, zlib }: 1 + { lib, stdenv, fetchFromGitHub, python3, which, ldc, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sambamba"; 5 - version = "0.7.1"; 5 + version = "0.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "biod"; 9 9 repo = "sambamba"; 10 10 rev = "v${version}"; 11 - sha256 = "0k5wy06zrbsc40x6answgz7rz2phadyqwlhi9nqxbfqanbg9kq20"; 11 + sha256 = "sha256:0kx5a0fmvv9ldz2hnh7qavgf7711kqc73zxf51k4cca4hr58zxr9"; 12 12 fetchSubmodules = true; 13 13 }; 14 14 15 - nativeBuildInputs = [ which python3 dmd ldc ]; 15 + nativeBuildInputs = [ which python3 ldc ]; 16 16 buildInputs = [ zlib ]; 17 17 18 18 # Upstream's install target is broken; copy manually
+8 -6
pkgs/applications/terminal-emulators/tilix/default.nix
··· 5 5 , ninja 6 6 , python3 7 7 , pkg-config 8 - , dmd 8 + , ldc 9 9 , dconf 10 10 , dbus 11 11 , gsettings-desktop-schemas ··· 16 16 , glib 17 17 , wrapGAppsHook 18 18 , libunwind 19 + , appstream 19 20 }: 20 21 21 - stdenv.mkDerivation { 22 + stdenv.mkDerivation rec { 22 23 pname = "tilix"; 23 - version = "unstable-2019-10-02"; 24 + version = "1.9.4"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "gnunn1"; 27 28 repo = "tilix"; 28 - rev = "ffcd31e3c0e1a560ce89468152d8726065e8fb1f"; 29 - sha256 = "1bzv7xiqhyblz1rw8ln4zpspmml49vnshn1zsv9di5q7kfgpqrgq"; 29 + rev = "${version}"; 30 + sha256 = "sha256:020gr4q7kmqq8vnsh8rw97gf1p2n1yq4d7ncyjjh9l13zkaxqqv9"; 30 31 }; 31 32 32 33 # Default upstream else LDC fails to link ··· 36 37 37 38 nativeBuildInputs = [ 38 39 desktop-file-utils 39 - dmd 40 + ldc 40 41 meson 41 42 ninja 42 43 pkg-config 43 44 python3 44 45 wrapGAppsHook 46 + appstream 45 47 ]; 46 48 47 49 buildInputs = [
-2
pkgs/applications/version-management/monotone-viz/graphviz-2.0.nix
··· 2 2 , yacc, libtool, fontconfig, pango, gd, libwebp 3 3 }: 4 4 5 - assert libpng != null && libjpeg != null && expat != null; 6 - 7 5 stdenv.mkDerivation rec { 8 6 name = "graphviz-2.0"; 9 7
+4 -4
pkgs/applications/virtualization/docker-compose/default.nix
··· 21 21 nativeBuildInputs = [ installShellFiles ]; 22 22 checkInputs = [ mock pytest nose ]; 23 23 propagatedBuildInputs = [ 24 - pyyaml backports_ssl_match_hostname colorama dockerpty docker 24 + pyyaml colorama dockerpty docker 25 25 ipaddress jsonschema requests six texttable websocket_client 26 26 docopt cached-property paramiko distro python-dotenv 27 - ] ++ 28 - lib.optional (pythonOlder "3.4") enum34 ++ 29 - lib.optional (pythonOlder "3.2") functools32; 27 + ] ++ lib.optional (pythonOlder "3.7") backports_ssl_match_hostname 28 + ++ lib.optional (pythonOlder "3.4") enum34 29 + ++ lib.optional (pythonOlder "3.2") functools32; 30 30 31 31 postPatch = '' 32 32 # Remove upper bound on requires, see also
+2 -2
pkgs/data/fonts/cascadia-code/default.nix
··· 1 1 { lib, fetchzip }: 2 2 let 3 - version = "2102.03"; 3 + version = "2102.25"; 4 4 in 5 5 fetchzip { 6 6 name = "cascadia-code-${version}"; 7 7 8 8 url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip"; 9 9 10 - sha256 = "076l44cyyp3cf15qyn2hzx34kzqm73d218fgwf8n69m8a1v34hs2"; 10 + sha256 = "14qhawcf1jmv68zdfbi2zfqdw4cf8fpk7plxzphmkqsp7hlw9pzx"; 11 11 12 12 postFetch = '' 13 13 mkdir -p $out/share/fonts/
+10 -7
pkgs/data/misc/spdx-license-list-data/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "spdx-license-list-data"; 5 - version = "3.11"; 5 + version = "3.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "spdx"; 9 9 repo = "license-list-data"; 10 10 rev = "v${version}"; 11 - sha256 = "1iwyqhh6lh51a47mhfy98zvjan8yjsvlym8qz0isx2i1zzxlj47a"; 11 + sha256 = "09xci8dzblg3d30jf7s43zialbcxlxly03zrkiymcvnzixg8v48f"; 12 12 }; 13 13 14 - phases = [ "unpackPhase" "installPhase" ]; 14 + installPhase = '' 15 + runHook preInstall 15 16 16 - installPhase = '' 17 17 install -vDt $out/json json/licenses.json 18 + 19 + runHook postInstall 18 20 ''; 19 21 20 - meta = { 22 + meta = with lib; { 21 23 description = "Various data formats for the SPDX License List"; 22 24 homepage = "https://github.com/spdx/license-list-data"; 23 - license = lib.licenses.cc0; 24 - platforms = lib.platforms.all; 25 + license = licenses.cc0; 26 + maintainers = with maintainers; [ oxzi ]; 27 + platforms = platforms.all; 25 28 }; 26 29 }
+2
pkgs/development/compilers/crystal/default.nix
··· 214 214 license = licenses.asl20; 215 215 maintainers = with maintainers; [ david50407 fabianhjr manveru peterhoeg ]; 216 216 platforms = builtins.attrNames archs; 217 + # Error running at_exit handler: Nil assertion failed 218 + broken = lib.versions.minor version == "32" && stdenv.isDarwin; 217 219 }; 218 220 }) 219 221 );
+16 -16
pkgs/development/compilers/dmd/default.nix
··· 4 4 , targetPackages, fetchpatch, bash 5 5 , dmdBootstrap ? callPackage ./bootstrap.nix { } 6 6 , HOST_DMD ? "${dmdBootstrap}/bin/dmd" 7 - , version ? "2.091.1" 8 - , dmdSha256 ? "0brz0n84jdkhr4sq4k91w48p739psbhbb1jk2pi9q60psmx353yr" 9 - , druntimeSha256 ? "0smgpmfriffh110ksski1s5j921kmxbc2zjy0dyj9ksyrxbzklbl" 10 - , phobosSha256 ? "1n00anajgibrfs1xzvrmag28hvbvkc0w1fwlimqbznvhf28rhrxs" 7 + , version ? "2.095.1" 8 + , dmdSha256 ? "sha256:0faca1y42a1h16aml4lb7z118mh9k9fjx3xlw3ki5f1h3ln91xhk" 9 + , druntimeSha256 ? "sha256:0ad4pa5llr9m9wqbvfv4yrcra4zz9qxlh5kx43mrv48f9bcxm2ha" 10 + , phobosSha256 ? "sha256:04w6jw4izix2vbw62j13wvz6q3pi7vivxnmxqj0g8904j5g0cxjl" 11 11 }: 12 12 13 13 let ··· 53 53 }) 54 54 ]; 55 55 56 - patchFlags = [ "--directory=dmd" "-p1" "-F3" ]; 57 - patches = [ 58 - (fetchpatch { 59 - url = "https://github.com/dlang/dmd/commit/4157298cf04f7aae9f701432afd1de7b7e05c30f.patch"; 60 - sha256 = "0v4xgqmrx5r8vbx5a4v88s0xnm23mam9nm99yfga7s2sxr0hi5p2"; 61 - }) 62 - (fetchpatch { 63 - url = "https://github.com/dlang/dmd/commit/1b8a4c90b040bf2f0b68a2739de4991315580b13.patch"; 64 - sha256 = "1iih6aalv4fsw9mbrlrybhngkkchzzrzg7q8zl047w36c0x397cs"; 65 - }) 66 - ]; 67 - 68 56 sourceRoot = "."; 69 57 70 58 # https://issues.dlang.org/show_bug.cgi?id=19553 ··· 76 64 77 65 postPatch = '' 78 66 substituteInPlace dmd/test/dshell/test6952.d --replace "/usr/bin/env bash" "${bash}/bin/bash" 67 + 68 + rm dmd/test/runnable/gdb1.d 69 + rm dmd/test/runnable/gdb10311.d 70 + rm dmd/test/runnable/gdb14225.d 71 + rm dmd/test/runnable/gdb14276.d 72 + rm dmd/test/runnable/gdb14313.d 73 + rm dmd/test/runnable/gdb14330.d 74 + rm dmd/test/runnable/gdb15729.sh 75 + rm dmd/test/runnable/gdb4149.d 76 + rm dmd/test/runnable/gdb4181.d 79 77 '' 80 78 + lib.optionalString stdenv.hostPlatform.isLinux '' 81 79 substituteInPlace phobos/std/socket.d --replace "assert(ih.addrList[0] == 0x7F_00_00_01);" "" ··· 171 169 license = licenses.boost; 172 170 maintainers = with maintainers; [ ThomasMader lionello ]; 173 171 platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]; 172 + # many tests are failing 173 + broken = true; 174 174 }; 175 175 }
+2 -2
pkgs/development/compilers/ldc/default.nix
··· 1 1 import ./generic.nix { 2 - version = "1.24.0"; 3 - ldcSha256 = "0g5svf55i0kq55q49awmwqj9qi1n907cyrn1vjdjgs8nx6nn35gx"; 2 + version = "1.25.1"; 3 + ldcSha256 = "sha256-DjcW/pknvpEmTR/eXEEHECb2xEJic16evaU4CJthLUA="; 4 4 }
+2 -2
pkgs/development/libraries/gnome-online-accounts/default.nix
··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "gnome-online-accounts"; 33 - version = "3.38.0"; 33 + version = "3.38.1"; 34 34 35 35 # https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87 36 36 src = fetchFromGitLab { ··· 38 38 owner = "GNOME"; 39 39 repo = "gnome-online-accounts"; 40 40 rev = version; 41 - sha256 = "sha256-NRGab/CMJxe31rr20+5wYZF2rOzoSNdztfNVojBd5ag="; 41 + sha256 = "sha256-th7P++MC3GXX+349PJFEwHGGeMhxsGgoEDGnSYpY7E4="; 42 42 }; 43 43 44 44 outputs = [ "out" "man" "dev" "devdoc" ];
+2 -2
pkgs/development/libraries/goffice/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "goffice"; 6 - version = "0.10.48"; 6 + version = "0.10.49"; 7 7 8 8 outputs = [ "out" "dev" "devdoc" ]; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4"; 12 + sha256 = "X/wY27OF7fuFtsYlS55bTLPS/6MEK5Ms286ON/SzB+k="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config intltool ];
+2 -2
pkgs/development/libraries/gtkd/default.nix
··· 1 - { lib, stdenv, fetchzip, fetchpatch, atk, cairo, dmd, gdk-pixbuf, gnome3, gst_all_1, librsvg 1 + { lib, stdenv, fetchzip, fetchpatch, atk, cairo, ldc, gdk-pixbuf, gnome3, gst_all_1, librsvg 2 2 , glib, gtk3, gtksourceview4, libgda, libpeas, pango, pkg-config, which, vte }: 3 3 4 4 let ··· 15 15 stripRoot = false; 16 16 }; 17 17 18 - nativeBuildInputs = [ dmd pkg-config which ]; 18 + nativeBuildInputs = [ ldc pkg-config which ]; 19 19 propagatedBuildInputs = [ 20 20 atk cairo gdk-pixbuf glib gstreamer gst-plugins-base gtk3 gtksourceview4 21 21 libgda libpeas librsvg pango vte
+37
pkgs/development/libraries/libseat/default.nix
··· 1 + { fetchFromSourcehut 2 + , lib 3 + , meson 4 + , ninja 5 + , pkg-config 6 + , stdenv 7 + , systemd 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "libseat"; 12 + version = "0.5.0"; 13 + 14 + src = fetchFromSourcehut { 15 + owner = "~kennylevinsen"; 16 + repo = "seatd"; 17 + rev = version; 18 + sha256 = "sha256-JwlJLHkRgSRqfQEhXbzuFTmhxfbwKVdLICPbTDbC9M0="; 19 + }; 20 + 21 + nativeBuildInputs = [ meson ninja pkg-config ]; 22 + 23 + buildInputs = [ 24 + systemd 25 + ]; 26 + 27 + mesonFlags = [ "-Dserver=disabled" "-Dseatd=disabled" "-Dlogind=enabled"]; 28 + 29 + meta = with lib; { 30 + description = "A universal seat management library"; 31 + changelog = "https://git.sr.ht/~kennylevinsen/seatd/refs/${version}"; 32 + homepage = "https://sr.ht/~kennylevinsen/seatd/"; 33 + license = licenses.mit; 34 + platforms = platforms.linux; 35 + maintainers = with maintainers; [ emantor ]; 36 + }; 37 + }
+37
pkgs/development/libraries/science/math/cutensor/default.nix
··· 1 + { callPackage 2 + , cudatoolkit_10_1, cudatoolkit_10_2 3 + , cudatoolkit_11_0, cudatoolkit_11_1, cudatoolkit_11_2 4 + }: 5 + 6 + rec { 7 + cutensor_cudatoolkit_10_1 = callPackage ./generic.nix rec { 8 + version = "1.2.2.5"; 9 + libPath = "lib/10.1"; 10 + cudatoolkit = cudatoolkit_10_1; 11 + # 1.2.2 is compatible with CUDA 11.0, 11.1, and 11.2: 12 + # ephemeral doc at https://developer.nvidia.com/cutensor/downloads 13 + sha256 = "1dl9bd71frhac9cb8lvnh71zfsnqxbxbfhndvva2zf6nh0my4klm"; 14 + }; 15 + 16 + cutensor_cudatoolkit_10_2 = cutensor_cudatoolkit_10_1.override { 17 + libPath = "lib/10.2"; 18 + cudatoolkit = cudatoolkit_10_2; 19 + }; 20 + 21 + cutensor_cudatoolkit_10 = cutensor_cudatoolkit_10_2; 22 + 23 + cutensor_cudatoolkit_11_0 = cutensor_cudatoolkit_10_2.override { 24 + libPath = "lib/11"; 25 + cudatoolkit = cudatoolkit_11_0; 26 + }; 27 + 28 + cutensor_cudatoolkit_11_1 = cutensor_cudatoolkit_11_0.override { 29 + cudatoolkit = cudatoolkit_11_1; 30 + }; 31 + 32 + cutensor_cudatoolkit_11_2 = cutensor_cudatoolkit_11_0.override { 33 + cudatoolkit = cudatoolkit_11_2; 34 + }; 35 + 36 + cutensor_cudatoolkit_11 = cutensor_cudatoolkit_11_2; 37 + }
+69
pkgs/development/libraries/science/math/cutensor/generic.nix
··· 1 + { stdenv 2 + , lib 3 + , libPath 4 + , cudatoolkit 5 + , fetchurl 6 + , autoPatchelfHook 7 + , addOpenGLRunpath 8 + 9 + , version 10 + , sha256 11 + }: 12 + 13 + let 14 + mostOfVersion = builtins.concatStringsSep "." 15 + (lib.take 3 (lib.versions.splitVersion version)); 16 + in 17 + 18 + stdenv.mkDerivation { 19 + pname = "cudatoolkit-${cudatoolkit.majorVersion}-cutensor"; 20 + inherit version; 21 + 22 + src = fetchurl { 23 + url = "https://developer.download.nvidia.com/compute/cutensor/${mostOfVersion}/local_installers/libcutensor-${stdenv.hostPlatform.parsed.kernel.name}-${stdenv.hostPlatform.parsed.cpu.name}-${version}.tar.gz"; 24 + inherit sha256; 25 + }; 26 + 27 + outputs = [ "out" "dev" ]; 28 + 29 + nativeBuildInputs = [ 30 + autoPatchelfHook 31 + addOpenGLRunpath 32 + ]; 33 + 34 + buildInputs = [ 35 + stdenv.cc.cc.lib 36 + ]; 37 + 38 + propagatedBuildInputs = [ 39 + cudatoolkit 40 + ]; 41 + 42 + # Set RUNPATH so that libcuda in /run/opengl-driver(-32)/lib can be found. 43 + # See the explanation in addOpenGLRunpath. 44 + installPhase = '' 45 + mkdir -p "$out" "$dev" 46 + mv include "$dev" 47 + mv ${libPath} "$out/lib" 48 + 49 + function finalRPathFixups { 50 + for lib in $out/lib/lib*.so; do 51 + addOpenGLRunpath $lib 52 + done 53 + } 54 + postFixupHooks+=(finalRPathFixups) 55 + ''; 56 + 57 + passthru = { 58 + inherit cudatoolkit; 59 + majorVersion = lib.versions.major version; 60 + }; 61 + 62 + meta = with lib; { 63 + description = "cuTENSOR: A High-Performance CUDA Library For Tensor Primitives"; 64 + homepage = "https://developer.nvidia.com/cutensor"; 65 + license = licenses.unfree; 66 + platforms = [ "x86_64-linux" ]; 67 + maintainers = with maintainers; [ obsidian-systems-maintenance ]; 68 + }; 69 + }
+2 -2
pkgs/development/libraries/speechd/default.nix
··· 39 39 throw "You need to enable at least one output module."; 40 40 in stdenv.mkDerivation rec { 41 41 pname = "speech-dispatcher"; 42 - version = "0.10.1"; 42 + version = "0.10.2"; 43 43 44 44 src = fetchurl { 45 45 url = "https://github.com/brailcom/speechd/releases/download/${version}/${pname}-${version}.tar.gz"; 46 - sha256 = "0j2lfzkmbsxrrgjw6arzvnfd4jn5pxab28xsk2djssr2ydb9x309"; 46 + sha256 = "sha256-sGMZ8gHhXlbGKWZTr1vPwwDLNI6XLVF9+LBurHfq4tw="; 47 47 }; 48 48 49 49 patches = [
+4
pkgs/development/ocaml-modules/labltk/default.nix
··· 56 56 version = "8.06.9"; 57 57 sha256 = "1k42k3bjkf22gk39lwwzqzfhgjyhxnclslldrzpg5qy1829pbnc0"; 58 58 }; 59 + "4.12" = mkNewParam { 60 + version = "8.06.10"; 61 + sha256 = "06cck7wijq4zdshzhxm6jyl8k3j0zglj2axsyfk6q1sq754zyf4a"; 62 + }; 59 63 }.${builtins.substring 0 4 ocaml.version}; 60 64 in 61 65
+2 -1
pkgs/development/python-modules/backports_ssl_match_hostname/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi }: 1 + { lib, buildPythonPackage, fetchPypi, pythonAtLeast }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "backports.ssl_match_hostname"; 5 5 version = "3.7.0.1"; 6 + disabled = pythonAtLeast "3.7"; 6 7 7 8 src = fetchPypi { 8 9 inherit pname version;
+9 -6
pkgs/development/python-modules/bleak/default.nix
··· 1 - { lib, buildPythonPackage, isPy3k, fetchPypi, bluez, txdbus, pytest, pytestcov }: 1 + { lib, buildPythonPackage, isPy3k, fetchPypi 2 + , bluez, dbus-next, pytestCheckHook, pytest-cov 3 + }: 2 4 3 5 buildPythonPackage rec { 4 6 pname = "bleak"; 5 - version = "0.10.0"; 7 + version = "0.11.0"; 6 8 7 9 disabled = !isPy3k; 8 10 9 11 src = fetchPypi { 10 12 inherit pname version; 11 - sha256 = "5c3a873965f2910865895e572e7a4f10533d6e150e6ba17936397426bf8d1eee"; 13 + sha256 = "1zs5lz3r17a2xn19i4na132iccyjsl9navj0d3v7gks7hlcad5kp"; 12 14 }; 13 15 14 16 postPatch = '' ··· 19 21 --replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\" 20 22 ''; 21 23 22 - propagatedBuildInputs = [ txdbus ]; 23 - checkInputs = [ pytest pytestcov ]; 24 + propagatedBuildInputs = [ dbus-next ]; 25 + 26 + checkInputs = [ pytestCheckHook pytest-cov ]; 24 27 25 - checkPhase = "AGENT_OS=linux py.test"; 28 + pythonImportsCheck = [ "bleak" ]; 26 29 27 30 meta = with lib; { 28 31 description = "Bluetooth Low Energy platform Agnostic Klient for Python";
+2 -2
pkgs/development/python-modules/boto3/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "boto3"; 16 - version = "1.17.29"; # N.B: if you change this, change botocore and awscli to a matching version 16 + version = "1.17.30"; # N.B: if you change this, change botocore and awscli to a matching version 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-MTlvyv/fwPRltN524eyuU4lOuGmwAP+lSqFpOpjbOjw="; 20 + sha256 = "sha256-05wEtR5gGX9VA/hInwQ7yQSYFWfMhDHTiTZ3Z9w/1a4="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
+2 -2
pkgs/development/python-modules/botocore/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "botocore"; 15 - version = "1.20.29"; # N.B: if you change this, change boto3 and awscli to a matching version 15 + version = "1.20.30"; # N.B: if you change this, change boto3 and awscli to a matching version 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "sha256-GEt9JrBmn9ZayBk2YjdtEmfYAOAFtpQStXzILF/76TU="; 19 + sha256 = "sha256-mP8eshDTlKH/5zazPIp75o8w8KA1ULVZxbtv3wwpMo0="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/bx-python/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "bx-python"; 6 - version = "0.8.10"; 6 + version = "0.8.11"; 7 7 disabled = isPy27; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "bxlab"; 11 11 repo = "bx-python"; 12 12 rev = "v${version}"; 13 - sha256 = "09q5nrv0w9b1bclc7g80bih87ikffhvia22d6cpdc747wjrzz8il"; 13 + sha256 = "0cz5vgw19hmkcg689vr540q2gl2lb3xcf1lphm7zbfp8wmypcadm"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cython ];
+2 -1
pkgs/development/python-modules/cupy/default.nix
··· 1 1 { lib, buildPythonPackage 2 2 , fetchPypi, isPy3k, linuxPackages 3 3 , fastrlock, numpy, six, wheel, pytest, mock, setuptools 4 - , cudatoolkit, cudnn, nccl 4 + , cudatoolkit, cudnn, cutensor, nccl 5 5 }: 6 6 7 7 buildPythonPackage rec { ··· 26 26 propagatedBuildInputs = [ 27 27 cudatoolkit 28 28 cudnn 29 + cutensor 29 30 linuxPackages.nvidia_x11 30 31 nccl 31 32 fastrlock
+2 -2
pkgs/development/python-modules/datashader/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "datashader"; 27 - version = "0.12.0"; 27 + version = "0.12.1"; 28 28 29 29 src = fetchPypi { 30 30 inherit pname version; 31 - sha256 = "sha256-CnV6ne3cbMtoVUBDqXf4n3tlEMzuKp7H8Ju7Qrzn9es="; 31 + sha256 = "a135612876dc3e4b16ccb9ddb70de50519825c8c1be251b49aefa550bcf8a39a"; 32 32 }; 33 33 34 34 propagatedBuildInputs = [
+3 -1
pkgs/development/python-modules/geventhttpclient/default.nix
··· 6 6 , certifi 7 7 , six 8 8 , backports_ssl_match_hostname 9 + , pythonOlder 9 10 }: 10 11 11 12 buildPythonPackage rec { ··· 18 19 }; 19 20 20 21 buildInputs = [ pytest ]; 21 - propagatedBuildInputs = [ gevent certifi six backports_ssl_match_hostname ]; 22 + propagatedBuildInputs = [ gevent certifi six ] 23 + ++ lib.optionals (pythonOlder "3.7") [ backports_ssl_match_hostname ]; 22 24 23 25 # Several tests fail that require network 24 26 doCheck = false;
+1 -1
pkgs/development/python-modules/gradient-utils/default.nix
··· 26 26 substituteInPlace pyproject.toml \ 27 27 --replace 'numpy = "1.18.5"' 'numpy = "^1.18.5"' \ 28 28 --replace 'hyperopt = "0.1.2"' 'hyperopt = ">=0.1.2"' \ 29 - --replace 'wheel = "^0.35.1"' 'wheel = "^0.36"' 29 + --replace 'wheel = "^0.35.1"' 'wheel = "*"' 30 30 ''; 31 31 32 32 nativeBuildInputs = [ poetry-core ];
+98
pkgs/development/python-modules/mat2/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , python 4 + , pythonOlder 5 + , fetchFromGitLab 6 + , substituteAll 7 + , bubblewrap 8 + , exiftool 9 + , ffmpeg 10 + , mime-types 11 + , wrapGAppsHook 12 + , gdk-pixbuf 13 + , gobject-introspection 14 + , librsvg 15 + , poppler_gi 16 + , mutagen 17 + , pygobject3 18 + , pycairo 19 + , dolphinIntegration ? false, plasma5Packages 20 + }: 21 + 22 + buildPythonPackage rec { 23 + pname = "mat2"; 24 + version = "0.12.0"; 25 + 26 + disabled = pythonOlder "3.5"; 27 + 28 + src = fetchFromGitLab { 29 + domain = "0xacab.org"; 30 + owner = "jvoisin"; 31 + repo = "mat2"; 32 + rev = version; 33 + sha256 = "0amxwwmcf47dakfm6zvsksv6ja7rz7dpmd1z2rsspy8yds6zgxs7"; 34 + }; 35 + 36 + patches = [ 37 + # hardcode paths to some binaries 38 + (substituteAll ({ 39 + src = ./paths.patch; 40 + bwrap = "${bubblewrap}/bin/bwrap"; 41 + exiftool = "${exiftool}/bin/exiftool"; 42 + ffmpeg = "${ffmpeg}/bin/ffmpeg"; 43 + # remove once faf0f8a8a4134edbeec0a73de7f938453444186d is in master 44 + mimetypes = "${mime-types}/etc/mime.types"; 45 + } // lib.optionalAttrs dolphinIntegration { 46 + kdialog = "${plasma5Packages.kdialog}/bin/kdialog"; 47 + })) 48 + # the executable shouldn't be called .mat2-wrapped 49 + ./executable-name.patch 50 + # hardcode path to mat2 executable 51 + ./tests.patch 52 + ]; 53 + 54 + postPatch = '' 55 + substituteInPlace dolphin/mat2.desktop \ 56 + --replace "@mat2@" "$out/bin/mat2" \ 57 + --replace "@mat2svg@" "$out/share/icons/hicolor/scalable/apps/mat2.svg" 58 + ''; 59 + 60 + nativeBuildInputs = [ 61 + wrapGAppsHook 62 + ]; 63 + 64 + buildInputs = [ 65 + gdk-pixbuf 66 + gobject-introspection 67 + librsvg 68 + poppler_gi 69 + ]; 70 + 71 + propagatedBuildInputs = [ 72 + mutagen 73 + pygobject3 74 + pycairo 75 + ]; 76 + 77 + postInstall = '' 78 + install -Dm 444 data/mat2.svg -t "$out/share/icons/hicolor/scalable/apps" 79 + install -Dm 444 doc/mat2.1 -t "$out/share/man/man1" 80 + install -Dm 444 nautilus/mat2.py -t "$out/share/nautilus-python/extensions" 81 + buildPythonPath "$out $pythonPath" 82 + patchPythonScript "$out/share/nautilus-python/extensions/mat2.py" 83 + '' + lib.optionalString dolphinIntegration '' 84 + install -Dm 444 dolphin/mat2.desktop -t "$out/share/kservices5/ServiceMenus" 85 + ''; 86 + 87 + checkPhase = '' 88 + ${python.interpreter} -m unittest discover -v 89 + ''; 90 + 91 + meta = with lib; { 92 + description = "A handy tool to trash your metadata"; 93 + homepage = "https://0xacab.org/jvoisin/mat2"; 94 + changelog = "https://0xacab.org/jvoisin/mat2/-/blob/${version}/CHANGELOG.md"; 95 + license = licenses.lgpl3Plus; 96 + maintainers = with maintainers; [ dotlambda ]; 97 + }; 98 + }
+13
pkgs/development/python-modules/mat2/executable-name.patch
··· 1 + diff --git a/mat2 b/mat2 2 + index 3b77e1e..b99a633 100755 3 + --- a/mat2 4 + +++ b/mat2 5 + @@ -46,7 +46,7 @@ def __check_file(filename: str, mode: int = os.R_OK) -> bool: 6 + 7 + 8 + def create_arg_parser() -> argparse.ArgumentParser: 9 + - parser = argparse.ArgumentParser(description='Metadata anonymisation toolkit 2') 10 + + parser = argparse.ArgumentParser(description='Metadata anonymisation toolkit 2', prog='mat2') 11 + 12 + parser.add_argument('-V', '--verbose', action='store_true', 13 + help='show more verbose status information')
+111
pkgs/development/python-modules/mat2/paths.patch
··· 1 + diff --git a/dolphin/mat2.desktop b/dolphin/mat2.desktop 2 + index e623962..5d69ae2 100644 3 + --- a/dolphin/mat2.desktop 4 + +++ b/dolphin/mat2.desktop 5 + @@ -7,5 +7,5 @@ Type=Service 6 + [Desktop Action cleanMetadata] 7 + Name=Clean metadata 8 + Name[es]=Limpiar metadatos 9 + -Icon=/usr/share/icons/hicolor/scalable/apps/mat2.svg 10 + -Exec=kdialog --yesno "$( mat2 -s %U )" --title "Clean Metadata?" && mat2 %U 11 + +Icon=@mat2svg@ 12 + +Exec=@kdialog@ --yesno "$( @mat2@ -s %U )" --title "Clean Metadata?" && @mat2@ %U 13 + diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py 14 + index 970d5dd..5d3c0b7 100644 15 + --- a/libmat2/bubblewrap.py 16 + +++ b/libmat2/bubblewrap.py 17 + @@ -22,11 +22,7 @@ CalledProcessError = subprocess.CalledProcessError 18 + 19 + 20 + def _get_bwrap_path() -> str: 21 + - which_path = shutil.which('bwrap') 22 + - if which_path: 23 + - return which_path 24 + - 25 + - raise RuntimeError("Unable to find bwrap") # pragma: no cover 26 + + return '@bwrap@' 27 + 28 + 29 + def _get_bwrap_args(tempdir: str, 30 + @@ -37,16 +33,11 @@ def _get_bwrap_args(tempdir: str, 31 + 32 + # XXX: use --ro-bind-try once all supported platforms 33 + # have a bubblewrap recent enough to support it. 34 + - ro_bind_dirs = ['/usr', '/lib', '/lib64', '/bin', '/sbin', '/etc/alternatives', cwd] 35 + + ro_bind_dirs = ['/nix/store', cwd] 36 + for bind_dir in ro_bind_dirs: 37 + if os.path.isdir(bind_dir): # pragma: no cover 38 + ro_bind_args.extend(['--ro-bind', bind_dir, bind_dir]) 39 + 40 + - ro_bind_files = ['/etc/ld.so.cache'] 41 + - for bind_file in ro_bind_files: 42 + - if os.path.isfile(bind_file): # pragma: no cover 43 + - ro_bind_args.extend(['--ro-bind', bind_file, bind_file]) 44 + - 45 + args = ro_bind_args + \ 46 + ['--dev', '/dev', 47 + '--proc', '/proc', 48 + diff --git a/libmat2/exiftool.py b/libmat2/exiftool.py 49 + index eb65b2a..51a0fa1 100644 50 + --- a/libmat2/exiftool.py 51 + +++ b/libmat2/exiftool.py 52 + @@ -1,8 +1,6 @@ 53 + -import functools 54 + import json 55 + import logging 56 + import os 57 + -import shutil 58 + import subprocess 59 + from typing import Dict, Union, Set 60 + 61 + @@ -70,14 +68,5 @@ class ExiftoolParser(abstract.AbstractParser): 62 + return False 63 + return True 64 + 65 + -@functools.lru_cache() 66 + def _get_exiftool_path() -> str: # pragma: no cover 67 + - which_path = shutil.which('exiftool') 68 + - if which_path: 69 + - return which_path 70 + - 71 + - # Exiftool on Arch Linux has a weird path 72 + - if os.access('/usr/bin/vendor_perl/exiftool', os.X_OK): 73 + - return '/usr/bin/vendor_perl/exiftool' 74 + - 75 + - raise RuntimeError("Unable to find exiftool") 76 + + return '@exiftool@' 77 + diff --git a/libmat2/parser_factory.py b/libmat2/parser_factory.py 78 + index 9965432..bd45179 100644 79 + --- a/libmat2/parser_factory.py 80 + +++ b/libmat2/parser_factory.py 81 + @@ -8,6 +8,7 @@ from . import abstract, UNSUPPORTED_EXTENSIONS 82 + 83 + T = TypeVar('T', bound='abstract.AbstractParser') 84 + 85 + +mimetypes.init(['@mimetypes@']) 86 + mimetypes.add_type('application/epub+zip', '.epub') 87 + mimetypes.add_type('application/x-dtbncx+xml', '.ncx') # EPUB Navigation Control XML File 88 + 89 + diff --git a/libmat2/video.py b/libmat2/video.py 90 + index b4a3232..3dd7ee5 100644 91 + --- a/libmat2/video.py 92 + +++ b/libmat2/video.py 93 + @@ -1,6 +1,4 @@ 94 + import subprocess 95 + -import functools 96 + -import shutil 97 + import logging 98 + 99 + from typing import Dict, Union 100 + @@ -135,10 +133,5 @@ class MP4Parser(AbstractFFmpegParser): 101 + } 102 + 103 + 104 + -@functools.lru_cache() 105 + def _get_ffmpeg_path() -> str: # pragma: no cover 106 + - which_path = shutil.which('ffmpeg') 107 + - if which_path: 108 + - return which_path 109 + - 110 + - raise RuntimeError("Unable to find ffmpeg") 111 + + return '@ffmpeg@'
+18
pkgs/development/python-modules/mat2/tests.patch
··· 1 + diff --git a/tests/test_climat2.py b/tests/test_climat2.py 2 + index cede642..2d5ad77 100644 3 + --- a/tests/test_climat2.py 4 + +++ b/tests/test_climat2.py 5 + @@ -10,12 +10,7 @@ import glob 6 + from libmat2 import images, parser_factory 7 + 8 + 9 + -mat2_binary = ['./mat2'] 10 + - 11 + -if 'MAT2_GLOBAL_PATH_TESTSUITE' in os.environ: 12 + - # Debian runs tests after installing the package 13 + - # https://0xacab.org/jvoisin/mat2/issues/16#note_153878 14 + - mat2_binary = ['/usr/bin/env', 'mat2'] 15 + +mat2_binary = [os.environ['out'] + '/bin/mat2'] 16 + 17 + 18 + class TestHelp(unittest.TestCase):
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "sagemaker"; 17 - version = "2.29.2"; 17 + version = "2.30.0"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "sha256-e+yrjtDC6d47+zEFv6WY7xGw9kDfKLrNyMh/IkC/bQs="; 21 + sha256 = "sha256-3BxRDoaKxaXlKYGYQqhQ2DUO3XONvf6dlofE0pbXIho="; 22 22 }; 23 23 24 24 pythonImportsCheck = [
+6 -4
pkgs/development/python-modules/soco/default.nix
··· 30 30 sha256 = "sha256-CCgkzUkt9YqTJt9tPBLmYXW6ZuRoMDd7xahYmNXgfM0="; 31 31 }; 32 32 33 - patches = [(fetchpatch { 34 - url = "https://patch-diff.githubusercontent.com/raw/SoCo/SoCo/pull/811.patch"; 35 - sha256 = "sha256-GBd74c8zc25ROO411SZ9TTa+bi8yXJaaOQqY9FM1qj4="; 36 - })]; 33 + patches = [ 34 + (fetchpatch { 35 + url = "https://patch-diff.githubusercontent.com/raw/SoCo/SoCo/pull/811.patch"; 36 + sha256 = "sha256-GBd74c8zc25ROO411SZ9TTa+bi8yXJaaOQqY9FM1qj4="; 37 + }) 38 + ]; 37 39 38 40 # N.B. These exist because: 39 41 # 1. Upstream's pinning isn't well maintained, leaving dependency versions no
+3 -9
pkgs/development/python-modules/tatsu/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "TatSu"; 9 - version = "5.0.0"; 9 + version = "5.5.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "neogeny"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "1c16fcxf0xjkh5py9bnj6ljb9krhrj57mkwayl1w1dvzwl5lkgj3"; 15 + sha256 = "07bmdnwh99p60cgzhlb8s5vwi5v4r5zi8shymxnnarannkc66hzn"; 16 16 }; 17 17 18 - # Since version 5.0.0 only >=3.8 is officially supported, but ics is not 19 - # compatible with Python 3.8 due to aiohttp: 20 - disabled = pythonOlder "3.7"; 21 - postPatch = '' 22 - substituteInPlace setup.py \ 23 - --replace "python_requires='>=3.8'," "python_requires='>=3.7'," 24 - ''; 18 + disabled = pythonOlder "3.8"; 25 19 26 20 nativeBuildInputs = [ pytestrunner ]; 27 21 propagatedBuildInputs = [ colorama mypy pyyaml regex ]
+33
pkgs/development/python-modules/ytmusicapi/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , isPy27 4 + , fetchPypi 5 + , requests 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "ytmusicapi"; 10 + version = "0.14.3"; 11 + 12 + disabled = isPy27; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "83251a95d5bd74116353d29dfda2d0c5055b88276a0876a313a66f8b9c691344"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + requests 21 + ]; 22 + 23 + doCheck = false; # requires network access 24 + 25 + pythonImportsCheck = [ "ytmusicapi" ]; 26 + 27 + meta = with lib; { 28 + description = "Unofficial API for YouTube Music"; 29 + homepage = "https://github.com/sigma67/ytmusicapi"; 30 + license = licenses.mit; 31 + maintainers = with maintainers; [ dotlambda ]; 32 + }; 33 + }
+2 -2
pkgs/development/tools/analysis/flow/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "flow"; 5 - version = "0.145.0"; 5 + version = "0.146.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "facebook"; 9 9 repo = "flow"; 10 10 rev = "refs/tags/v${version}"; 11 - sha256 = "sha256-6fRKXKh+hB/d2CcmZYYSlMzP1IGCl7fLdXCQ1M0wuY4="; 11 + sha256 = "0kxws51hri0b4z7k05li6vg1arcdc7i5jzfibi0iplsfyy14159q"; 12 12 }; 13 13 14 14 installPhase = ''
+81 -8
pkgs/development/tools/build-managers/dub/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }: 1 + { lib, stdenv, fetchFromGitHub, curl, libevent, rsync, ldc, dcompiler ? ldc }: 2 + 3 + assert dcompiler != null; 2 4 3 5 stdenv.mkDerivation rec { 4 6 pname = "dub"; ··· 24 26 --replace "dub remove" "\"${dubvar}\" remove" 25 27 ''; 26 28 27 - nativeBuildInputs = [ dmd libevent rsync ]; 29 + nativeBuildInputs = [ dcompiler libevent rsync ]; 28 30 buildInputs = [ curl ]; 29 31 30 32 buildPhase = '' 31 - export DMD=${dmd.out}/bin/dmd 32 - ./build.sh 33 + for dc_ in dmd ldmd2 gdmd; do 34 + echo "... check for D compiler $dc_ ..." 35 + dc=$(type -P $dc_ || echo "") 36 + if [ ! "$dc" == "" ]; then 37 + break 38 + fi 39 + done 40 + if [ "$dc" == "" ]; then 41 + exit "Error: could not find D compiler" 42 + fi 43 + echo "$dc_ found and used as D compiler to build $pname" 44 + $dc ./build.d 45 + ./build 33 46 ''; 34 47 35 48 doCheck = !stdenv.isDarwin; ··· 37 50 checkPhase = '' 38 51 export DUB=$NIX_BUILD_TOP/source/bin/dub 39 52 export PATH=$PATH:$NIX_BUILD_TOP/source/bin/ 40 - export DC=${dmd.out}/bin/dmd 53 + export DC=${dcompiler.out}/bin/${dcompiler.pname} 54 + echo "DC out --> $DC" 41 55 export HOME=$TMP 42 56 43 57 rm -rf test/issue502-root-import ··· 46 60 rm test/issue990-download-optional-selected.sh 47 61 rm test/issue877-auto-fetch-package-on-run.sh 48 62 rm test/issue1037-better-dependency-messages.sh 49 - rm test/issue1040-run-with-ver.sh 50 63 rm test/issue1416-maven-repo-pkg-supplier.sh 51 64 rm test/issue1180-local-cache-broken.sh 52 65 rm test/issue1574-addcommand.sh ··· 62 75 rm test/version-spec.sh 63 76 rm test/0-init-multi.sh 64 77 rm test/0-init-multi-json.sh 78 + rm test/4-describe-data-1-list.sh 79 + rm test/4-describe-data-3-zero-delim.sh 80 + rm test/4-describe-import-paths.sh 81 + rm test/4-describe-string-import-paths.sh 82 + rm test/4-describe-json.sh 83 + rm test/5-convert-stdout.sh 84 + rm test/issue1003-check-empty-ld-flags.sh 85 + rm test/issue103-single-file-package.sh 86 + rm test/issue1040-run-with-ver.sh 87 + rm test/issue1091-bogus-rebuild.sh 88 + rm test/issue1194-warn-wrong-subconfig.sh 89 + rm test/issue1277.sh 90 + rm test/issue1372-ignore-files-in-hidden-dirs.sh 91 + rm test/issue1447-build-settings-vars.sh 92 + rm test/issue1531-toolchain-requirements.sh 93 + rm test/issue346-redundant-flags.sh 94 + rm test/issue361-optional-deps.sh 95 + rm test/issue564-invalid-upgrade-dependency.sh 96 + rm test/issue586-subpack-dep.sh 97 + rm test/issue616-describe-vs-generate-commands.sh 98 + rm test/issue686-multiple-march.sh 99 + rm test/issue813-fixed-dependency.sh 100 + rm test/issue813-pure-sub-dependency.sh 101 + rm test/issue820-extra-fields-after-convert.sh 102 + rm test/issue923-subpackage-deps.sh 103 + rm test/single-file-sdl-default-name.sh 104 + rm test/subpackage-common-with-sourcefile-globbing.sh 105 + rm test/issue934-path-dep.sh 106 + rm -r test/1-dynLib-simple 107 + rm -r test/1-exec-simple-package-json 108 + rm -r test/1-exec-simple 109 + rm -r test/1-staticLib-simple 110 + rm -r test/2-dynLib-dep 111 + rm -r test/2-staticLib-dep 112 + rm -r test/2-dynLib-with-staticLib-dep 113 + rm -r test/2-sourceLib-dep/ 114 + rm -r test/3-copyFiles 115 + rm -r test/custom-source-main-bug487 116 + rm -r test/custom-unittest 117 + rm -r test/issue1262-version-inheritance-diamond 118 + rm -r test/issue1003-check-empty-ld-flags 119 + rm -r test/ignore-hidden-1 120 + rm -r test/ignore-hidden-2 121 + rm -r test/issue1427-betterC 122 + rm -r test/issue130-unicode-* 123 + rm -r test/issue1262-version-inheritance 124 + rm -r test/issue1372-ignore-files-in-hidden-dirs 125 + rm -r test/issue1350-transitive-none-deps 126 + rm -r test/issue1775 127 + rm -r test/issue1447-build-settings-vars 128 + rm -r test/issue1408-inherit-linker-files 129 + rm -r test/issue1551-var-escaping 130 + rm -r test/issue754-path-selection-fail 131 + rm -r test/issue1788-incomplete-string-import-override 132 + rm -r test/subpackage-ref 133 + rm -r test/issue777-bogus-path-dependency 134 + rm -r test/issue959-path-based-subpack-dep 135 + rm -r test/issue97-targettype-none-nodeps 136 + rm -r test/issue97-targettype-none-onerecipe 137 + rm -r test/path-subpackage-ref 138 + rm -r test/sdl-package-simple 65 139 66 140 ./test/run-unittest.sh 67 141 ''; 68 142 69 143 installPhase = '' 70 - mkdir $out 71 - mkdir $out/bin 144 + mkdir -p $out/bin 72 145 cp bin/dub $out/bin 73 146 ''; 74 147
+1 -2
pkgs/development/tools/build-managers/sbt/default.nix
··· 11 11 version = "1.4.9"; 12 12 13 13 src = fetchurl { 14 - url = 15 - "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 14 + url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 16 15 sha256 = "sha256-lUaBGfdkFJk2czCmCkuKYhHm6n+L3n1kfGexndj9224="; 17 16 }; 18 17
+6 -7
pkgs/development/tools/dtools/default.nix
··· 1 - {stdenv, lib, fetchFromGitHub, dmd, curl}: 1 + {stdenv, lib, fetchFromGitHub, ldc, curl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dtools"; 5 - version = "2.085.1"; 5 + version = "2.095.1"; 6 6 7 7 srcs = [ 8 8 (fetchFromGitHub { 9 9 owner = "dlang"; 10 10 repo = "dmd"; 11 11 rev = "v${version}"; 12 - sha256 = "0ccidfcawrcwdpfjwjiln5xwr4ffp8i2hwx52p8zn3xmc5yxm660"; 12 + sha256 = "sha256:0faca1y42a1h16aml4lb7z118mh9k9fjx3xlw3ki5f1h3ln91xhk"; 13 13 name = "dmd"; 14 14 }) 15 15 (fetchFromGitHub { 16 16 owner = "dlang"; 17 17 repo = "tools"; 18 18 rev = "v${version}"; 19 - sha256 = "1x85w4k2zqgv2bjbvhschxdc6kq8ygp89h499cy8rfqm6q23g0ws"; 19 + sha256 = "sha256:0rdfk3mh3fjrb0h8pr8skwlq6ac9hdl1fkrkdl7n1fa2806b740b"; 20 20 name = "dtools"; 21 21 }) 22 22 ]; ··· 27 27 mv dmd dtools 28 28 cd dtools 29 29 30 - substituteInPlace posix.mak --replace "\$(DMD) \$(DFLAGS) -unittest -main -run rdmd.d" "" 31 30 ''; 32 31 33 - nativeBuildInputs = [ dmd ]; 32 + nativeBuildInputs = [ ldc ]; 34 33 buildInputs = [ curl ]; 35 34 36 35 makeCmd = '' 37 - make -f posix.mak DMD_DIR=dmd DMD=${dmd.out}/bin/dmd CC=${stdenv.cc}/bin/cc 36 + make -f posix.mak all DMD_DIR=dmd DMD=${ldc.out}/bin/ldmd2 CC=${stdenv.cc}/bin/cc 38 37 ''; 39 38 40 39 buildPhase = ''
+5 -5
pkgs/development/tools/literate-programming/Literate/default.nix
··· 1 - { lib, stdenv, fetchgit, dmd, dub }: 1 + { lib, stdenv, fetchgit, ldc, dub }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "Literate"; 5 - version = "unstable-2020-09-02"; 5 + version = "unstable-2021-01-22"; 6 6 7 7 src = fetchgit { 8 8 url = "https://github.com/zyedidia/Literate.git"; 9 - rev = "533991cca6ec7a608a778396d32d51b35182d944"; 10 - sha256 = "09h1as01z0fw0bj0kf1g9nlhvinya7sqq2x8qb6zmhvqqm6v4n49"; 9 + rev = "7004dffec0cff3068828514eca72172274fd3f7d"; 10 + sha256 = "0x4xgrdskybaa7ssv81grmwyc1k167v3nwj320jvp5l59xxlbcvs"; 11 11 }; 12 12 13 - buildInputs = [ dmd dub ]; 13 + buildInputs = [ ldc dub ]; 14 14 15 15 installPhase = "install -D bin/lit $out/bin/lit"; 16 16
+10 -2
pkgs/development/tools/misc/cwebbin/default.nix
··· 16 16 sha256 = "1hdzxfzaibnjxjzgp6d2zay8nsarnfy9hfq55hz1bxzzl23n35aj"; 17 17 }; 18 18 19 - buildInputs = [ tie ]; 19 + # Remove references to __DATE__ and __TIME__ 20 + postPatch = '' 21 + substituteInPlace wmerg-patch.ch --replace ' ("__DATE__", "__TIME__")' "" 22 + substituteInPlace ctang-patch.ch --replace ' ("__DATE__", "__TIME__")' "" 23 + substituteInPlace ctangle.cxx --replace ' ("__DATE__", "__TIME__")' "" 24 + substituteInPlace cweav-patch.ch --replace ' ("__DATE__", "__TIME__")' "" 25 + ''; 26 + 27 + nativeBuildInputs = [ tie ]; 20 28 21 29 makeFlags = [ 22 30 "MACROSDIR=$(out)/share/texmf/tex/generic/cweb" ··· 27 35 "CP=cp" 28 36 "RM=rm" 29 37 "PDFTEX=echo" 30 - "CC=c++" 38 + "CC=${stdenv.cc.targetPrefix}c++" 31 39 ]; 32 40 33 41 buildPhase = ''
+2 -2
pkgs/development/tools/rshell/default.nix
··· 2 2 3 3 buildPythonApplication rec { 4 4 pname = "rshell"; 5 - version = "0.0.28"; 5 + version = "0.0.30"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1crnlv0khplpibl9mj3flrgp877pnr1xz6hnnsi6hk3kfbc6p3nj"; 9 + sha256 = "d2002d40d735204037d6142a6c2d51beecc763c124faaf759cabf7acd945be95"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ pyserial pyudev ];
+3 -3
pkgs/development/tools/rust/cargo-fuzz/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-fuzz"; 5 - version = "0.8.0"; 5 + version = "0.10.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "rust-fuzz"; 9 9 repo = "cargo-fuzz"; 10 10 rev = version; 11 - sha256 = "1d4bq9140bri8cd9zcxh5hhc51vr0s6jadjhwkp688w7k10rq7w8"; 11 + sha256 = "sha256-kBbwE4ToUud5BDDlGoey2qpp2imzO6t3FcIbV3NTFa8="; 12 12 }; 13 13 14 - cargoSha256 = "0zxhak79f50m8nw95ny733mk4x2f7kyk6q9v4f7jr2rkcldhgrpr"; 14 + cargoSha256 = "sha256-zqRlB2Kck4icMKzhaeeakEnn6O7zhoKPa5ZWbGooWIg="; 15 15 16 16 doCheck = false; 17 17
+2
pkgs/games/spring/default.nix
··· 60 60 license = licenses.gpl2; 61 61 maintainers = with maintainers; [ phreedom qknight domenkozar sorki ]; 62 62 platforms = platforms.linux; 63 + # error: 'snprintf' was not declared in this scope 64 + broken = true; 63 65 }; 64 66 }
+2 -2
pkgs/misc/screensavers/xlockmore/default.nix
··· 2 2 , libXdmcp, libXt }: 3 3 4 4 stdenv.mkDerivation rec { 5 - name = "xlockmore-5.65"; 5 + name = "xlockmore-5.66"; 6 6 7 7 src = fetchurl { 8 8 url = "http://sillycycle.com/xlock/${name}.tar.xz"; 9 - sha256 = "0d4l8ibbvc62whlq8rrbvqr3011a7h21l9na93r579g0dfwdbh6d"; 9 + sha256 = "sha256-WXalw2YoKNFFIskOBvKN3PyOV3iP3gjri3pw6e87q3E="; 10 10 curlOpts = "--user-agent 'Mozilla/5.0'"; 11 11 }; 12 12
+12 -10
pkgs/os-specific/linux/firmware/fwupd/default.nix
··· 91 91 92 92 self = stdenv.mkDerivation rec { 93 93 pname = "fwupd"; 94 - # A regression is present in https://github.com/fwupd/fwupd/commit/fde4b1676a2c64e70bebd88f7720307c62635654 95 - # released with 1.5.6. 96 - # Fix for the regression: https://github.com/fwupd/fwupd/pull/2902 97 - # Maintainer says a new release is to be expected in a few days: 98 - # https://twitter.com/hughsient/status/1362476792297185289 99 - # In the mean time, please do not release 1.5.6 and go strait to 1.5.7 100 - version = "1.5.5"; 94 + version = "1.5.7"; 101 95 102 96 # libfwupd goes to lib 103 97 # daemon, plug-ins and libfwupdplugin go to out ··· 106 100 107 101 src = fetchurl { 108 102 url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz"; 109 - sha256 = "0c2m9qz1g7zxqc6w90w9hksf8y9hvlh0vyvx06q01x893j5hzxh6"; 103 + sha256 = "16isrrv6zhdgccbfnz7km5g1cnvfnip7aiidkfhf5dlnrnyb2sxh"; 110 104 }; 111 105 112 106 patches = [ ··· 189 183 "-Defi-libdir=${gnu-efi}/lib" 190 184 "-Defi-ldsdir=${gnu-efi}/lib" 191 185 "-Defi-includedir=${gnu-efi}/include/efi" 186 + "-Defi_sbat_distro_id=nixos" 187 + "-Defi_sbat_distro_summary=NixOS" 188 + "-Defi_sbat_distro_pkgname=fwupd" 189 + "-Defi_sbat_distro_version=${version}" 190 + "-Defi_sbat_distro_url=https://search.nixos.org/packages?channel=unstable&show=fwupd&from=0&size=50&sort=relevance&query=fwupd" 192 191 "--localstatedir=/var" 193 192 "--sysconfdir=/etc" 194 193 "-Dsysconfdir_install=${placeholder "out"}/etc" ··· 236 235 contrib/get-version.py \ 237 236 contrib/generate-version-script.py \ 238 237 meson_post_install.sh \ 238 + plugins/uefi-capsule/efi/generate_sbat.py \ 239 + plugins/uefi-capsule/efi/generate_binary.py \ 239 240 po/make-images \ 240 241 po/make-images.sh \ 241 242 po/test-deps ··· 250 251 testFw = fetchFromGitHub { 251 252 owner = "fwupd"; 252 253 repo = "fwupd-test-firmware"; 253 - rev = "42b62c62dc85ecfb8e38099fe5de0625af87a722"; 254 - sha256 = "XUpxE003DZSeLJMtyV5UN5CNHH89/nEVKpCbMStm91Q="; 254 + rev = "c13bfb26cae5f4f115dd4e08f9f00b3cb9acc25e"; 255 + sha256 = "US81i7mtLEe85KdWz5r+fQTk61IhqjVkzykBaBPuKL4="; 255 256 }; 256 257 in '' 257 258 # These files have weird licenses so they are shipped separately. ··· 311 312 # DisabledPlugins key in fwupd/daemon.conf 312 313 defaultDisabledPlugins = [ 313 314 "test" 315 + "test_ble" 314 316 "invalid" 315 317 ]; 316 318
+15 -15
pkgs/os-specific/linux/kernel/hardened/patches.json
··· 1 1 { 2 2 "4.14": { 3 3 "extra": "-hardened1", 4 - "name": "linux-hardened-4.14.225-hardened1.patch", 5 - "sha256": "1khdxny8jzvvhax10xq5kpbnhwrhfs7cxhi9f3rg4fa6c139pjbl", 6 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.225-hardened1/linux-hardened-4.14.225-hardened1.patch" 4 + "name": "linux-hardened-4.14.226-hardened1.patch", 5 + "sha256": "12h42fsr1sc2zgr1cb2ais0aivg4hpg9x4gc762r7cd4l40fyyg9", 6 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.226-hardened1/linux-hardened-4.14.226-hardened1.patch" 7 7 }, 8 8 "4.19": { 9 9 "extra": "-hardened1", 10 - "name": "linux-hardened-4.19.180-hardened1.patch", 11 - "sha256": "1wh01fwghgpbwkmndw5kkjbmav5iwmpk7g208jplhz6q6ymxfdbj", 12 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.180-hardened1/linux-hardened-4.19.180-hardened1.patch" 10 + "name": "linux-hardened-4.19.181-hardened1.patch", 11 + "sha256": "13j15nwmnzl1s17403icrpx9cdpfpzb5y1pnl6zaj5wsnjda7k5d", 12 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.181-hardened1/linux-hardened-4.19.181-hardened1.patch" 13 13 }, 14 14 "5.10": { 15 15 "extra": "-hardened1", 16 - "name": "linux-hardened-5.10.23-hardened1.patch", 17 - "sha256": "16mll5ayg7j0zdxciqa9m17zxv6kdm7vn1kp6bsl89nc301fxssc", 18 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.23-hardened1/linux-hardened-5.10.23-hardened1.patch" 16 + "name": "linux-hardened-5.10.24-hardened1.patch", 17 + "sha256": "0d2kwz01kgh43li6b76b7dhnx37hchzx99rk4h6jdz364272lh1p", 18 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.24-hardened1/linux-hardened-5.10.24-hardened1.patch" 19 19 }, 20 20 "5.11": { 21 21 "extra": "-hardened1", 22 - "name": "linux-hardened-5.11.6-hardened1.patch", 23 - "sha256": "0gl5irpqindz5d2pdhl0zzxx40xjqk591a20kyfjlnp3kjbg6nfj", 24 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.11.6-hardened1/linux-hardened-5.11.6-hardened1.patch" 22 + "name": "linux-hardened-5.11.7-hardened1.patch", 23 + "sha256": "1d3rg722k796qh2zj97fyk30qak9i71yqy7mk2dpbmdpv0ksacax", 24 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.11.7-hardened1/linux-hardened-5.11.7-hardened1.patch" 25 25 }, 26 26 "5.4": { 27 27 "extra": "-hardened1", 28 - "name": "linux-hardened-5.4.105-hardened1.patch", 29 - "sha256": "1djp2cpsb6kgbz2xvix1p0hd7001qw5bnqigf4gz205pianbpakc", 30 - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.105-hardened1/linux-hardened-5.4.105-hardened1.patch" 28 + "name": "linux-hardened-5.4.106-hardened1.patch", 29 + "sha256": "1hg18p1n26am6y2i459jrpnkq06rv0f5hds1znnm7jw4f61k395f", 30 + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.106-hardened1/linux-hardened-5.4.106-hardened1.patch" 31 31 } 32 32 }
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.14.225"; 6 + version = "4.14.226"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "09kik0jbfpijb4kylayphr8r2qxx4rlgsnmq300wzcjhxw5yxy3c"; 16 + sha256 = "09llp8jl5xgxxzj0f2sfx32annwyz82k1zmgd26zy90lz0d09p3s"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.19.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.19.180"; 6 + version = "4.19.181"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "0pxvnyhbcmbbkdrqsrf5hhaz36x9l07s0xmzrmc4ipcdhdy5va0x"; 16 + sha256 = "1kd967azsq6w41ch8iwpv0i4yjkpijzn5avcipi1141dx4ryw62j"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.4.nix
··· 1 1 { buildPackages, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.4.261"; 4 + version = "4.4.262"; 5 5 extraMeta.branch = "4.4"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "0d9j4j72n8fl3s93qm82cydwk8lvwhvl2357rcsai2vsk5l0k1mc"; 9 + sha256 = "0yz9qi4i46ndshxmb99kvv7lk6cbb09y7bzagq7sgvqaj4lwaw6j"; 10 10 }; 11 11 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.9.nix
··· 1 1 { buildPackages, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.9.261"; 4 + version = "4.9.262"; 5 5 extraMeta.branch = "4.9"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "0r5822mj2gk9s8rbc8bazg34y8bwr7svn3nbgcq57y2qch8nych4"; 9 + sha256 = "1zq77x9zf1wbk8n17rnblm5lfwlkin1xnxb3sxirwb9njm07cbmj"; 10 10 }; 11 11 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.10.23"; 6 + version = "5.10.24"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0snvkrs95wbx611kcnap59whfiz6h6mzsnbwswk5py3gxh1irqpn"; 16 + sha256 = "0gvnplip90gvlzw9rm0cg66z54cfa82gk23icf5xdickb17d1p66"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.11.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.11.6"; 6 + version = "5.11.7"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "02dcq7cqll5c39z8dh9f0xy68hh4a8jsab5k4n9calfldrm7jw79"; 16 + sha256 = "1cd87v6j8nk89pjqqsaviyzx9lj0d51j46n1in7cjlg18wng3da9"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.4.105"; 6 + version = "5.4.106"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1dmq1zkr4idbbvh7wln5hn5sl4d0mcfm1af5bvsmsa44c78lqki4"; 16 + sha256 = "1ny8b69ngydh0iw53jwlmqlgv31wjhkybkgnqi5kv0n174n3p1yc"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/servers/mail/rspamd/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "rspamd"; 14 - version = "2.6"; 14 + version = "2.7"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "rspamd"; 18 18 repo = "rspamd"; 19 19 rev = version; 20 - sha256 = "0vwa7k2s2bkfb8w78z5izkd6ywjbzqysb0grls898y549hm8ii70"; 20 + sha256 = "sha256-LMLRDnKfGpApVsIvPNY2nxl+H5+qeVvwvwr3wdyyhjs="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ cmake pkg-config perl ];
+3 -3
pkgs/shells/fish/default.nix
··· 131 131 132 132 fish = stdenv.mkDerivation rec { 133 133 pname = "fish"; 134 - version = "3.2.0"; 134 + version = "3.2.1"; 135 135 136 136 src = fetchurl { 137 137 # There are differences between the release tarball and the tarball GitHub ··· 141 141 # --version`), as well as the local documentation for all builtins (and 142 142 # maybe other things). 143 143 url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz"; 144 - sha256 = "sha256-TwKT7Z9qa3fkfUHvq+YvMxnobvyL+DzFhzMET7xvkhE="; 144 + sha256 = "2OSfQJDTd43xfdgl5KKoAZIBVoJCPNndArZnXWXDr1s="; 145 145 }; 146 146 147 147 # Fix FHS paths in tests ··· 214 214 215 215 checkInputs = [ 216 216 coreutils 217 - (python3.withPackages(ps: [ps.pexpect])) 217 + (python3.withPackages (ps: [ ps.pexpect ])) 218 218 procps 219 219 ]; 220 220
+9 -3
pkgs/shells/fish/plugins/build-fish-plugin.nix
··· 11 11 buildPhase ? ":", 12 12 preInstall ? "", 13 13 postInstall ? "", 14 - # name of the subdirectory in which to store the plugin 15 - installPath ? lib.getName pname, 16 14 17 15 checkInputs ? [], 18 16 # plugin packages to add to the vendor paths of the test fish shell ··· 26 24 ... 27 25 }: 28 26 29 - stdenv.mkDerivation (attrs // { 27 + let 28 + # Do not pass attributes that are only relevant to buildFishPlugin to mkDerivation. 29 + drvAttrs = builtins.removeAttrs attrs [ 30 + "checkPlugins" 31 + "checkFunctionDirs" 32 + ]; 33 + in 34 + 35 + stdenv.mkDerivation (drvAttrs // { 30 36 inherit name; 31 37 inherit unpackPhase configurePhase buildPhase; 32 38
+7
pkgs/test/cuda/cuda-library-samples/default.nix
··· 1 1 { callPackage 2 2 , cudatoolkit_10_1, cudatoolkit_10_2 3 3 , cudatoolkit_11_0, cudatoolkit_11_1, cudatoolkit_11_2 4 + , cutensor_cudatoolkit_10_1, cutensor_cudatoolkit_10_2 5 + , cutensor_cudatoolkit_11_0, cutensor_cudatoolkit_11_1, cutensor_cudatoolkit_11_2 4 6 }: 5 7 6 8 rec { 7 9 8 10 cuda-library-samples_cudatoolkit_10_1 = callPackage ./generic.nix { 9 11 cudatoolkit = cudatoolkit_10_1; 12 + cutensor_cudatoolkit = cutensor_cudatoolkit_10_1; 10 13 }; 11 14 12 15 cuda-library-samples_cudatoolkit_10_2 = callPackage ./generic.nix { 13 16 cudatoolkit = cudatoolkit_10_2; 17 + cutensor_cudatoolkit = cutensor_cudatoolkit_10_2; 14 18 }; 15 19 16 20 cuda-library-samples_cudatoolkit_10 = ··· 20 24 21 25 cuda-library-samples_cudatoolkit_11_0 = callPackage ./generic.nix { 22 26 cudatoolkit = cudatoolkit_11_0; 27 + cutensor_cudatoolkit = cutensor_cudatoolkit_11_0; 23 28 }; 24 29 25 30 cuda-library-samples_cudatoolkit_11_1 = callPackage ./generic.nix { 26 31 cudatoolkit = cudatoolkit_11_1; 32 + cutensor_cudatoolkit = cutensor_cudatoolkit_11_1; 27 33 }; 28 34 29 35 cuda-library-samples_cudatoolkit_11_2 = callPackage ./generic.nix { 30 36 cudatoolkit = cudatoolkit_11_2; 37 + cutensor_cudatoolkit = cutensor_cudatoolkit_11_2; 31 38 }; 32 39 33 40 cuda-library-samples_cudatoolkit_11 =
+20 -1
pkgs/test/cuda/cuda-library-samples/generic.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 2 , cmake, addOpenGLRunpath 3 3 , cudatoolkit 4 + , cutensor_cudatoolkit 4 5 }: 5 6 6 7 let ··· 29 30 cuSPARSE, cuSOLVER, cuFFT, cuRAND, NPP and nvJPEG. 30 31 ''; 31 32 license = lib.licenses.bsd3; 32 - maintainers = with lib.maintainers; [ obsidian-systems-maintainence ]; 33 + maintainers = with lib.maintainers; [ obsidian-systems-maintenance ]; 33 34 }; 34 35 }; 35 36 in ··· 47 48 src = "${src}/cuSOLVER"; 48 49 49 50 sourceRoot = "cuSOLVER/gesv"; 51 + }); 52 + 53 + cutensor = stdenv.mkDerivation (commonAttrs // { 54 + pname = "cuda-library-samples-cutensor"; 55 + 56 + src = "${src}/cuTENSOR"; 57 + 58 + cmakeFlags = [ 59 + "-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${builtins.placeholder "out"}/bin" 60 + ]; 61 + 62 + # CUTENSOR_ROOT is double escaped 63 + postPatch = '' 64 + substituteInPlace CMakeLists.txt \ 65 + --replace "\''${CUTENSOR_ROOT}/include" "${cutensor_cudatoolkit.dev}/include" 66 + ''; 67 + 68 + CUTENSOR_ROOT = cutensor_cudatoolkit; 50 69 }); 51 70 }
+1 -1
pkgs/test/cuda/cuda-samples/generic.nix
··· 46 46 description = "Samples for CUDA Developers which demonstrates features in CUDA Toolkit"; 47 47 # CUDA itself is proprietary, but these sample apps are not. 48 48 license = lib.licenses.bsd3; 49 - maintainers = with lib.maintainers; [ obsidian-systems-maintainence ]; 49 + maintainers = with lib.maintainers; [ obsidian-systems-maintenance ]; 50 50 }; 51 51 }
+2 -2
pkgs/tools/admin/awscli/default.nix
··· 28 28 in 29 29 with py.pkgs; buildPythonApplication rec { 30 30 pname = "awscli"; 31 - version = "1.19.29"; # N.B: if you change this, change botocore and boto3 to a matching version too 31 + version = "1.19.30"; # N.B: if you change this, change botocore and boto3 to a matching version too 32 32 33 33 src = fetchPypi { 34 34 inherit pname version; 35 - sha256 = "sha256-d4PdFzIJSMJSpQta7JqCRwIkcgfh8XHgBKOEc/95r3w="; 35 + sha256 = "sha256-XD0CwBTDUvCTSL7JrcQCAd8zq+Ve0zSDpfz0Vzi8oeM="; 36 36 }; 37 37 38 38 # https://github.com/aws/aws-cli/issues/4837
+55
pkgs/tools/archivers/rpm2targz/default.nix
··· 1 + { bzip2 2 + , coreutils 3 + , cpio 4 + , fetchurl 5 + , gnutar 6 + , gzip 7 + , lib 8 + , stdenv 9 + , xz 10 + , zstd 11 + }: 12 + 13 + let 14 + shdeps = [ 15 + bzip2 16 + coreutils 17 + cpio 18 + gnutar 19 + gzip 20 + xz 21 + zstd 22 + ]; 23 + 24 + in stdenv.mkDerivation rec { 25 + pname = "rpm2targz"; 26 + version = "2021.03.16"; 27 + 28 + # git repo: https://gitweb.gentoo.org/proj/rpm2targz.git/ 29 + src = fetchurl { 30 + url = "https://dev.gentoo.org/~vapier/dist/${pname}-${version}.tar.xz"; 31 + hash = "sha256-rcV+o9V2wWKznqSW2rA8xgnpQ02kpK4te6mYvLRC5vQ="; 32 + }; 33 + 34 + buildInputs = shdeps; 35 + 36 + postPatch = '' 37 + substituteInPlace rpm2targz --replace "=\"rpmoffset\"" "=\"$out/bin/rpmoffset\"" 38 + # rpm2targz relies on the executable name 39 + # to guess what compressor it should use 40 + # this is more reliable than wrapProgram 41 + sed -i -e '2iexport PATH="${lib.makeBinPath shdeps}"' rpm2targz 42 + ''; 43 + 44 + preBuild = '' 45 + makeFlagsArray+=(prefix=$out) 46 + ''; 47 + 48 + meta = with lib; { 49 + description = "Convert a .rpm file to a .tar.gz archive"; 50 + homepage = "http://slackware.com/config/packages.php"; 51 + license = licenses.bsd1; 52 + maintainers = with maintainers; [ zseri ]; 53 + platforms = platforms.all; 54 + }; 55 + }
+3 -3
pkgs/tools/audio/essentia-extractor/default.nix
··· 14 14 15 15 arch = arch_table.${stdenv.system}; 16 16 sha = sha_table.${stdenv.system}; 17 - in stdenv.mkDerivation rec { 17 + in 18 + stdenv.mkDerivation rec { 18 19 pname = "essentia-extractor"; 19 20 version = "2.1_beta2"; 20 21 21 22 src = fetchurl { 22 - url = 23 - "ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v${version}-${arch}.tar.gz"; 23 + url = "ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v${version}-${arch}.tar.gz"; 24 24 sha256 = sha; 25 25 }; 26 26
+1 -3
pkgs/tools/graphics/graphviz/base.nix
··· 2 2 3 3 { lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, cairo, expat, flex 4 4 , fontconfig, gd, gettext, gts, libdevil, libjpeg, libpng, libtool, pango 5 - , yacc, fetchpatch, xorg ? null, ApplicationServices ? null }: 6 - 7 - assert stdenv.isDarwin -> ApplicationServices != null; 5 + , yacc, fetchpatch, xorg ? null, ApplicationServices }: 8 6 9 7 let 10 8 inherit (lib) optional optionals optionalString;
+21
pkgs/tools/misc/tea/default.nix
··· 1 + { lib, buildGoModule, fetchgit }: 2 + 3 + buildGoModule rec { 4 + pname = "tea"; 5 + version = "0.7.0"; 6 + 7 + src = fetchgit { 8 + url = "https://gitea.com/gitea/tea"; 9 + rev = "v${version}"; 10 + sha256 = "sha256-Kq+A6YELfBJ04t7pPnX8Ulh4NSMFn3AHggplLD9J8MY="; 11 + }; 12 + 13 + vendorSha256 = null; 14 + 15 + meta = with lib; { 16 + description = "Gitea official CLI client"; 17 + homepage = "https://gitea.com/gitea/tea"; 18 + license = licenses.mit; 19 + maintainers = [ maintainers.j4m3s ]; 20 + }; 21 + }
+2 -2
pkgs/tools/networking/assh/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "assh"; 5 - version = "2.11.0"; 5 + version = "2.11.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 repo = "advanced-ssh-config"; 9 9 owner = "moul"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-/StB5yee9sbkebuJt6JDI+bp52NG0bBhprzmdepL+ek="; 11 + sha256 = "sha256-NH7Dmqsu7uRhKWGFHBnh5GGqsNFOijDxsc+ATt28jtY="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-6OAsO7zWAgPfQWD9k+nYH7hnDDUlKIjTB61ivvoubn0=";
+1 -2
pkgs/tools/networking/dd-agent/5.nix
··· 19 19 requests 20 20 websocket_client 21 21 ipaddress 22 - backports_ssl_match_hostname 23 22 docker_pycreds 24 23 uptime 25 - ]; 24 + ] ++ lib.optionals (self.pythonOlder "3.7") [ backports_ssl_match_hostname ]; 26 25 27 26 # due to flake8 28 27 doCheck = false;
+4 -7
pkgs/tools/networking/openvpn/default.nix
··· 3 3 , pkg-config 4 4 , makeWrapper 5 5 , runtimeShell 6 - , iproute ? null 6 + , iproute 7 7 , lzo 8 8 , openssl 9 9 , pam 10 10 , useSystemd ? stdenv.isLinux 11 - , systemd ? null 12 - , util-linux ? null 11 + , systemd 12 + , util-linux 13 13 , pkcs11Support ? false 14 - , pkcs11helper ? null 14 + , pkcs11helper 15 15 }: 16 - 17 - assert useSystemd -> (systemd != null); 18 - assert pkcs11Support -> (pkcs11helper != null); 19 16 20 17 with lib; 21 18 let
+12 -13
pkgs/tools/networking/wireguard-tools/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchzip 3 4 , nixosTests 4 - , iptables ? null 5 - , iproute ? null 6 - , makeWrapper ? null 7 - , openresolv ? null 8 - , procps ? null 9 - , wireguard-go ? null 5 + , iptables 6 + , iproute 7 + , makeWrapper 8 + , openresolv 9 + , procps 10 + , wireguard-go 10 11 }: 11 - 12 - with lib; 13 12 14 13 stdenv.mkDerivation rec { 15 14 pname = "wireguard-tools"; ··· 37 36 postFixup = '' 38 37 substituteInPlace $out/lib/systemd/system/wg-quick@.service \ 39 38 --replace /usr/bin $out/bin 40 - '' + optionalString stdenv.isLinux '' 39 + '' + lib.optionalString stdenv.isLinux '' 41 40 for f in $out/bin/*; do 42 - wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute iptables openresolv]} 41 + wrapProgram $f --prefix PATH : ${lib.makeBinPath [ procps iproute iptables openresolv ]} 43 42 done 44 - '' + optionalString stdenv.isDarwin '' 43 + '' + lib.optionalString stdenv.isDarwin '' 45 44 for f in $out/bin/*; do 46 45 wrapProgram $f --prefix PATH : ${wireguard-go}/bin 47 46 done ··· 52 51 tests = nixosTests.wireguard; 53 52 }; 54 53 55 - meta = { 54 + meta = with lib; { 56 55 description = "Tools for the WireGuard secure network tunnel"; 57 56 downloadPage = "https://git.zx2c4.com/wireguard-tools/refs/"; 58 57 homepage = "https://www.wireguard.com/";
+8 -7
pkgs/tools/security/pcsclite/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3 2 - , IOKit ? null }: 1 + { lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3, IOKit }: 3 2 4 3 stdenv.mkDerivation rec { 5 4 pname = "pcsclite"; ··· 19 18 "--enable-usbdropdir=/var/lib/pcsc/drivers" 20 19 "--enable-confdir=/etc" 21 20 ] ++ lib.optional stdenv.isLinux 22 - "--with-systemdsystemunitdir=\${out}/etc/systemd/system" 23 - ++ lib.optional (!stdenv.isLinux) 24 - "--disable-libsystemd"; 21 + "--with-systemdsystemunitdir=\${out}/etc/systemd/system" 22 + ++ lib.optional (!stdenv.isLinux) 23 + "--disable-libsystemd"; 25 24 26 25 postConfigure = '' 27 26 sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ { ··· 35 34 ''; 36 35 37 36 nativeBuildInputs = [ pkg-config perl ]; 38 - buildInputs = [ python3 ] ++ lib.optionals stdenv.isLinux [ udev dbus ] 39 - ++ lib.optionals stdenv.isDarwin [ IOKit ]; 37 + 38 + buildInputs = [ python3 ] 39 + ++ lib.optionals stdenv.isLinux [ udev dbus ] 40 + ++ lib.optionals stdenv.isDarwin [ IOKit ]; 40 41 41 42 meta = with lib; { 42 43 description = "Middleware to access a smart card using SCard API (PC/SC)";
+2 -2
pkgs/tools/security/thc-hydra/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "thc-hydra"; 6 - version = "9.1"; 6 + version = "9.2"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "vanhauser-thc"; 10 10 repo = "thc-hydra"; 11 11 rev = "v${version}"; 12 - sha256 = "1533h9z5jdlazwy0z7ll2753i507wq55by7rm9lh6y59889p0hps"; 12 + sha256 = "sha256-V9rr5fbJWm0pa+Kp8g95XvLPo/uWcDwyU2goImnIq58="; 13 13 }; 14 14 15 15 postPatch = let
+2 -2
pkgs/tools/system/inxi/default.nix
··· 22 22 ++ recommendedDisplayInformationPrograms; 23 23 in stdenv.mkDerivation rec { 24 24 pname = "inxi"; 25 - version = "3.3.02-1"; 25 + version = "3.3.03-1"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "smxi"; 29 29 repo = "inxi"; 30 30 rev = version; 31 - sha256 = "sha256-hBFOJxmHtlowe/4AnIRnUVHFYPTjnMV6bswayGcoGlA="; 31 + sha256 = "sha256-OFjhMlBR1QUYUvpuFATCWZWZp2dop30Iz8qVCIK2UN0="; 32 32 }; 33 33 34 34 nativeBuildInputs = [ makeWrapper ];
+23 -1
pkgs/top-level/all-packages.nix
··· 2633 2633 2634 2634 massren = callPackage ../tools/misc/massren { }; 2635 2635 2636 + mat2 = with python3.pkgs; toPythonApplication mat2; 2637 + 2636 2638 maxcso = callPackage ../tools/archivers/maxcso {}; 2637 2639 2638 2640 medusa = callPackage ../tools/security/medusa { }; ··· 3543 3545 3544 3546 cudnn = cudnn_cudatoolkit_10; 3545 3547 3548 + cutensorPackages = callPackages ../development/libraries/science/math/cutensor { }; 3549 + inherit (cutensorPackages) 3550 + cutensor_cudatoolkit_10 3551 + cutensor_cudatoolkit_10_1 3552 + cutensor_cudatoolkit_10_2 3553 + cutensor_cudatoolkit_11 3554 + cutensor_cudatoolkit_11_0 3555 + cutensor_cudatoolkit_11_1 3556 + cutensor_cudatoolkit_11_2; 3557 + 3558 + cutensor = cutensor_cudatoolkit_10; 3559 + 3546 3560 curlFull = curl.override { 3547 3561 ldapSupport = true; 3548 3562 }; ··· 7742 7756 gperf = gperf_3_0; 7743 7757 }; 7744 7758 7759 + rpm2targz = callPackage ../tools/archivers/rpm2targz { }; 7760 + 7745 7761 rpmextract = callPackage ../tools/archivers/rpmextract { }; 7746 7762 7747 7763 rrdtool = callPackage ../tools/misc/rrdtool { }; ··· 8407 8423 }; 8408 8424 8409 8425 tdns-cli = callPackage ../tools/networking/tdns-cli { }; 8426 + 8427 + tea = callPackage ../tools/misc/tea { }; 8410 8428 8411 8429 ted = callPackage ../tools/typesetting/ted { }; 8412 8430 ··· 12426 12444 ffuf = callPackage ../tools/security/ffuf { }; 12427 12445 12428 12446 flow = callPackage ../development/tools/analysis/flow { 12429 - ocamlPackages = ocaml-ng.ocamlPackages_4_07; 12447 + ocamlPackages = ocaml-ng.ocamlPackages_4_09; 12430 12448 inherit (darwin.apple_sdk.frameworks) CoreServices; 12431 12449 }; 12432 12450 ··· 15696 15714 libschrift = callPackage ../development/libraries/libschrift { }; 15697 15715 15698 15716 libsearpc = callPackage ../development/libraries/libsearpc { }; 15717 + 15718 + libseat = callPackage ../development/libraries/libseat { }; 15699 15719 15700 15720 libsigcxx = callPackage ../development/libraries/libsigcxx { }; 15701 15721 ··· 23896 23916 merkaartor = libsForQt5.callPackage ../applications/misc/merkaartor { }; 23897 23917 23898 23918 meshlab = libsForQt5.callPackage ../applications/graphics/meshlab { }; 23919 + 23920 + metadata-cleaner = callPackage ../applications/misc/metadata-cleaner { }; 23899 23921 23900 23922 metersLv2 = callPackage ../applications/audio/meters_lv2 { }; 23901 23923
+5 -4
pkgs/top-level/perl-packages.nix
··· 9143 9143 }; 9144 9144 buildInputs = [ pkgs.gtk3 ]; 9145 9145 propagatedBuildInputs = [ Readonly Gtk3 ]; 9146 - # Tests are broken with PerlMagick and imagemagick version 7 as of 2021-02-22. 9147 - # See https://github.com/carygravel/gtk3-imageview/issues/19 and 9148 - # https://github.com/NixOS/nixpkgs/pull/114007#issuecomment-783595659. 9149 - doCheck = false; 9150 9146 checkInputs = [ TestDifferences PerlMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ]; 9151 9147 checkPhase = '' 9152 9148 ${pkgs.xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' \ ··· 16756 16752 preConfigure = 16757 16753 '' 16758 16754 sed -i -e 's|my \$INC_magick = .*|my $INC_magick = "-I${pkgs.imagemagick.dev}/include/ImageMagick";|' Makefile.PL 16755 + 16756 + # Enable HDRI support to match the native ImageMagick 7 defaults 16757 + # See: https://github.com/ImageMagick/ImageMagick/issues/3402#issuecomment-801195538 16758 + substituteInPlace Makefile.PL \ 16759 + --replace 'MAGICKCORE_HDRI_ENABLE=0' 'MAGICKCORE_HDRI_ENABLE=1' 16759 16760 ''; 16760 16761 }; 16761 16762
+5
pkgs/top-level/python-packages.nix
··· 1603 1603 cudatoolkit = pkgs.cudatoolkit_10_0; 1604 1604 cudnn = pkgs.cudnn_cudatoolkit_10_0; 1605 1605 nccl = pkgs.nccl_cudatoolkit_10; 1606 + cutensor = pkgs.cutensor_cudatoolkit_10; 1606 1607 }; 1607 1608 1608 1609 curio = callPackage ../development/python-modules/curio { }; ··· 4125 4126 marshmallow-sqlalchemy = callPackage ../development/python-modules/marshmallow-sqlalchemy { }; 4126 4127 4127 4128 mask-rcnn = callPackage ../development/python-modules/mask-rcnn { }; 4129 + 4130 + mat2 = callPackage ../development/python-modules/mat2 { }; 4128 4131 4129 4132 matchpy = callPackage ../development/python-modules/matchpy { }; 4130 4133 ··· 8983 8986 }; 8984 8987 8985 8988 yt = callPackage ../development/python-modules/yt { }; 8989 + 8990 + ytmusicapi = callPackage ../development/python-modules/ytmusicapi { }; 8986 8991 8987 8992 yubico-client = callPackage ../development/python-modules/yubico-client { }; 8988 8993