Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 68e3ba2b b7aedf86

+464 -202
+42 -11
nixos/modules/installer/cd-dvd/iso-image.nix
··· 162 162 isolinuxCfg = concatStringsSep "\n" 163 163 ([ baseIsolinuxCfg ] ++ optional config.boot.loader.grub.memtest86.enable isolinuxMemtest86Entry); 164 164 165 + refindBinary = if targetArch == "x64" || targetArch == "aa64" then "refind_${targetArch}.efi" else null; 166 + 165 167 # Setup instructions for rEFInd. 166 168 refind = 167 - if targetArch == "x64" then 169 + if refindBinary != null then 168 170 '' 169 171 # Adds rEFInd to the ISO. 170 - cp -v ${pkgs.refind}/share/refind/refind_x64.efi $out/EFI/boot/ 172 + cp -v ${pkgs.refind}/share/refind/${refindBinary} $out/EFI/boot/ 171 173 '' 172 174 else 173 175 "# No refind for ${targetArch}" ··· 186 188 187 189 # Fonts can be loaded? 188 190 # (This font is assumed to always be provided as a fallback by NixOS) 189 - if loadfont (hd0)/EFI/boot/unicode.pf2; then 191 + if loadfont /EFI/boot/unicode.pf2; then 192 + set with_fonts=true 193 + fi 194 + if [ "\$textmode" != "true" -a "\$with_fonts" == "true" ]; then 190 195 # Use graphical term, it can be either with background image or a theme. 191 196 # input is "console", while output is "gfxterm". 192 197 # This enables "serial" input and output only when possible. ··· 207 212 ${ # When there is a theme configured, use it, otherwise use the background image. 208 213 if config.isoImage.grubTheme != null then '' 209 214 # Sets theme. 210 - set theme=(hd0)/EFI/boot/grub-theme/theme.txt 215 + set theme=/EFI/boot/grub-theme/theme.txt 211 216 # Load theme fonts 212 - $(find ${config.isoImage.grubTheme} -iname '*.pf2' -printf "loadfont (hd0)/EFI/boot/grub-theme/%P\n") 217 + $(find ${config.isoImage.grubTheme} -iname '*.pf2' -printf "loadfont /EFI/boot/grub-theme/%P\n") 213 218 '' else '' 214 - if background_image (hd0)/EFI/boot/efi-background.png; then 219 + if background_image /EFI/boot/efi-background.png; then 215 220 # Black background means transparent background when there 216 221 # is a background image set... This seems undocumented :( 217 222 set color_normal=black/black ··· 264 269 265 270 cat <<EOF > $out/EFI/boot/grub.cfg 266 271 272 + set with_fonts=false 273 + set textmode=false 267 274 # If you want to use serial for "terminal_*" commands, you need to set one up: 268 275 # Example manual configuration: 269 276 # → serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 ··· 273 280 export with_serial 274 281 clear 275 282 set timeout=10 283 + 284 + # This message will only be viewable when "gfxterm" is not used. 285 + echo "" 286 + echo "Loading graphical boot menu..." 287 + echo "" 288 + echo "Press 't' to use the text boot menu on this console..." 289 + echo "" 290 + 276 291 ${grubMenuCfg} 277 292 293 + hiddenentry 'Text mode' --hotkey 't' { 294 + loadfont /EFI/boot/unicode.pf2 295 + set textmode=true 296 + terminal_output gfxterm console 297 + } 298 + hiddenentry 'GUI mode' --hotkey 'g' { 299 + $(find ${config.isoImage.grubTheme} -iname '*.pf2' -printf "loadfont /EFI/boot/grub-theme/%P\n") 300 + set textmode=false 301 + terminal_output gfxterm 302 + } 303 + 304 + 278 305 # If the parameter iso_path is set, append the findiso parameter to the kernel 279 306 # line. We need this to allow the nixos iso to be booted from grub directly. 280 307 if [ \''${iso_path} ] ; then ··· 337 364 } 338 365 } 339 366 340 - menuentry 'rEFInd' --class refind { 341 - # UUID is hard-coded in the derivation. 342 - search --set=root --no-floppy --fs-uuid 1234-5678 343 - chainloader (\$root)/EFI/boot/refind_x64.efi 344 - } 367 + ${lib.optionalString (refindBinary != null) '' 368 + # GRUB apparently cannot do "chainloader" operations on "CD". 369 + if [ "\$root" != "cd0" ]; then 370 + menuentry 'rEFInd' --class refind { 371 + # \$root defaults to the drive the EFI is found on. 372 + chainloader (\$root)/EFI/boot/${refindBinary} 373 + } 374 + fi 375 + ''} 345 376 menuentry 'Firmware Setup' --class settings { 346 377 fwsetup 347 378 clear
+31 -8
pkgs/applications/audio/audacity/default.nix
··· 28 28 , ffmpeg 29 29 , soundtouch 30 30 , pcre /*, portaudio - given up fighting their portaudio.patch */ 31 + , linuxHeaders 31 32 , at-spi2-core ? null 32 33 , dbus ? null 33 34 , epoxy ? null ··· 41 42 }: 42 43 43 44 # TODO 44 - # - as of 2.4.2, GTK2 is still the recommended version ref https://www.audacityteam.org/download/source/ check if that changes in future versions 45 + # - as of 3.0.2, GTK2 is still the recommended version ref https://www.audacityteam.org/download/source/ check if that changes in future versions 45 46 # - detach sbsms 46 47 48 + let 49 + wxGTK-audacity = wxGTK.overrideAttrs (oldAttrs: rec { 50 + src = fetchFromGitHub { 51 + owner = "audacity"; 52 + repo = "wxWidgets"; 53 + rev = "07e7d832c7a337aedba3537b90b2c98c4d8e2985"; 54 + sha256 = "1mawnkcrmqj98jp0jxlnh9xkc950ca033ccb51c7035pzmi9if9a"; 55 + fetchSubmodules = true; 56 + }; 57 + }); 58 + in 47 59 stdenv.mkDerivation rec { 48 60 pname = "audacity"; 49 - version = "2.4.2"; 61 + version = "3.0.2"; 50 62 51 63 src = fetchFromGitHub { 52 64 owner = "audacity"; 53 65 repo = "audacity"; 54 66 rev = "Audacity-${version}"; 55 - sha256 = "sha256-hpRTo5B0EMyzORopsNPOgv6mohBkwJfWfCLnPvFmdFI="; 67 + sha256 = "035qq2ff16cdl2cb9iply2bfjmhfl1dpscg79x6c9l0i9m8k41zj"; 56 68 }; 57 69 58 70 patches = [ 59 71 (fetchpatch { 60 - url = "https://github.com/audacity/audacity/commit/a070b5d8a8ba10fb86edba6aeb8fdab0f66ba408.patch"; 61 - sha256 = "sha256-8UZupGcN+/tytAhyy5T1P0nufvsQPeyLgOUMGt7l8Oc="; 72 + url = "https://github.com/audacity/audacity/commit/007852e51fcbb5f1f359d112f28b8984a604dac6.patch"; 73 + sha256 = "0zp2iydd46analda9cfnbmzdkjphz5m7dynrdj5qdnmq6j3px9fw"; 62 74 name = "audacity_xdg_paths.patch"; 63 75 }) 64 76 ]; ··· 66 78 # this file *should* be generated by cmake but as of 2.4.2 isn't yet 67 79 postPatch = '' 68 80 touch src/RevisionIdent.h 81 + ''; 82 + 83 + preConfigure = '' 84 + substituteInPlace src/FileNames.cpp --replace /usr/include/linux/magic.h ${linuxHeaders}/include/linux/magic.h 69 85 ''; 70 86 71 87 # workaround for a broken cmake. Drop it with a later version to see if it works. ··· 86 102 "-lswscale" 87 103 ]; 88 104 89 - nativeBuildInputs = [ cmake gettext pkg-config python3 ]; 105 + nativeBuildInputs = [ 106 + cmake 107 + gettext 108 + pkg-config 109 + python3 110 + ] ++ lib.optionals stdenv.isLinux [ 111 + linuxHeaders 112 + ]; 90 113 91 114 buildInputs = [ 92 115 alsaLib ··· 110 133 sratom 111 134 suil 112 135 twolame 113 - wxGTK 114 - wxGTK.gtk 136 + wxGTK-audacity 137 + wxGTK-audacity.gtk 115 138 ] ++ lib.optionals stdenv.isLinux [ 116 139 at-spi2-core 117 140 dbus
+3 -3
pkgs/applications/misc/hugo/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "hugo"; 5 - version = "0.82.1"; 5 + version = "0.83.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gohugoio"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-6poWFcApwCos3XvS/Wq1VJyf5xTUWtqWNFXIhjNsXVs="; 11 + sha256 = "sha256-c9T3a6J78uLumBTy/DgE4gbxCmEXVGKd9JyF9dyrL6g="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-pJBm+yyy1DbH28oVBQA+PHSDtSg3RcgbRlurrwnnEls="; 14 + vendorSha256 = "sha256-ddCyMmZ5RIZWzT2RYNnSW795oR7PIRudl3QTjsXtBGk="; 15 15 16 16 doCheck = false; 17 17
+3 -3
pkgs/applications/networking/syncthing/default.nix
··· 4 4 common = { stname, target, postInstall ? "" }: 5 5 buildGoModule rec { 6 6 pname = stname; 7 - version = "1.15.1"; 7 + version = "1.16.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "syncthing"; 11 11 repo = "syncthing"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-d7b1hqW0ZWg74DyW1ZYMT7sIR7H89Ph38XE2Mhh7ySg="; 13 + sha256 = "sha256-AAJLtykSQLM13I77E7LD1W8hXLvZQ3XqgOWrTBGYn3k="; 14 14 }; 15 15 16 - vendorSha256 = "sha256-00DdGJNCZ94Wj6yvVXJYNJZEiGxYbqTkX6wwon0O1tc="; 16 + vendorSha256 = "sha256-cN6Dgztq0/pAwfuBGFtTzK7XKXV7LrkgDGGzjkTDUN8="; 17 17 18 18 doCheck = false; 19 19
+21 -11
pkgs/applications/version-management/sourcehut/builds.nix
··· 1 - { lib, fetchgit, buildPythonPackage 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 2 4 , buildGoModule 3 - , srht, redis, celery, pyyaml, markdown }: 4 - 5 + , srht 6 + , redis 7 + , celery 8 + , pyyaml 9 + , markdown 10 + , ansi2html 11 + , python 12 + }: 5 13 let 6 - version = "0.63.4"; 14 + version = "0.66.7"; 7 15 8 16 buildWorker = src: buildGoModule { 9 17 inherit src version; 10 18 pname = "builds-sr-ht-worker"; 11 19 12 - vendorSha256 = "1sbcjp93gb0c4p7dd1gjhmhwr1pygxvrrzp954j2fvxvi38w6571"; 20 + vendorSha256 = "sha256-giOaldV46aBqXyFH/cQVsbUr6Rb4VMhbBO86o48tRZY="; 13 21 }; 14 - in buildPythonPackage rec { 22 + in 23 + buildPythonPackage rec { 15 24 inherit version; 16 25 pname = "buildsrht"; 17 26 18 - src = fetchgit { 19 - url = "https://git.sr.ht/~sircmpwn/builds.sr.ht"; 27 + src = fetchFromSourcehut { 28 + owner = "~sircmpwn"; 29 + repo = "builds.sr.ht"; 20 30 rev = version; 21 - sha256 = "1w3rb685nqg2h0k3ag681svc400si9r1gy0sdim3wa2qh8glbqni"; 31 + sha256 = "sha256-2MLs/DOXHjEYarXDVUcPZe3o0fmZbzVxn528SE72lhM="; 22 32 }; 23 33 24 34 nativeBuildInputs = srht.nativeBuildInputs; ··· 29 39 celery 30 40 pyyaml 31 41 markdown 42 + ansi2html 32 43 ]; 33 44 34 45 preBuild = '' 35 46 export PKGVER=${version} 47 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 36 48 ''; 37 49 38 50 postInstall = '' ··· 43 55 cp contrib/submit_image_build $out/bin/builds.sr.ht 44 56 cp ${buildWorker "${src}/worker"}/bin/worker $out/bin/builds.sr.ht-worker 45 57 ''; 46 - 47 - dontUseSetuptoolsCheck = true; 48 58 49 59 meta = with lib; { 50 60 homepage = "https://git.sr.ht/~sircmpwn/builds.sr.ht";
+36 -9
pkgs/applications/version-management/sourcehut/core.nix
··· 1 - { lib, fetchgit, fetchNodeModules, buildPythonPackage 2 - , pgpy, flask, bleach, humanize, html5lib, markdown, psycopg2, pygments 3 - , requests, sqlalchemy, cryptography, beautifulsoup4, sqlalchemy-utils, prometheus_client 4 - , celery, alembic, importlib-metadata, mistletoe 5 - , sassc, nodejs 6 - , writeText }: 1 + { lib 2 + , fetchgit 3 + , fetchNodeModules 4 + , buildPythonPackage 5 + , pgpy 6 + , flask 7 + , bleach 8 + , misaka 9 + , humanize 10 + , html5lib 11 + , markdown 12 + , psycopg2 13 + , pygments 14 + , requests 15 + , sqlalchemy 16 + , cryptography 17 + , beautifulsoup4 18 + , sqlalchemy-utils 19 + , prometheus_client 20 + , celery 21 + , alembic 22 + , importlib-metadata 23 + , mistletoe 24 + , minio 25 + , sassc 26 + , nodejs 27 + , redis 28 + , writeText 29 + }: 7 30 8 31 buildPythonPackage rec { 9 32 pname = "srht"; 10 - version = "0.65.2"; 33 + version = "0.67.4"; 11 34 12 35 src = fetchgit { 13 36 url = "https://git.sr.ht/~sircmpwn/core.sr.ht"; 14 37 rev = version; 15 - sha256 = "1jfp1vc8mink3c7ccacgnqx8hpkck82ipxiql38q1y9l8xcsah03"; 38 + sha256 = "sha256-XvzFfcBK5Mq8p7xEBAF/eupUE1kkUBh5k+ByM/WA9bc="; 39 + fetchSubmodules = true; 16 40 }; 17 41 18 42 node_modules = fetchNodeModules { 19 43 src = "${src}/srht"; 20 44 nodejs = nodejs; 21 - sha256 = "0gwa2xb75g7fclrsr7r131kj8ri5gmhd96yw1iws5pmgsn2rlqi1"; 45 + sha256 = "sha256-IWKahdWv3qJ5DNyb1GB9JWYkZxghn6wzZe68clYXij8="; 22 46 }; 23 47 24 48 patches = [ ··· 34 58 pgpy 35 59 flask 36 60 bleach 61 + misaka 37 62 humanize 38 63 html5lib 39 64 markdown ··· 51 76 celery 52 77 alembic 53 78 importlib-metadata 79 + minio 80 + redis 54 81 ]; 55 82 56 83 PKGVER = version;
+8 -5
pkgs/applications/version-management/sourcehut/default.nix
··· 1 - { python38, openssl 2 - , callPackage, recurseIntoAttrs }: 1 + { python3 2 + , openssl 3 + , callPackage 4 + , recurseIntoAttrs 5 + }: 3 6 4 7 # To expose the *srht modules, they have to be a python module so we use `buildPythonModule` 5 8 # Then we expose them through all-packages.nix as an application through `toPythonApplication` 6 9 # https://github.com/NixOS/nixpkgs/pull/54425#discussion_r250688781 7 - 8 10 let 9 11 fetchNodeModules = callPackage ./fetchNodeModules.nix { }; 10 12 11 - python = python38.override { 13 + python = python3.override { 12 14 packageOverrides = self: super: { 13 15 srht = self.callPackage ./core.nix { inherit fetchNodeModules; }; 14 16 ··· 26 28 scmsrht = self.callPackage ./scm.nix { }; 27 29 }; 28 30 }; 29 - in with python.pkgs; recurseIntoAttrs { 31 + in 32 + with python.pkgs; recurseIntoAttrs { 30 33 inherit python; 31 34 buildsrht = toPythonApplication buildsrht; 32 35 dispatchsrht = toPythonApplication dispatchsrht;
+14 -8
pkgs/applications/version-management/sourcehut/dispatch.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, pyyaml, PyGithub }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , pyyaml 6 + , PyGithub 7 + , python 8 + }: 3 9 4 10 buildPythonPackage rec { 5 11 pname = "dispatchsrht"; 6 - version = "0.14.9"; 12 + version = "0.15.8"; 7 13 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/dispatch.sr.ht"; 14 + src = fetchFromSourcehut { 15 + owner = "~sircmpwn"; 16 + repo = "dispatch.sr.ht"; 10 17 rev = version; 11 - sha256 = "JUffuJTKY4I8CrJc8tJWL+CbJCZtiqtUSO9SgYoeux0="; 18 + sha256 = "sha256-zWCGPjIgMKHXHJUs9aciV7IFgo0rpahon6KXHDwcfss="; 12 19 }; 13 20 14 21 nativeBuildInputs = srht.nativeBuildInputs; ··· 21 28 22 29 preBuild = '' 23 30 export PKGVER=${version} 31 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 24 32 ''; 25 - 26 - dontUseSetuptoolsCheck = true; 27 33 28 34 meta = with lib; { 29 35 homepage = "https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht";
+28 -24
pkgs/applications/version-management/sourcehut/git.nix
··· 1 - { lib, fetchgit, buildPythonPackage 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 2 4 , buildGoModule 3 - , srht, minio, pygit2, scmsrht }: 4 - 5 + , python 6 + , srht 7 + , pygit2 8 + , scmsrht 9 + }: 5 10 let 6 - version = "0.61.10"; 11 + version = "0.72.8"; 12 + 13 + src = fetchFromSourcehut { 14 + owner = "~sircmpwn"; 15 + repo = "git.sr.ht"; 16 + rev = version; 17 + sha256 = "sha256-AB2uzajO5PtcpJfbOOTfuDFM6is5K39v3AZJ1hShRNc="; 18 + }; 7 19 8 20 buildShell = src: buildGoModule { 9 21 inherit src version; 10 22 pname = "gitsrht-shell"; 11 - vendorSha256 = "1abyv2s5l3bs0iylpgyj3jri2hh1iy8fiadxm7g6l2vl58h0b9ba"; 23 + vendorSha256 = "sha256-aqUFICp0C2reqb2p6JCPAUIRsxzSv0t9BHoNWrTYfqk="; 12 24 }; 13 25 14 26 buildDispatcher = src: buildGoModule { 15 27 inherit src version; 16 28 pname = "gitsrht-dispatcher"; 17 - vendorSha256 = "1lzkf13m54pq0gnn3bcxc80nfg76hgck4l8q8jpaicrsiwgcyrd9"; 29 + vendorSha256 = "sha256-qWXPHo86s6iuRBhRMtmD5jxnAWKdrWHtA/iSUkdw89M="; 18 30 }; 19 31 20 32 buildKeys = src: buildGoModule { ··· 29 41 vendorSha256 = "0fwzqpjv8x5y3w3bfjd0x0cvqjjak23m0zj88hf32jpw49xmjkih"; 30 42 }; 31 43 32 - buildAPI = src: buildGoModule { 33 - inherit src version; 34 - pname = "gitsrht-api"; 35 - vendorSha256 = "0d6kmsbsgj2q5nddx4w675zbsiarffj9vqplwvqk7dwz4id2wnif"; 36 - }; 37 - in buildPythonPackage rec { 38 - pname = "gitsrht"; 39 - inherit version; 44 + updateHook = buildUpdateHook "${src}/gitsrht-update-hook"; 40 45 41 - src = fetchgit { 42 - url = "https://git.sr.ht/~sircmpwn/git.sr.ht"; 43 - rev = version; 44 - sha256 = "0g7aj5wlns0m3kf2aajqjjb5fwk5vbb8frrkdfp4118235h3xcqy"; 45 - }; 46 + in 47 + buildPythonPackage rec { 48 + inherit src version; 49 + pname = "gitsrht"; 46 50 47 51 nativeBuildInputs = srht.nativeBuildInputs; 48 52 49 53 propagatedBuildInputs = [ 50 54 srht 51 - minio 52 55 pygit2 53 56 scmsrht 54 57 ]; 55 58 56 59 preBuild = '' 57 60 export PKGVER=${version} 61 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 58 62 ''; 59 63 60 64 postInstall = '' ··· 62 66 cp ${buildShell "${src}/gitsrht-shell"}/bin/gitsrht-shell $out/bin/gitsrht-shell 63 67 cp ${buildDispatcher "${src}/gitsrht-dispatch"}/bin/gitsrht-dispatch $out/bin/gitsrht-dispatch 64 68 cp ${buildKeys "${src}/gitsrht-keys"}/bin/gitsrht-keys $out/bin/gitsrht-keys 65 - cp ${buildUpdateHook "${src}/gitsrht-update-hook"}/bin/gitsrht-update-hook $out/bin/gitsrht-update-hook 66 - cp ${buildAPI "${src}/api"}/bin/api $out/bin/gitsrht-api 69 + cp ${updateHook}/bin/gitsrht-update-hook $out/bin/gitsrht-update-hook 67 70 ''; 68 - 69 - dontUseSetuptoolsCheck = true; 71 + passthru = { 72 + inherit updateHook; 73 + }; 70 74 71 75 meta = with lib; { 72 76 homepage = "https://git.sr.ht/~sircmpwn/git.sr.ht";
+12 -6
pkgs/applications/version-management/sourcehut/hg.nix
··· 1 - { lib, fetchhg, buildPythonPackage 2 - , srht, hglib, scmsrht, unidiff }: 1 + { lib 2 + , fetchhg 3 + , buildPythonPackage 4 + , srht 5 + , hglib 6 + , scmsrht 7 + , unidiff 8 + , python 9 + }: 3 10 4 11 buildPythonPackage rec { 5 12 pname = "hgsrht"; 6 - version = "0.26.19"; 13 + version = "0.27.4"; 7 14 8 15 src = fetchhg { 9 16 url = "https://hg.sr.ht/~sircmpwn/hg.sr.ht"; 10 17 rev = version; 11 - sha256 = "0dc0lgqq8zdaywbd50dlxypk1lv0nffvqr3889v10ycy45qcfymv"; 18 + sha256 = "1c0qfi0gmbfngvds6917fy9ii2iglawn429757rh7b4bvzn7n6mr"; 12 19 }; 13 20 14 21 nativeBuildInputs = srht.nativeBuildInputs; ··· 22 29 23 30 preBuild = '' 24 31 export PKGVER=${version} 32 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 25 33 ''; 26 - 27 - dontUseSetuptoolsCheck = true; 28 34 29 35 meta = with lib; { 30 36 homepage = "https://git.sr.ht/~sircmpwn/hg.sr.ht";
+10 -6
pkgs/applications/version-management/sourcehut/hub.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + }: 3 6 4 7 buildPythonPackage rec { 5 8 pname = "hubsrht"; 6 - version = "0.11.5"; 9 + version = "0.13.1"; 7 10 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/hub.sr.ht"; 11 + src = fetchFromSourcehut { 12 + owner = "~sircmpwn"; 13 + repo = "hub.sr.ht"; 10 14 rev = version; 11 - sha256 = "0cysdfy1z69jaizblbq0ywpcvcnx57rlzg42k98kd9w2mqzj5173"; 15 + sha256 = "sha256-Kqzy4mh5Nn1emzHBco/LVuXro/tW3NX+OYqdEwBSQ/U="; 12 16 }; 13 17 14 18 nativeBuildInputs = srht.nativeBuildInputs;
+18 -8
pkgs/applications/version-management/sourcehut/lists.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, asyncpg, aiosmtpd, pygit2, emailthreads }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , asyncpg 6 + , aiosmtpd 7 + , pygit2 8 + , emailthreads 9 + , redis 10 + , python 11 + }: 3 12 4 13 buildPythonPackage rec { 5 14 pname = "listssrht"; 6 - version = "0.45.15"; 15 + version = "0.48.19"; 7 16 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/lists.sr.ht"; 17 + src = fetchFromSourcehut { 18 + owner = "~sircmpwn"; 19 + repo = "lists.sr.ht"; 10 20 rev = version; 11 - sha256 = "0f3yl5nf385j7mhcrmda7zk58i1y6fm00i479js90xxhjifmqkq6"; 21 + sha256 = "sha256-bsakEMyvWaxiE4/SGcAP4mlGG9jkdHfFxpt9H+TJn/8="; 12 22 }; 13 23 14 24 nativeBuildInputs = srht.nativeBuildInputs; ··· 19 29 asyncpg 20 30 aiosmtpd 21 31 emailthreads 32 + redis 22 33 ]; 23 34 24 35 preBuild = '' 25 36 export PKGVER=${version} 37 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 26 38 ''; 27 - 28 - dontUseSetuptoolsCheck = true; 29 39 30 40 meta = with lib; { 31 41 homepage = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
+13 -8
pkgs/applications/version-management/sourcehut/man.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, pygit2 }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , pygit2 6 + , python 7 + }: 3 8 4 9 buildPythonPackage rec { 5 10 pname = "mansrht"; 6 - version = "0.15.4"; 11 + version = "0.15.12"; 7 12 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/man.sr.ht"; 13 + src = fetchFromSourcehut { 14 + owner = "~sircmpwn"; 15 + repo = "man.sr.ht"; 10 16 rev = version; 11 - sha256 = "0spi0yy2myxw4kggy54yskda14c4vaq2ng9dd9krqsajnsy7anrw"; 17 + sha256 = "sha256-MqH/8K9XRvEg6P7GHE6XXtWnhDP3wT8iGoNaFtYQbio="; 12 18 }; 13 19 14 20 nativeBuildInputs = srht.nativeBuildInputs; ··· 20 26 21 27 preBuild = '' 22 28 export PKGVER=${version} 29 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 23 30 ''; 24 - 25 - dontUseSetuptoolsCheck = true; 26 31 27 32 meta = with lib; { 28 33 homepage = "https://git.sr.ht/~sircmpwn/man.sr.ht";
+36 -19
pkgs/applications/version-management/sourcehut/meta.nix
··· 1 - { lib, fetchgit, buildPythonPackage 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 2 4 , buildGoModule 3 - , pgpy, srht, redis, bcrypt, qrcode, stripe, zxcvbn, alembic, pystache 4 - , sshpubkeys, weasyprint }: 5 + , pgpy 6 + , srht 7 + , redis 8 + , bcrypt 9 + , qrcode 10 + , stripe 11 + , zxcvbn 12 + , alembic 13 + , pystache 14 + , dnspython 15 + , sshpubkeys 16 + , weasyprint 17 + , prometheus_client 18 + , python 19 + }: 20 + let 21 + version = "0.53.14"; 5 22 6 - let 7 - version = "0.51.2"; 23 + src = fetchFromSourcehut { 24 + owner = "~sircmpwn"; 25 + repo = "meta.sr.ht"; 26 + rev = version; 27 + sha256 = "sha256-/+r/XLDkcSTW647xPMh5bcJmR2xZNNH74AJ5jemna2k="; 28 + }; 8 29 9 - buildAPI = src: buildGoModule { 30 + buildApi = src: buildGoModule { 10 31 inherit src version; 11 32 pname = "metasrht-api"; 12 - 13 - vendorSha256 = "0k7i7j604wqvzjavmcsw7g2x059jkkgrgz1qyvzlqc0y4ws59xkq"; 33 + vendorSha256 = "sha256-eZyDrr2VcNMxI++18qUy7LA1Q1YDlWCoRtl00L8lfR4="; 14 34 }; 15 - in buildPythonPackage rec { 35 + 36 + in 37 + buildPythonPackage rec { 16 38 pname = "metasrht"; 17 - inherit version; 18 - 19 - src = fetchgit { 20 - url = "https://git.sr.ht/~sircmpwn/meta.sr.ht"; 21 - rev = version; 22 - sha256 = "0c9y1hzx3dj0awxrhkzrcsmy6q9fqm6v6dbp9y1ria3v47xa3nv7"; 23 - }; 39 + inherit version src; 24 40 25 41 nativeBuildInputs = srht.nativeBuildInputs; 26 42 ··· 36 52 pystache 37 53 sshpubkeys 38 54 weasyprint 55 + prometheus_client 56 + dnspython 39 57 ]; 40 58 41 59 preBuild = '' 42 60 export PKGVER=${version} 61 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 43 62 ''; 44 63 45 64 postInstall = '' 46 65 mkdir -p $out/bin 47 - cp ${buildAPI "${src}/api"}/bin/api $out/bin/metasrht-api 66 + cp ${buildApi "${src}/api/"}/bin/api $out/bin/metasrht-api 48 67 ''; 49 - 50 - dontUseSetuptoolsCheck = true; 51 68 52 69 meta = with lib; { 53 70 homepage = "https://git.sr.ht/~sircmpwn/meta.sr.ht";
+13 -8
pkgs/applications/version-management/sourcehut/paste.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, pyyaml }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , pyyaml 6 + , python 7 + }: 3 8 4 9 buildPythonPackage rec { 5 10 pname = "pastesrht"; 6 - version = "0.11.2"; 11 + version = "0.12.1"; 7 12 8 - src = fetchgit { 9 - url = "https://git.sr.ht/~sircmpwn/paste.sr.ht"; 13 + src = fetchFromSourcehut { 14 + owner = "~sircmpwn"; 15 + repo = "paste.sr.ht"; 10 16 rev = version; 11 - sha256 = "15hm5165v8a7ryw6i0vlf189slw4rp22cfgzznih18pbml7d0c8s"; 17 + sha256 = "sha256-QQhd2LeH9BLmlHilhsv+9fZ+RPNmEMSmOpFA3dsMBFc="; 12 18 }; 13 19 14 20 nativeBuildInputs = srht.nativeBuildInputs; ··· 20 26 21 27 preBuild = '' 22 28 export PKGVER=${version} 29 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 23 30 ''; 24 - 25 - dontUseSetuptoolsCheck = true; 26 31 27 32 meta = with lib; { 28 33 homepage = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
+14 -7
pkgs/applications/version-management/sourcehut/scm.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, redis, pyyaml, buildsrht 3 - , writeText }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , redis 6 + , pyyaml 7 + , buildsrht 8 + , writeText 9 + }: 4 10 5 11 buildPythonPackage rec { 6 12 pname = "scmsrht"; 7 - version = "0.22.4"; 13 + version = "0.22.9"; 8 14 9 - src = fetchgit { 10 - url = "https://git.sr.ht/~sircmpwn/scm.sr.ht"; 15 + src = fetchFromSourcehut { 16 + owner = "~sircmpwn"; 17 + repo = "scm.sr.ht"; 11 18 rev = version; 12 - sha256 = "1djyrwa44wml9lj3njy6qbxyc3g1msswbh0y9jyjzxh2c02bl3jn"; 19 + sha256 = "sha256-327G6C8FW+iZx+167D7TQsFtV6FGc8MpMVo9L/cUUqU="; 13 20 }; 14 21 15 22 nativeBuildInputs = srht.nativeBuildInputs;
+17 -7
pkgs/applications/version-management/sourcehut/todo.nix
··· 1 - { lib, fetchgit, buildPythonPackage 2 - , srht, redis, alembic, pystache 3 - , pytest, factory_boy }: 1 + { lib 2 + , fetchFromSourcehut 3 + , buildPythonPackage 4 + , srht 5 + , redis 6 + , alembic 7 + , pystache 8 + , pytest 9 + , factory_boy 10 + , python 11 + }: 4 12 5 13 buildPythonPackage rec { 6 14 pname = "todosrht"; 7 - version = "0.62.1"; 15 + version = "0.64.14"; 8 16 9 - src = fetchgit { 10 - url = "https://git.sr.ht/~sircmpwn/todo.sr.ht"; 17 + src = fetchFromSourcehut { 18 + owner = "~sircmpwn"; 19 + repo = "todo.sr.ht"; 11 20 rev = version; 12 - sha256 = "17fsv2z37sjzqzpvx39nc36xln1ayivzjg309d2vmb94aaym4nz2"; 21 + sha256 = "sha256-huIAhn6h1F5w5ST4/yBwr82kAzyYwhLu+gpRuOQgnsE="; 13 22 }; 14 23 15 24 nativeBuildInputs = srht.nativeBuildInputs; ··· 23 32 24 33 preBuild = '' 25 34 export PKGVER=${version} 35 + export SRHT_PATH=${srht}/${python.sitePackages}/srht 26 36 ''; 27 37 28 38 # pytest tests fail
+51 -14
pkgs/applications/window-managers/cagebreak/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , meson, ninja, pkg-config, wayland, scdoc, makeWrapper 3 - , wlroots, wayland-protocols, pixman, libxkbcommon 4 - , cairo , pango, fontconfig, pandoc, systemd, mesa 5 - , withXwayland ? true, xwayland 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cairo 5 + , fontconfig 6 + , libxkbcommon 7 + , makeWrapper 8 + , mesa 9 + , meson 10 + , ninja 6 11 , nixosTests 12 + , pandoc 13 + , pango 14 + , pixman 15 + , pkg-config 16 + , scdoc 17 + , systemd 18 + , wayland 19 + , wayland-protocols 20 + , withXwayland ? true , xwayland 21 + , wlroots 7 22 }: 8 23 9 24 stdenv.mkDerivation rec { 10 25 pname = "cagebreak"; 11 - version = "1.6.0"; 26 + version = "1.7.0"; 12 27 13 28 src = fetchFromGitHub { 14 29 owner = "project-repo"; 15 - repo = "cagebreak"; 30 + repo = pname; 16 31 rev = version; 17 - hash = "sha256-F7fqDVbJS6pVgmj6C1/l9PAaz5yzcYpaq6oc6a6v/Qk="; 32 + hash = "sha256-HpAjJHu5sxZKof3ydnU3wcP5GpnH6Ax8m1T1vVoq+oI="; 18 33 }; 19 34 20 - nativeBuildInputs = [ meson ninja pkg-config wayland scdoc makeWrapper ]; 35 + nativeBuildInputs = [ 36 + makeWrapper 37 + meson 38 + ninja 39 + pandoc 40 + pkg-config 41 + scdoc 42 + wayland 43 + ]; 21 44 22 45 buildInputs = [ 23 - wlroots wayland wayland-protocols pixman libxkbcommon cairo 24 - pango fontconfig pandoc systemd 46 + cairo 47 + fontconfig 48 + libxkbcommon 25 49 mesa # for libEGL headers 50 + pango 51 + pixman 52 + systemd 53 + wayland 54 + wayland-protocols 55 + wlroots 26 56 ]; 27 57 28 - outputs = [ "out" "contrib" ]; 58 + outputs = [ 59 + "out" 60 + "contrib" 61 + ]; 29 62 30 63 mesonFlags = [ 31 - "-Dxwayland=${lib.boolToString withXwayland}" 32 - "-Dversion_override=${version}" 33 64 "-Dman-pages=true" 65 + "-Dversion_override=${version}" 66 + "-Dxwayland=${lib.boolToString withXwayland}" 34 67 ]; 68 + 69 + postPatch = '' 70 + sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c 71 + ''; 35 72 36 73 postInstall = '' 37 74 mkdir -p $contrib/share/cagebreak
+2 -2
pkgs/development/libraries/qscintilla/default.nix
··· 6 6 7 7 let 8 8 pname = "qscintilla-qt${if withQt5 then "5" else "4"}"; 9 - version = "2.11.5"; 9 + version = "2.11.6"; 10 10 11 11 in stdenv.mkDerivation rec { 12 12 inherit pname version; 13 13 14 14 src = fetchurl { 15 15 url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla-${version}.tar.gz"; 16 - sha256 = "k2Hib9f7e1gZp+uSxcGIChjem9PtndLrAI5XOIaWcWs="; 16 + sha256 = "5zRgV9tH0vs4RGf6/M/LE6oHQTc8XVk7xytVsvDdIKc="; 17 17 }; 18 18 19 19 sourceRoot = "QScintilla-${version}/Qt4Qt5";
+7 -3
pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub, makeWrapper 2 2 , meson, ninja, pkg-config, wayland-protocols 3 - , pipewire, wayland, systemd, libdrm, iniparser, scdoc }: 3 + , pipewire, wayland, systemd, libdrm, iniparser, scdoc, grim }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "xdg-desktop-portal-wlr"; ··· 13 13 sha256 = "sha256-6ArUQfWx5rNdpsd8Q22MqlpxLT8GTSsymAf21zGe1KI="; 14 14 }; 15 15 16 - nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ]; 16 + nativeBuildInputs = [ meson ninja pkg-config wayland-protocols makeWrapper ]; 17 17 buildInputs = [ pipewire wayland systemd libdrm iniparser scdoc ]; 18 18 19 19 mesonFlags = [ 20 20 "-Dsd-bus-provider=libsystemd" 21 21 ]; 22 + 23 + postInstall = '' 24 + wrapProgram $out/libexec/xdg-desktop-portal-wlr --prefix PATH ":" ${lib.makeBinPath [ grim ]} 25 + ''; 22 26 23 27 meta = with lib; { 24 28 homepage = "https://github.com/emersion/xdg-desktop-portal-wlr";
+4 -8
pkgs/development/python-modules/aiodiscover/default.nix
··· 1 1 { lib 2 - , async-dns 3 2 , buildPythonPackage 3 + , dnspython 4 4 , fetchFromGitHub 5 5 , ifaddr 6 6 , pyroute2 ··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "aiodiscover"; 14 - version = "1.3.4"; 14 + version = "1.4.0"; 15 15 disabled = pythonOlder "3.7"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "bdraco"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-TmWl5d5HwyqWPUjwtEvc5FzVfxV/K1pekljcMkGN0Ag="; 21 + sha256 = "sha256-t0bs3n0eLUR22i1lZkepCffjiUFzvXBdP7Xq49KXeS4="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ 25 - async-dns 25 + dnspython 26 26 pyroute2 27 27 ifaddr 28 28 ]; ··· 35 35 pytest-asyncio 36 36 pytestCheckHook 37 37 ]; 38 - 39 - preBuild = '' 40 - export HOME=$TMPDIR 41 - ''; 42 38 43 39 disabledTests = [ 44 40 # Tests require access to /etc/resolv.conf
+3
pkgs/development/tools/misc/hydra/common.nix
··· 37 37 CatalystViewTT 38 38 CatalystXScriptServerStarman 39 39 CatalystXRoleApplicator 40 + CryptPassphrase 41 + CryptPassphraseArgon2 40 42 CryptRandPasswd 41 43 DBDPg 42 44 DBDSQLite ··· 61 63 SQLSplitStatement 62 64 SetScalar 63 65 Starman 66 + StringCompareConstantTime 64 67 SysHostnameLong 65 68 TermSizeAny 66 69 TextDiff
+3 -3
pkgs/development/tools/misc/hydra/default.nix
··· 2 2 3 3 { 4 4 hydra-unstable = callPackage ./common.nix { 5 - version = "2021-04-29"; 5 + version = "2021-05-03"; 6 6 src = fetchFromGitHub { 7 7 owner = "NixOS"; 8 8 repo = "hydra"; 9 - rev = "6047b1dd04d44acff9343b6b971ab609b73099d5"; 10 - sha256 = "sha256-E7JOHhSd4gIzE6FvSZVMxZE9WagbBkrfZVoibkanaYE="; 9 + rev = "886e6f85e45a1f757e9b77d2a9e4539fbde29468"; 10 + sha256 = "t7Qb57Xjc0Ou+VDGC1N5u9AmeODW6MVOwKSrYRJq5f0="; 11 11 }; 12 12 nix = nixFlakes; 13 13
+2 -2
pkgs/misc/vscode-extensions/default.nix
··· 444 444 mktplcRef = { 445 445 name = "github-vscode-theme"; 446 446 publisher = "github"; 447 - version = "4.0.2"; 448 - sha256 = "06mysdwjh7km874rrk0xc0xxaqx15b4a7x1i8dly440h8w3ng5bs"; 447 + version = "4.1.1"; 448 + sha256 = "14wz2b0bn1rnmpj28c0mivz2gacla2dgg8ncv7qfx9bsxhf95g68"; 449 449 }; 450 450 meta = with lib; { 451 451 description = "GitHub theme for VS Code";
+3 -3
pkgs/servers/misc/gobgpd/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gobgpd"; 5 - version = "2.26.0"; 5 + version = "2.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "osrg"; 9 9 repo = "gobgp"; 10 10 rev = "v${version}"; 11 - sha256 = "10fq74hv3vmcq58i3w67ic370925vl9wl6khcmy3f2vg60i962di"; 11 + sha256 = "sha256-Ofg+z8wUttqM1THatPFi0cuyLSEryhTmg3JC1o+16eA="; 12 12 }; 13 13 14 - vendorSha256 = "0dmd4r6x76jn8pyvp47x4llzc2wij5m9lchgyaagcb5sfdgbns9x"; 14 + vendorSha256 = "sha256-PWm7XnO6LPaU8g8ymmqRkQv2KSX9kLv9RVaa000mrTY="; 15 15 16 16 postConfigure = '' 17 17 export CGO_ENABLED=0
+8
pkgs/tools/misc/grub/2.0x.nix
··· 1 1 { lib, stdenv, fetchgit, flex, bison, python3, autoconf, automake, gnulib, libtool 2 2 , gettext, ncurses, libusb-compat-0_1, freetype, qemu, lvm2, unifont, pkg-config 3 3 , buildPackages 4 + , fetchpatch 5 + , pkgsBuildBuild 4 6 , nixosTests 5 7 , fuse # only needed for grub-mount 6 8 , runtimeShell ··· 55 57 56 58 patches = [ 57 59 ./fix-bash-completion.patch 60 + (fetchpatch { 61 + name = "Add-hidden-menu-entries.patch"; 62 + # https://lists.gnu.org/archive/html/grub-devel/2016-04/msg00089.html 63 + url = "https://marc.info/?l=grub-devel&m=146193404929072&q=mbox"; 64 + sha256 = "00wa1q5adiass6i0x7p98vynj9vsz1w0gn1g4dgz89v35mpyw2bi"; 65 + }) 58 66 ]; 59 67 60 68 postPatch = if kbdcompSupport then ''
+2 -2
pkgs/tools/networking/gobgp/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gobgp"; 5 - version = "2.26.0"; 5 + version = "2.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "osrg"; 9 9 repo = "gobgp"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sQmTIjBvCzd8ZXAayhPdRSRwBovH8BFRwazusSE52IE="; 11 + sha256 = "sha256-Ofg+z8wUttqM1THatPFi0cuyLSEryhTmg3JC1o+16eA="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-PWm7XnO6LPaU8g8ymmqRkQv2KSX9kLv9RVaa000mrTY=";
+4 -8
pkgs/tools/networking/tcpreplay/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tcpreplay"; 5 - version = "4.3.3"; 5 + version = "4.3.4"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/appneta/tcpreplay/releases/download/v${version}/tcpreplay-${version}.tar.gz"; 9 - sha256 = "1plgjm3dr9rr5q71s7paqk2wgrvkihbk2yrf9g3zaks3m750497d"; 9 + sha256 = "sha256-7gZTEIBsIuL9NvAU4euzMbmKfsTblY6Rw9nL2gZA2Sw="; 10 10 }; 11 11 12 12 buildInputs = [ libpcap ] ··· 27 27 28 28 meta = with lib; { 29 29 description = "A suite of utilities for editing and replaying network traffic"; 30 - homepage = "http://tcpreplay.appneta.com/"; 31 - license = with licenses; [ bsd3 gpl3 ]; 30 + homepage = "https://tcpreplay.appneta.com/"; 31 + license = with licenses; [ bsdOriginalUC gpl3Only ]; 32 32 maintainers = with maintainers; [ eleanor ]; 33 33 platforms = platforms.unix; 34 - knownVulnerabilities = [ 35 - "CVE-2020-24265" # https://github.com/appneta/tcpreplay/issues/616 36 - "CVE-2020-24266" # https://github.com/appneta/tcpreplay/issues/617 37 - ]; 38 34 }; 39 35 }
+2 -6
pkgs/top-level/all-packages.nix
··· 22170 22170 audacious = libsForQt5.callPackage ../applications/audio/audacious { }; 22171 22171 audaciousQt5 = audacious; 22172 22172 22173 - audacity-gtk2 = callPackage ../applications/audio/audacity { wxGTK = wxGTK31-gtk2; }; 22174 - audacity-gtk3 = callPackage ../applications/audio/audacity { wxGTK = wxGTK31-gtk3; }; 22175 - audacity = audacity-gtk2; 22173 + audacity = callPackage ../applications/audio/audacity { wxGTK = wxGTK31-gtk2; }; 22176 22174 22177 22175 audio-recorder = callPackage ../applications/audio/audio-recorder { }; 22178 22176 ··· 31293 31291 31294 31292 bottom = callPackage ../tools/system/bottom {}; 31295 31293 31296 - cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix { 31297 - wlroots = wlroots_0_12; 31298 - }; 31294 + cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix { }; 31299 31295 31300 31296 psftools = callPackage ../os-specific/linux/psftools {}; 31301 31297
+54
pkgs/top-level/perl-packages.nix
··· 3907 3907 }; 3908 3908 }; 3909 3909 3910 + CryptArgon2 = perlPackages.buildPerlModule { 3911 + pname = "Crypt-Argon2"; 3912 + version = "0.010"; 3913 + src = fetchurl { 3914 + url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Argon2-0.010.tar.gz"; 3915 + sha256 = "3ea1c006f10ef66fd417e502a569df15c4cc1c776b084e35639751c41ce6671a"; 3916 + }; 3917 + nativeBuildInputs = [ pkgs.ld-is-cc-hook ]; 3918 + meta = { 3919 + description = "Perl interface to the Argon2 key derivation functions"; 3920 + license = lib.licenses.cc0; 3921 + }; 3922 + }; 3923 + 3910 3924 CryptBlowfish = buildPerlPackage { 3911 3925 pname = "Crypt-Blowfish"; 3912 3926 version = "2.14"; ··· 4077 4091 propagatedBuildInputs = [ CryptX JSON ]; 4078 4092 meta = { 4079 4093 description = "JSON Web Token"; 4094 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 4095 + }; 4096 + }; 4097 + 4098 + CryptPassphrase = buildPerlPackage { 4099 + pname = "Crypt-Passphrase"; 4100 + version = "0.003"; 4101 + src = fetchurl { 4102 + url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Passphrase-0.003.tar.gz"; 4103 + sha256 = "685aa090f8179a86d6896212ccf8ccfde7a79cce857199bb14e2277a10d240ad"; 4104 + }; 4105 + meta = { 4106 + description = "A module for managing passwords in a cryptographically agile manner"; 4107 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 4108 + }; 4109 + }; 4110 + 4111 + CryptPassphraseArgon2 = buildPerlPackage { 4112 + pname = "Crypt-Passphrase-Argon2"; 4113 + version = "0.002"; 4114 + src = fetchurl { 4115 + url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Passphrase-Argon2-0.002.tar.gz"; 4116 + sha256 = "3906ff81697d13804ee21bd5ab78ffb1c4408b4822ce020e92ecf4737ba1f3a8"; 4117 + }; 4118 + propagatedBuildInputs = with perlPackages; [ CryptArgon2 CryptPassphrase ]; 4119 + meta = { 4120 + description = "An Argon2 encoder for Crypt::Passphrase"; 4080 4121 license = with lib.licenses; [ artistic1 gpl1Plus ]; 4081 4122 }; 4082 4123 }; ··· 18816 18857 src = fetchurl { 18817 18858 url = "mirror://cpan/authors/id/H/HI/HIO/String-CamelCase-0.04.tar.gz"; 18818 18859 sha256 = "1a8i4yzv586svd0pbxls7642vvmyiwzh4x2xyij8gbnfxsydxhw9"; 18860 + }; 18861 + }; 18862 + 18863 + StringCompareConstantTime = buildPerlPackage { 18864 + pname = "String-Compare-ConstantTime"; 18865 + version = "0.321"; 18866 + src = fetchurl { 18867 + url = "mirror://cpan/authors/id/F/FR/FRACTAL/String-Compare-ConstantTime-0.321.tar.gz"; 18868 + sha256 = "0b26ba2b121d8004425d4485d1d46f59001c83763aa26624dff6220d7735d7f7"; 18869 + }; 18870 + meta = { 18871 + description = "Timing side-channel protected string compare"; 18872 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 18819 18873 }; 18820 18874 }; 18821 18875