Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
cf9f1108 c5a9ac94

+139 -72
+17 -17
nixos/modules/installer/tools/nixos-install.sh
··· 143 144 sub="auto?trusted=1" 145 146 # Build the system configuration in the target filesystem. 147 if [[ -z $system ]]; then 148 outLink="$tmpdir/system" ··· 166 nix-env --store "$mountPoint" "${extraBuildFlags[@]}" \ 167 --extra-substituters "$sub" \ 168 -p "$mountPoint"/nix/var/nix/profiles/system --set "$system" "${verbosity[@]}" 169 - 170 - # Copy the NixOS/Nixpkgs sources to the target as the initial contents 171 - # of the NixOS channel. 172 - if [[ -z $noChannelCopy ]]; then 173 - if [[ -z $channelPath ]]; then 174 - channelPath="$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q nixos --no-name --out-path 2>/dev/null || echo -n "")" 175 - fi 176 - if [[ -n $channelPath ]]; then 177 - echo "copying channel..." 178 - mkdir -p "$mountPoint"/nix/var/nix/profiles/per-user/root 179 - nix-env --store "$mountPoint" "${extraBuildFlags[@]}" --extra-substituters "$sub" \ 180 - -p "$mountPoint"/nix/var/nix/profiles/per-user/root/channels --set "$channelPath" --quiet \ 181 - "${verbosity[@]}" 182 - install -m 0700 -d "$mountPoint"/root/.nix-defexpr 183 - ln -sfn /nix/var/nix/profiles/per-user/root/channels "$mountPoint"/root/.nix-defexpr/channels 184 - fi 185 - fi 186 187 # Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out. 188 mkdir -m 0755 -p "$mountPoint/etc"
··· 143 144 sub="auto?trusted=1" 145 146 + # Copy the NixOS/Nixpkgs sources to the target as the initial contents 147 + # of the NixOS channel. 148 + if [[ -z $noChannelCopy ]]; then 149 + if [[ -z $channelPath ]]; then 150 + channelPath="$(nix-env -p /nix/var/nix/profiles/per-user/root/channels -q nixos --no-name --out-path 2>/dev/null || echo -n "")" 151 + fi 152 + if [[ -n $channelPath ]]; then 153 + echo "copying channel..." 154 + mkdir -p "$mountPoint"/nix/var/nix/profiles/per-user/root 155 + nix-env --store "$mountPoint" "${extraBuildFlags[@]}" --extra-substituters "$sub" \ 156 + -p "$mountPoint"/nix/var/nix/profiles/per-user/root/channels --set "$channelPath" --quiet \ 157 + "${verbosity[@]}" 158 + install -m 0700 -d "$mountPoint"/root/.nix-defexpr 159 + ln -sfn /nix/var/nix/profiles/per-user/root/channels "$mountPoint"/root/.nix-defexpr/channels 160 + fi 161 + fi 162 + 163 # Build the system configuration in the target filesystem. 164 if [[ -z $system ]]; then 165 outLink="$tmpdir/system" ··· 183 nix-env --store "$mountPoint" "${extraBuildFlags[@]}" \ 184 --extra-substituters "$sub" \ 185 -p "$mountPoint"/nix/var/nix/profiles/system --set "$system" "${verbosity[@]}" 186 187 # Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out. 188 mkdir -m 0755 -p "$mountPoint/etc"
+29
pkgs/applications/editors/em/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "em"; 8 + version = "1.0.0"; 9 + 10 + src = fetchurl { 11 + url = "http://pgas.freeshell.org/C/em/${pname}-${version}.tar.gz"; 12 + hash = "sha256-ijMBkl7U1f9MTXgli9kUFB8ttMG6TMQnxfDMP9AblTQ="; 13 + }; 14 + 15 + meta = with lib; { 16 + homepage = "http://pgas.freeshell.org/C/em/"; 17 + description = "Editor for Mortals"; 18 + longDescription = '' 19 + Em is a QMC variant of the standard Unix text editor - ed. It includes all 20 + of ed, so the documentation for ed is fully applicable to em. Em also has 21 + a number of new commands and facilities designed to improve its 22 + interaction and increase its usefulness to users at fast vdu terminals 23 + (such as the ITT's at QMC). 24 + ''; 25 + license = licenses.publicDomain; 26 + maintainers = with maintainers; [ AndersonTorres ]; 27 + platforms = platforms.unix; 28 + }; 29 + }
+2 -11
pkgs/applications/misc/copyq/default.nix
··· 17 18 mkDerivation rec { 19 pname = "CopyQ"; 20 - version = "4.1.0"; 21 22 src = fetchFromGitHub { 23 owner = "hluk"; 24 repo = "CopyQ"; 25 rev = "v${version}"; 26 - sha256 = "1iacnd9dn0mrajff80r2g5nlks5sch9lmpl633mnyqmih9dwx2li"; 27 }; 28 29 nativeBuildInputs = [ ··· 40 knotifications 41 qtwayland 42 wayland 43 - ]; 44 - 45 - patches = [ 46 - # Install the bash completion script correctly 47 - # Remove once 4.1.1 is released 48 - (fetchpatch { 49 - url = "https://github.com/hluk/CopyQ/commit/aca7222ec28589af0b08f63686104b992d63ee42.patch"; 50 - sha256 = "0d440d0zsdzm9cd0b6c42y9qbrvxg7gdam0qmif62mr8qa0ylidl"; 51 - }) 52 ]; 53 54 postPatch = ''
··· 17 18 mkDerivation rec { 19 pname = "CopyQ"; 20 + version = "6.0.1"; 21 22 src = fetchFromGitHub { 23 owner = "hluk"; 24 repo = "CopyQ"; 25 rev = "v${version}"; 26 + sha256 = "sha256-edrRgnjbszqJLbGLE4anCJSGApymvK0O+2ks5jWe8aw="; 27 }; 28 29 nativeBuildInputs = [ ··· 40 knotifications 41 qtwayland 42 wayland 43 ]; 44 45 postPatch = ''
+38 -3
pkgs/applications/version-management/mercurial/default.nix
··· 6 , guiSupport ? fullBuild, tk 7 , highlightSupport ? fullBuild 8 , ApplicationServices 9 }: 10 11 let ··· 13 14 self = python3Packages.buildPythonApplication rec { 15 pname = "mercurial"; 16 - version = "5.9.3"; 17 18 src = fetchurl { 19 url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz"; 20 - sha256 = "sha256-O0P2iXetD6dap/HlyPCoO6k1YhqyOWEpq7SY5W0b4I4="; 21 }; 22 23 format = "other"; ··· 27 cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball { 28 inherit src; 29 name = "${pname}-${version}"; 30 - sha256 = "sha256:1d911jaawdrcv2mdhlp2ylr10791zj7dhb69aiw5yy7vn7gry82n"; 31 sourceRoot = "${pname}-${version}/rust"; 32 } else null; 33 cargoRoot = if rustSupport then "rust" else null; 34 35 propagatedBuildInputs = lib.optional re2Support fb-re2 36 ++ lib.optional gitSupport pygit2 ··· 46 47 makeFlags = [ "PREFIX=$(out)" ] 48 ++ lib.optional rustSupport "PURE=--rust"; 49 50 postInstall = (lib.optionalString guiSupport '' 51 mkdir -p $out/etc/mercurial
··· 6 , guiSupport ? fullBuild, tk 7 , highlightSupport ? fullBuild 8 , ApplicationServices 9 + # test dependencies 10 + , unzip 11 + , which 12 + , sqlite 13 + , git 14 + , gnupg 15 }: 16 17 let ··· 19 20 self = python3Packages.buildPythonApplication rec { 21 pname = "mercurial"; 22 + version = "6.0.1"; 23 24 src = fetchurl { 25 url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz"; 26 + sha256 = "sha256-Bf0LSAOJyWVH9abHaekO4A8dE/esDUZeQKOBxs86VuI="; 27 }; 28 29 format = "other"; ··· 33 cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball { 34 inherit src; 35 name = "${pname}-${version}"; 36 + sha256 = "sha256-leyLb6RqntiuEhmJSUkZRUuO8ah0BZI5OhKkGbWRjxs="; 37 sourceRoot = "${pname}-${version}/rust"; 38 } else null; 39 cargoRoot = if rustSupport then "rust" else null; 40 + 41 + postPatch = '' 42 + patchShebangs . 43 + 44 + for f in **/*.{py,c,t}; do 45 + # not only used in shebangs 46 + substituteAllInPlace "$f" '/bin/sh' '${stdenv.shell}' 47 + done 48 + ''; 49 50 propagatedBuildInputs = lib.optional re2Support fb-re2 51 ++ lib.optional gitSupport pygit2 ··· 61 62 makeFlags = [ "PREFIX=$(out)" ] 63 ++ lib.optional rustSupport "PURE=--rust"; 64 + 65 + doCheck = stdenv.isLinux; # tests seem unstable on Darwin 66 + checkInputs = [ 67 + unzip 68 + which 69 + sqlite 70 + git 71 + gnupg 72 + ]; 73 + checkPhase = '' 74 + cat << EOF > tests/blacklists/nix 75 + # tests enforcing "/usr/bin/env" shebangs, which are patched for nix 76 + test-run-tests.t 77 + test-check-shbang.t 78 + EOF 79 + 80 + # extended timeout necessary for tests to pass on the busy CI workers 81 + export HGTESTFLAGS="--blacklist blacklists/nix --timeout 600" 82 + make check 83 + ''; 84 85 postInstall = (lib.optionalString guiSupport '' 86 mkdir -p $out/etc/mercurial
+2 -2
pkgs/desktops/enlightenment/efl/default.nix
··· 56 57 stdenv.mkDerivation rec { 58 pname = "efl"; 59 - version = "1.26.0"; 60 61 src = fetchurl { 62 url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz"; 63 - sha256 = "0k10mwpdjn57r2kflbzpybhvwl25yqqa2i2fhx0qazyjbzjbrad4"; 64 }; 65 66 nativeBuildInputs = [
··· 56 57 stdenv.mkDerivation rec { 58 pname = "efl"; 59 + version = "1.26.1"; 60 61 src = fetchurl { 62 url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz"; 63 + sha256 = "0hm6i1f2g4mwj726rc6na38xhys1plbv9swrlc9hrpa87mz6gac6"; 64 }; 65 66 nativeBuildInputs = [
+3 -9
pkgs/desktops/enlightenment/terminology/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, python3, efl, pcre, mesa }: 2 3 stdenv.mkDerivation rec { 4 pname = "terminology"; 5 - version = "1.11.0"; 6 7 src = fetchurl { 8 url = "https://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; 9 - sha256 = "0bbav27p1xni7kidgf3vn42bwsfrzds301k3f7c8dg7v5yyq9n2g"; 10 }; 11 12 nativeBuildInputs = [ ··· 18 19 buildInputs = [ 20 efl 21 - pcre 22 - mesa 23 - ]; 24 - 25 - mesonFlags = [ 26 - "-D edje-cc=${efl}/bin/edje_cc" 27 ]; 28 29 postPatch = ''
··· 1 + { lib, stdenv, fetchurl, meson, ninja, pkg-config, python3, efl }: 2 3 stdenv.mkDerivation rec { 4 pname = "terminology"; 5 + version = "1.12.1"; 6 7 src = fetchurl { 8 url = "https://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; 9 + sha256 = "1aasddf2343qj798b5s8qwif3lxj4pyjax6fa9sfi6if9icdkkpq"; 10 }; 11 12 nativeBuildInputs = [ ··· 18 19 buildInputs = [ 20 efl 21 ]; 22 23 postPatch = ''
+2 -2
pkgs/development/libraries/wolfssl/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "wolfssl"; 9 - version = "5.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "wolfSSL"; 13 repo = "wolfssl"; 14 rev = "v${version}-stable"; 15 - sha256 = "sha256-PkuYXDL04LbUiY+O/4EilZn2+hTbwbRXPDE3B5d/4pQ="; 16 }; 17 18 # Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
··· 6 7 stdenv.mkDerivation rec { 8 pname = "wolfssl"; 9 + version = "5.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "wolfSSL"; 13 repo = "wolfssl"; 14 rev = "v${version}-stable"; 15 + sha256 = "sha256-/noS5cn8lllWoGyZ9QyjRmdiR6LXzfT4lYGEt+0+Bdw="; 16 }; 17 18 # Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
+2
pkgs/development/ocaml-modules/uunf/default.nix
··· 22 23 propagatedBuildInputs = [ uchar ]; 24 25 inherit (topkg) buildPhase installPhase; 26 27 meta = with lib; {
··· 22 23 propagatedBuildInputs = [ uchar ]; 24 25 + prePatch = lib.optionalString stdenv.isAarch64 "ulimit -s 16384"; 26 + 27 inherit (topkg) buildPhase installPhase; 28 29 meta = with lib; {
+13 -11
pkgs/development/python-modules/filebrowser_safe/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , django 5 }: 6 7 buildPythonPackage rec { 8 - version = "1.1.0"; 9 - pname = "filebrowser_safe"; 10 11 src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "14b6e0af9697f1d0f08508cc88bc8459273cd6453636cebe8504dccc80e926e4"; 14 }; 15 16 - buildInputs = [ django ]; 17 18 # There is no test embedded 19 doCheck = false; ··· 24 filebrowser_safe was created to provide a snapshot of the 25 FileBrowser asset manager for Django, to be referenced as a 26 dependency for the Mezzanine CMS for Django. 27 - 28 - At the time of filebrowser_safe's creation, FileBrowser was 29 - incorrectly packaged on PyPI, and had also dropped compatibility 30 - with Django 1.1 - filebrowser_safe was therefore created to 31 - address these specific issues. 32 ''; 33 homepage = "https://github.com/stephenmcd/filebrowser-safe"; 34 downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/"; 35 - license = licenses.free; 36 maintainers = with maintainers; [ prikhi ]; 37 platforms = platforms.unix; 38 };
··· 2 , buildPythonPackage 3 , fetchPypi 4 , django 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 + pname = "filebrowser-safe"; 10 + version = "1.1.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 + pname = "filebrowser_safe"; 17 + inherit version; 18 + sha256 = "499c5dbd9e112dfc436cae7713b2fb664a59015021f6c9d131e3b7980aeb5c94"; 19 }; 20 21 + buildInputs = [ 22 + django 23 + ]; 24 25 # There is no test embedded 26 doCheck = false; ··· 31 filebrowser_safe was created to provide a snapshot of the 32 FileBrowser asset manager for Django, to be referenced as a 33 dependency for the Mezzanine CMS for Django. 34 ''; 35 homepage = "https://github.com/stephenmcd/filebrowser-safe"; 36 downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/"; 37 + license = licenses.bsd3; 38 maintainers = with maintainers; [ prikhi ]; 39 platforms = platforms.unix; 40 };
+2 -2
pkgs/development/python-modules/limnoria/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "limnoria"; 18 - version = "2022.1.1"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchPypi { 24 inherit pname version; 25 - hash = "sha256-tJqUsNRvSipuvOTfxJOFUCojrkRrrrzIgEYNShrTP8c="; 26 }; 27 28 propagatedBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "limnoria"; 18 + version = "2022.1.1.post1"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.6"; 22 23 src = fetchPypi { 24 inherit pname version; 25 + hash = "sha256-9p06yD95emBOFKtTZMVR/3ySAB24pB3QRmzVEnqeb9U="; 26 }; 27 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/parfive/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "parfive"; 18 - version = "1.5.0"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 - sha256 = "f36128e8a93f3494ce3de8af883eeba4bd651ab228682810a46ec4b7897a84b3"; 26 }; 27 28 buildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "parfive"; 18 + version = "1.5.1"; 19 format = "setuptools"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 + sha256 = "c411fd7269a49d1c72a964e97de474ec082115777b363aeed98a6595f90b8676"; 26 }; 27 28 buildInputs = [
+16 -8
pkgs/development/python-modules/pysimplegui/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , tkinter 5 }: 6 buildPythonPackage rec { 7 - pname = "PySimpleGUI"; 8 - version = "4.55.1"; 9 10 src = fetchPypi { 11 - inherit pname version; 12 - sha256 = "sha256-nUDAoMK0w9Luk1hU5I1yT1CK5oEj9LrIByYS3Z5wfew="; 13 }; 14 - 15 - pythonImportsCheck = [ "PySimpleGUI" ]; 16 17 propagatedBuildInputs = [ 18 tkinter 19 ]; 20 21 meta = with lib; { 22 - description = "Python GUIs for Humans."; 23 homepage = "https://github.com/PySimpleGUI/PySimpleGUI"; 24 - license = licenses.gpl3; 25 maintainers = with maintainers; [ lucasew ]; 26 }; 27 }
··· 2 , buildPythonPackage 3 , fetchPypi 4 , tkinter 5 + , pythonOlder 6 }: 7 + 8 buildPythonPackage rec { 9 + pname = "pysimplegui"; 10 + version = "4.56.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 + pname = "PySimpleGUI"; 17 + inherit version; 18 + sha256 = "1a13a19282f92626cc6a823cbe9f4aa08aa558870f03441a1c4e8b6cef27c9d5"; 19 }; 20 21 propagatedBuildInputs = [ 22 tkinter 23 ]; 24 25 + pythonImportsCheck = [ 26 + "PySimpleGUI" 27 + ]; 28 + 29 meta = with lib; { 30 + description = "Python GUIs for Humans"; 31 homepage = "https://github.com/PySimpleGUI/PySimpleGUI"; 32 + license = licenses.lgpl3Plus; 33 maintainers = with maintainers; [ lucasew ]; 34 }; 35 }
+5 -3
pkgs/development/python-modules/python-gitlab/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "python-gitlab"; 13 - version = "2.10.1"; 14 - disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "7afa7d7c062fa62c173190452265a30feefb844428efc58ea5244f3b9fc0d40f"; 19 }; 20 21 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "python-gitlab"; 13 + version = "3.0.0"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + sha256 = "89f82740b76820cf407cee9c43b75ca3ddb72f344f595902ee963837d7664986"; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/rizin/default.nix
··· 23 24 stdenv.mkDerivation rec { 25 pname = "rizin"; 26 - version = "0.3.1"; 27 28 src = fetchurl { 29 url = "https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"; 30 - sha256 = "sha256-muS3+cR75jZl/Q5ZN1srEPg8NxVquwRMpNYcHw/Ij34="; 31 }; 32 33 mesonFlags = [
··· 23 24 stdenv.mkDerivation rec { 25 pname = "rizin"; 26 + version = "0.3.2"; 27 28 src = fetchurl { 29 url = "https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"; 30 + sha256 = "sha256-T65gm1tfRD7dZSL8qZKMTAbQ65Lx/ecidFc9T1b7cig="; 31 }; 32 33 mesonFlags = [
+4
pkgs/top-level/all-packages.nix
··· 7719 guile = guile_1_8; 7720 }; 7721 7722 mdbtools = callPackage ../tools/misc/mdbtools { }; 7723 7724 mdk = callPackage ../development/tools/mdk { }; ··· 25041 }; 25042 25043 elvis = callPackage ../applications/editors/elvis { }; 25044 25045 emacs = emacs27; 25046 emacs-nox = emacs27-nox;
··· 7719 guile = guile_1_8; 7720 }; 7721 7722 + mcstatus = with python3Packages; toPythonApplication mcstatus; 7723 + 7724 mdbtools = callPackage ../tools/misc/mdbtools { }; 7725 7726 mdk = callPackage ../development/tools/mdk { }; ··· 25043 }; 25044 25045 elvis = callPackage ../applications/editors/elvis { }; 25046 + 25047 + em = callPackage ../applications/editors/em { }; 25048 25049 emacs = emacs27; 25050 emacs-nox = emacs27-nox;