lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
ee1a7ec4 7d6630d7

+291 -33
+6
doc/Makefile
··· 39 39 mkdir -p out/html/highlightjs/ 40 40 cp -r highlightjs out/html/ 41 41 42 + cp -r media out/html/ 42 43 cp ./overrides.css out/html/ 43 44 cp ./style.css out/html/style.css 44 45 ··· 53 54 doc-support/result/epub.xsl \ 54 55 ./manual-full.xml 55 56 57 + cp -r media out/epub/scratch/OEBPS 56 58 cp ./overrides.css out/epub/scratch/OEBPS 57 59 cp ./style.css out/epub/scratch/OEBPS 58 60 mkdir -p out/epub/scratch/OEBPS/images/callouts/ ··· 88 90 89 91 %.section.xml: %.section.md 90 92 pandoc $^ -t docbook \ 93 + --extract-media=media \ 94 + --lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \ 91 95 -f markdown+smart \ 92 96 | cat > $@ 93 97 94 98 %.chapter.xml: %.chapter.md 95 99 pandoc $^ -t docbook \ 96 100 --top-level-division=chapter \ 101 + --extract-media=media \ 102 + --lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \ 97 103 -f markdown+smart \ 98 104 | cat > $@
+19
doc/contributing/submitting-changes.chapter.md
··· 159 159 - Hydra builds for master and staging should not be used as testing platform, it’s a build farm for changes that have been already tested. 160 160 - When changing the bootloader installation process, extra care must be taken. Grub installations cannot be rolled back, hence changes may break people’s installations forever. For any non-trivial change to the bootloader please file a PR asking for review, especially from \@edolstra. 161 161 162 + ```{.graphviz caption="Staging workflow"} 163 + digraph { 164 + "small changes" [shape=none] 165 + "mass-rebuilds and other large changes" [shape=none] 166 + "critical security fixes" [shape=none] 167 + "broken staging-next fixes" [shape=none] 168 + 169 + "small changes" -> master 170 + "mass-rebuilds and other large changes" -> staging 171 + "critical security fixes" -> master 172 + "broken staging-next fixes" -> "staging-next" 173 + 174 + "staging-next" -> master [color="#E85EB0"] [label="stabilization ends"] [fontcolor="#E85EB0"] 175 + "staging" -> "staging-next" [color="#E85EB0"] [label="stabilization starts"] [fontcolor="#E85EB0"] 176 + 177 + master -> "staging-next" -> staging [color="#5F5EE8"] [label="every six hours/any time"] [fontcolor="#5F5EE8"] 178 + } 179 + ``` 180 + 162 181 ### Master branch {#submitting-changes-master-branch} 163 182 164 183 The `master` branch is the main development branch. It should only see non-breaking commits that do not cause mass rebuilds.
+13 -1
doc/default.nix
··· 5 5 in pkgs.stdenv.mkDerivation { 6 6 name = "nixpkgs-manual"; 7 7 8 - buildInputs = with pkgs; [ pandoc libxml2 libxslt zip jing xmlformat ]; 8 + nativeBuildInputs = with pkgs; [ 9 + pandoc 10 + graphviz 11 + libxml2 12 + libxslt 13 + zip 14 + jing 15 + xmlformat 16 + ]; 9 17 10 18 src = ./.; 19 + 20 + makeFlags = [ 21 + "PANDOC_LUA_FILTERS_DIR=${pkgs.pandoc-lua-filters}/share/pandoc/filters" 22 + ]; 11 23 12 24 postPatch = '' 13 25 ln -s ${doc-support} ./doc-support/result
+6
maintainers/maintainer-list.nix
··· 384 384 githubId = 2822871; 385 385 name = "Alistair Bill"; 386 386 }; 387 + alirezameskin = { 388 + email = "alireza.meskin@gmail.com"; 389 + github = "alirezameskin"; 390 + githubId = 36147; 391 + name = "Alireza Meskin"; 392 + }; 387 393 alkeryn = { 388 394 email = "plbraundev@gmail.com"; 389 395 github = "Alkeryn";
-6
nixos/tests/podman.nix
··· 61 61 podman.succeed("podman stop sleeping") 62 62 podman.succeed("podman rm sleeping") 63 63 64 - 65 - podman.succeed( 66 - "mkdir -p /tmp/podman-run-1000/libpod && chown alice -R /tmp/podman-run-1000" 67 - ) 68 - 69 - 70 64 with subtest("Run container rootless with crun"): 71 65 podman.succeed(su_cmd("tar cv --files-from /dev/null | podman import - scratchimg")) 72 66 podman.succeed(
+5 -5
pkgs/applications/editors/standardnotes/default.nix
··· 2 2 , fetchurl, runtimeShell }: 3 3 4 4 let 5 - version = "3.3.3"; 5 + version = "3.5.11"; 6 6 pname = "standardnotes"; 7 7 name = "${pname}-${version}"; 8 8 9 9 plat = { 10 10 i386-linux = "-i386"; 11 - x86_64-linux = ""; 11 + x86_64-linux = "x86_64"; 12 12 }.${stdenv.hostPlatform.system}; 13 13 14 14 sha256 = { 15 - i386-linux = "2ccdf23588b09d645811e562d4fd7e02ac0e367bf2b34e373d8470d48544036d"; 16 - x86_64-linux = "6366d0a37cbf2cf51008a666e40bada763dd1539173de01e093bcbe4146a6bd8"; 15 + i386-linux = "009fnnd7ysxkyykkbmhvr0vn13b21j1j5mzwdvqdkhm9v3c9rbgj"; 16 + x86_64-linux = "1fij00d03ky57jlnhf9n2iqvfa4dgmkgawrxd773gg03hdsk7xcf"; 17 17 }.${stdenv.hostPlatform.system}; 18 18 19 19 src = fetchurl { 20 - url = "https://github.com/standardnotes/desktop/releases/download/v${version}/standard-notes-${version}${plat}.AppImage"; 20 + url = "https://github.com/standardnotes/desktop/releases/download/v${version}/standard-notes-${version}-linux-${plat}.AppImage"; 21 21 inherit sha256; 22 22 }; 23 23
+2 -2
pkgs/applications/graphics/ImageMagick/7.0.nix
··· 14 14 else throw "ImageMagick is not supported on this platform."; 15 15 16 16 cfg = { 17 - version = "7.0.10-35"; 18 - sha256 = "0hcqvn3n3ip2fia48d1nb1m4r5ir00vbaa62xqni30kglh3n2sfh"; 17 + version = "7.0.10-46"; 18 + sha256 = "019l1qv8ds8hvyjwi1g21293a7v28bxf8ycnvr9828kpdhf4jxaa"; 19 19 patches = []; 20 20 }; 21 21 in
+25
pkgs/applications/misc/zktree/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "zktree"; 8 + version = "0.0.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "alirezameskin"; 12 + repo = "zktree"; 13 + rev = version; 14 + sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9"; 15 + }; 16 + 17 + cargoSha256 = "1d35jrxvhf7m04s1kh0yrfhy9j9i6qzwbw2mwapgsrcsr5vhxasn"; 18 + 19 + meta = with lib; { 20 + description = "A small tool to display Znodes in Zookeeper in tree structure."; 21 + homepage = "https://github.com/alirezameskin/zktree"; 22 + license = licenses.unlicense; 23 + maintainers = with lib.maintainers; [ alirezameskin ]; 24 + }; 25 + }
+2 -2
pkgs/applications/virtualization/podman/default.nix
··· 16 16 17 17 buildGoModule rec { 18 18 pname = "podman"; 19 - version = "2.2.0"; 19 + version = "2.2.1"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "containers"; 23 23 repo = "podman"; 24 24 rev = "v${version}"; 25 - sha256 = "13na6ms0dapcmfb4pg8z3sds9nprr1lyyjs0v2izqifcyb1r1c00"; 25 + sha256 = "166ch73pqx76ppfkhfg3zqxr71jf5pk5asl5bb5rwhyzf7f057q5"; 26 26 }; 27 27 28 28 vendorSha256 = null;
+2 -2
pkgs/desktops/gnome-3/core/gnome-shell/default.nix
··· 65 65 in 66 66 stdenv.mkDerivation rec { 67 67 pname = "gnome-shell"; 68 - version = "3.38.1"; 68 + version = "3.38.2"; 69 69 70 70 outputs = [ "out" "devdoc" ]; 71 71 72 72 src = fetchurl { 73 73 url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 74 - sha256 = "1d0br74gxwnqbh102yjkszkc6fc4yd6p5lcs6bxcpi33chly72dp"; 74 + sha256 = "05fm7kxyvws2lbb156wfa2wf4xmkxr49rrjxg0yaxf68v000yq2k"; 75 75 }; 76 76 77 77 patches = [
+2 -2
pkgs/desktops/gnome-3/games/gnome-chess/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-chess"; 6 - version = "3.38.0"; 6 + version = "3.38.1"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-chess/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "10y248xdjx9b0izxii9fjyvkra65jxfx66ivwznmn0cadda9gdqg"; 10 + sha256 = "1bpmi5p5vvjdq2rlm5x9k4gpci8jbrjvdxr1q62h5znzq0vz0w0l"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ meson ninja vala pkgconfig gettext itstool libxml2 python3 wrapGAppsHook gobject-introspection ];
+5 -1
pkgs/development/libraries/rapidcheck/default.nix
··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 16 + # Install the extras headers 16 17 postInstall = '' 17 - cp ../extras/boost_test/include/rapidcheck/boost_test.h $out/include/rapidcheck 18 + cp -r $src/extras $out 19 + chmod -R +w $out/extras 20 + rm $out/extras/CMakeLists.txt 21 + rm $out/extras/**/CMakeLists.txt 18 22 ''; 19 23 20 24 meta = with stdenv.lib; {
+2 -2
pkgs/development/python-modules/azure-mgmt-cdn/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "azure-mgmt-cdn"; 13 - version = "5.1.0"; 13 + version = "5.2.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 17 extension = "zip"; 18 - sha256 = "5af79f80e6c5f4766bcb5b8c62273445fb2beaeae85c5b9d2ab9aa369d60ede3"; 18 + sha256 = "3e470ba07918a4f97dadb6f50c6f64068da423b735fad38d31d9535c56f06881"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+6 -3
pkgs/development/python-modules/jupytext/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, isPy27 2 - , mock 2 + , markdown-it-py 3 3 , nbformat 4 4 , pytest 5 5 , pyyaml ··· 10 10 pname = "jupytext"; 11 11 version = "1.7.1"; 12 12 13 + disabled = isPy27; 14 + 13 15 src = fetchPypi { 14 16 inherit pname version; 15 17 sha256 = "23123b90c267c67716fe6a022dfae49b84fd3809370d83211f2920eb3106bf40"; 16 18 }; 17 19 18 20 propagatedBuildInputs = [ 19 - pyyaml 21 + markdown-it-py 20 22 nbformat 23 + pyyaml 21 24 toml 22 - ] ++ lib.optionals isPy27 [ mock ]; # why they put it in install_requires, who knows 25 + ]; 23 26 24 27 checkInputs = [ 25 28 pytest
+47
pkgs/development/python-modules/markdown-it-py/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder 2 + , attrs 3 + , coverage 4 + , psutil 5 + , pytest-benchmark 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "markdown-it-py"; 10 + version = "0.5.6"; 11 + 12 + disabled = pythonOlder "3.7"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "executablebooks"; 16 + repo = "markdown-it-py"; 17 + rev = "v${version}"; 18 + sha256 = "1m9g8xvd7jiz80x9hl8bw9x0ppndqq5nlcn5y8bjxnfj5s31vpbi"; 19 + }; 20 + 21 + propagatedBuildInputs = [ attrs ]; 22 + 23 + checkInputs = [ 24 + coverage 25 + pytest-benchmark 26 + psutil 27 + pytestCheckHook 28 + ]; 29 + 30 + disabledTests = [ 31 + # Requires the unpackaged pytest-regressions fixture plugin 32 + "test_amsmath" 33 + "test_container" 34 + "test_deflist" 35 + "test_dollarmath" 36 + "test_spec" 37 + "test_texmath" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Markdown parser done right"; 42 + homepage = "https://markdown-it-py.readthedocs.io/en/latest"; 43 + changelog = "https://github.com/executablebooks/markdown-it-py/blob/${src.rev}/CHANGELOG.md"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ bhipple ]; 46 + }; 47 + }
+25
pkgs/development/tools/krew/default.nix
··· 1 + { stdenv, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "krew"; 5 + version = "0.4.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "kubernetes-sigs"; 9 + repo = "krew"; 10 + rev = "v${version}"; 11 + sha256 = "1fcbpipnbms096c36b2z06ysfwyjj22lm1zd1r5xlv5gp24qimlv"; 12 + }; 13 + 14 + vendorSha256 = "1bmsjv5snrabd9h9szkpcl15rwxm54jgm361ghhy234d2s45c3gn"; 15 + 16 + subPackages = [ "cmd/krew" ]; 17 + 18 + meta = with stdenv.lib; { 19 + description = "Package manager for kubectl plugins"; 20 + homepage = "https://github.com/kubernetes-sigs/krew"; 21 + maintainers = with maintainers; [ vdemeester ]; 22 + license = stdenv.lib.licenses.asl20; 23 + platforms = platforms.unix; 24 + }; 25 + }
+59
pkgs/misc/vscode-extensions/default.nix
··· 12 12 # 13 13 baseExtensions = self: stdenv.lib.mapAttrs (_n: stdenv.lib.recurseIntoAttrs) 14 14 { 15 + a5huynh.vscode-ron = buildVscodeMarketplaceExtension { 16 + mktplcRef = { 17 + name = "vscode-ron"; 18 + publisher = "a5huynh"; 19 + version = "0.9.0"; 20 + sha256 = "0d3p50mhqp550fmj662d3xklj14gvzvhszm2hlqvx4h28v222z97"; 21 + }; 22 + meta = { 23 + license = stdenv.lib.licenses.mit; 24 + }; 25 + }; 15 26 16 27 alanz.vscode-hie-server = buildVscodeMarketplaceExtension { 17 28 mktplcRef = { ··· 144 155 }; 145 156 }; 146 157 158 + mskelton.one-dark-theme = buildVscodeMarketplaceExtension { 159 + mktplcRef = { 160 + name = "one-dark-theme"; 161 + publisher = "mskelton"; 162 + version = "1.7.2"; 163 + sha256 = "1ks6z8wsxmlfhiwa51f7d6digvw11dlxc7mja3hankgxcf5dyj31"; 164 + }; 165 + meta = { 166 + license = stdenv.lib.licenses.mit; 167 + }; 168 + }; 169 + 147 170 ms-azuretools.vscode-docker = buildVscodeMarketplaceExtension { 148 171 mktplcRef = { 149 172 name = "vscode-docker"; ··· 190 213 191 214 matklad.rust-analyzer = callPackage ./rust-analyzer {}; 192 215 216 + pkief.material-icon-theme = buildVscodeMarketplaceExtension { 217 + mktplcRef = { 218 + name = "material-icon-theme"; 219 + publisher = "pkief"; 220 + version = "4.4.0"; 221 + sha256 = "1m9mis59j9xnf1zvh67p5rhayaa9qxjiw9iw847nyl9vsy73w8ya"; 222 + }; 223 + meta = { 224 + license = stdenv.lib.licenses.mit; 225 + }; 226 + }; 227 + 193 228 scala-lang.scala = buildVscodeMarketplaceExtension { 194 229 mktplcRef = { 195 230 name = "scala"; ··· 214 249 }; 215 250 }; 216 251 252 + serayuzgur.crates = buildVscodeMarketplaceExtension { 253 + mktplcRef = { 254 + name = "crates"; 255 + publisher = "serayuzgur"; 256 + version = "0.5.3"; 257 + sha256 = "1xk7ayv590hsm3scqpyh6962kvgdlinnpkx0vapr7vs4y08dx72f"; 258 + }; 259 + meta = { 260 + license = stdenv.lib.licenses.mit; 261 + }; 262 + }; 263 + 217 264 skyapps.fish-vscode = buildVscodeMarketplaceExtension { 218 265 mktplcRef = { 219 266 name = "fish-vscode"; ··· 223 270 }; 224 271 meta = with stdenv.lib; { 225 272 license = licenses.mit; 273 + }; 274 + }; 275 + 276 + tamasfe.even-better-toml = buildVscodeMarketplaceExtension { 277 + mktplcRef = { 278 + name = "even-better-toml"; 279 + publisher = "tamasfe"; 280 + version = "0.9.3"; 281 + sha256 = "16x2y58hkankazpwm93j8lqdn3mala7iayck548kki9zx4qrhhck"; 282 + }; 283 + meta = { 284 + license = stdenv.lib.licenses.mit; 226 285 }; 227 286 }; 228 287
+18 -3
pkgs/tools/admin/mycli/default.nix
··· 1 1 { lib 2 2 , python3 3 3 , glibcLocales 4 + , fetchpatch 4 5 }: 5 6 6 7 with python3.pkgs; ··· 28 29 --ignore=mycli/packages/paramiko_stub/__init__.py 29 30 ''; 30 31 31 - meta = { 32 + patches = [ 33 + # TODO: remove with next release (v1.22.3 or v1.23) 34 + (fetchpatch { 35 + url = "https://github.com/dbcli/mycli/commit/17f093d7b70ab2d9f3c6eababa041bf76f029aac.patch"; 36 + sha256 = "sha256-VwfbtzUtElV+ErH+NJb+3pRtSaF0yVK8gEWCvlzZNHI="; 37 + excludes = [ "changelog.md" "mycli/AUTHORS" ]; 38 + }) 39 + ]; 40 + 41 + postPatch = '' 42 + substituteInPlace setup.py \ 43 + --replace "sqlparse>=0.3.0,<0.4.0" "sqlparse" 44 + ''; 45 + 46 + meta = with lib; { 32 47 inherit version; 33 48 description = "Command-line interface for MySQL"; 34 49 longDescription = '' ··· 36 51 syntax highlighting. 37 52 ''; 38 53 homepage = "http://mycli.net"; 39 - license = lib.licenses.bsd3; 40 - maintainers = [ lib.maintainers.jojosch ]; 54 + license = licenses.bsd3; 55 + maintainers = with maintainers; [ jojosch ]; 41 56 }; 42 57 }
+33
pkgs/tools/misc/pandoc-lua-filters/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "pandoc-lua-filters"; 7 + version = "2020-11-30"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "pandoc"; 11 + repo = "lua-filters"; 12 + rev = "v${version}"; 13 + sha256 = "HWBlmlIuJOSgRVrUmXOAI4XTxs1PbZhcwZgZFX0x2wM="; 14 + }; 15 + 16 + dontBuild = true; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + install -Dt $out/share/pandoc/filters **/*.lua 22 + 23 + runHook postInstall 24 + ''; 25 + 26 + meta = with stdenv.lib; { 27 + description = "A collection of lua filters for pandoc"; 28 + homepage = "https://github.com/pandoc/lua-filters"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ jtojnar ]; 31 + platforms = platforms.all; 32 + }; 33 + }
+1
pkgs/tools/package-management/apk-tools/default.nix
··· 32 32 maintainers = with maintainers; [ qyliss ]; 33 33 license = licenses.gpl2; 34 34 platforms = platforms.unix; 35 + broken = stdenv.isDarwin; 35 36 }; 36 37 }
+2 -2
pkgs/tools/virtualization/alpine-make-vm-image/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "alpine-make-vm-image"; 8 - version = "0.6.0"; 8 + version = "0.7.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "alpinelinux"; 12 12 repo = "alpine-make-vm-image"; 13 13 rev = "v${version}"; 14 - sha256 = "0955kd2ddqfynjwk2xfzys96l7abxp30hhrs2968hl78rhmkvpnq"; 14 + sha256 = "0cjcwq957nsml06kdnnvgzki84agjfvqw3mpyiix4i4q5by91lcl"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/tools/virtualization/nixos-shell/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "nixos-shell"; 5 - version = "0.1.1"; 5 + version = "0.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Mic92"; 9 9 repo = "nixos-shell"; 10 10 rev = version; 11 - sha256 = "1qk5a01vh6wbbkib8xr57w1j4l3n6xdjd46nsw9bsa444fzlc0wr"; 11 + sha256 = "sha256-C0K20X0P4SYQV+xtQAUcEiX32kr3IF1RoYdkJ4R3aRM="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+7
pkgs/top-level/all-packages.nix
··· 6380 6380 6381 6381 pandoc = callPackage ../development/tools/pandoc { }; 6382 6382 6383 + pandoc-lua-filters = callPackage ../tools/misc/pandoc-lua-filters { }; 6384 + 6383 6385 pamtester = callPackage ../tools/security/pamtester { }; 6384 6386 6385 6387 paperless = callPackage ../applications/office/paperless { }; ··· 11654 11656 kind = callPackage ../development/tools/kind { }; 11655 11657 11656 11658 khronos-ocl-icd-loader = callPackage ../development/libraries/khronos-ocl-icd-loader { }; 11659 + 11660 + 11661 + krew = callPackage ../development/tools/krew { }; 11657 11662 11658 11663 kube-aws = callPackage ../development/tools/kube-aws { }; 11659 11664 ··· 28870 28875 psftools = callPackage ../os-specific/linux/psftools {}; 28871 28876 28872 28877 lc3tools = callPackage ../development/tools/lc3tools {}; 28878 + 28879 + zktree = callPackage ../applications/misc/zktree {}; 28873 28880 }
+2
pkgs/top-level/python-packages.nix
··· 3703 3703 else 3704 3704 callPackage ../development/python-modules/markdown/3_1.nix { }; 3705 3705 3706 + markdown-it-py = callPackage ../development/python-modules/markdown-it-py { }; 3707 + 3706 3708 markdown-macros = callPackage ../development/python-modules/markdown-macros { }; 3707 3709 3708 3710 markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript { };