Merge master into staging-next

authored by github-actions[bot] and committed by GitHub ef41cdba eeca5969

Changed files
+322 -186
maintainers
nixos
pkgs
applications
blockchains
groestlcoin
lnd
wownero
emulators
graphics
hydrus
vengi-tools
office
data
fonts
crimson-pro
icons
papirus-icon-theme
development
compilers
python-modules
casbin
demetriek
gym
gym-notices
meshtastic
readme_renderer
types-pytz
tools
analysis
cppcheck
bomber-go
build-managers
gopls
legitify
misc
yq-go
games
prismlauncher
unciv
os-specific
servers
home-assistant
libreddit
web-apps
dolibarr
tools
filesystems
apfsprogs
misc
yutto
networking
miniupnpc
security
credslayer
oath-toolkit
top-level
+6
maintainers/scripts/copy-tarballs.pl
··· 164 164 my $algo = $fetch->{type}; 165 165 my $hash = $fetch->{hash}; 166 166 my $name = $fetch->{name}; 167 + my $isPatch = $fetch->{isPatch}; 167 168 168 169 if ($hash =~ /^([a-z0-9]+)-([A-Za-z0-9+\/=]+)$/) { 169 170 $algo = $1; ··· 186 187 187 188 if ($url !~ /^http:/ && $url !~ /^https:/ && $url !~ /^ftp:/ && $url !~ /^mirror:/) { 188 189 print STDERR "skipping $url (unsupported scheme)\n"; 190 + next; 191 + } 192 + 193 + if ($isPatch) { 194 + print STDERR "skipping $url (support for patches is missing)\n"; 189 195 next; 190 196 } 191 197
+2 -2
maintainers/scripts/find-tarballs.nix
··· 14 14 operator = const [ ]; 15 15 }); 16 16 17 - urls = map (drv: { url = head (drv.urls or [ drv.url ]); hash = drv.outputHash; type = drv.outputHashAlgo; name = drv.name; }) fetchurlDependencies; 17 + urls = map (drv: { url = head (drv.urls or [ drv.url ]); hash = drv.outputHash; isPatch = (drv?postFetch && drv.postFetch != ""); type = drv.outputHashAlgo; name = drv.name; }) fetchurlDependencies; 18 18 19 19 fetchurlDependencies = 20 20 filter 21 21 (drv: drv.outputHash or "" != "" && drv.outputHashMode or "flat" == "flat" 22 - && drv.postFetch or "" == "" && (drv ? url || drv ? urls)) 22 + && (drv ? url || drv ? urls)) 23 23 dependencies; 24 24 25 25 dependencies = map (x: x.value) (genericClosure {
+1
nixos/tests/all-tests.nix
··· 172 172 documentation = pkgs.callPackage ../modules/misc/documentation/test.nix { inherit nixosLib; }; 173 173 doh-proxy-rust = handleTest ./doh-proxy-rust.nix {}; 174 174 dokuwiki = handleTest ./dokuwiki.nix {}; 175 + dolibarr = handleTest ./dolibarr.nix {}; 175 176 domination = handleTest ./domination.nix {}; 176 177 dovecot = handleTest ./dovecot.nix {}; 177 178 drbd = handleTest ./drbd.nix {};
+2 -2
nixos/tests/upnp.nix
··· 47 47 48 48 client1 = 49 49 { pkgs, nodes, ... }: 50 - { environment.systemPackages = [ pkgs.miniupnpc_2 pkgs.netcat ]; 50 + { environment.systemPackages = [ pkgs.miniupnpc pkgs.netcat ]; 51 51 virtualisation.vlans = [ 2 ]; 52 52 networking.defaultGateway = internalRouterAddress; 53 53 networking.interfaces.eth1.ipv4.addresses = [ ··· 65 65 66 66 client2 = 67 67 { pkgs, ... }: 68 - { environment.systemPackages = [ pkgs.miniupnpc_2 ]; 68 + { environment.systemPackages = [ pkgs.miniupnpc ]; 69 69 virtualisation.vlans = [ 1 ]; 70 70 networking.interfaces.eth1.ipv4.addresses = [ 71 71 { address = externalClient2Address; prefixLength = 24; }
+2 -2
pkgs/applications/blockchains/groestlcoin/default.nix
··· 10 10 , wrapQtAppsHook ? null 11 11 , boost 12 12 , libevent 13 - , miniupnpc_2 13 + , miniupnpc 14 14 , zeromq 15 15 , zlib 16 16 , db53 ··· 47 47 ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ] 48 48 ++ lib.optionals withGui [ wrapQtAppsHook ]; 49 49 50 - buildInputs = [ boost libevent miniupnpc_2 zeromq zlib ] 50 + buildInputs = [ boost libevent miniupnpc zeromq zlib ] 51 51 ++ lib.optionals withWallet [ db53 sqlite ] 52 52 ++ lib.optionals withGui [ qrencode qtbase qttools ]; 53 53
+3 -3
pkgs/applications/blockchains/lnd/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "lnd"; 9 - version = "0.15.2-beta"; 9 + version = "0.15.4-beta"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "lightningnetwork"; 13 13 repo = "lnd"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-C7BZ6awY2v5Uvvh12YEosoEQyJoetWzH/1wIQSVjtEk="; 15 + sha256 = "sha256-/PKW2Y6+PlWk88pC4DHFi1ZRqMfQzoO9MVLYZrB2UNc="; 16 16 }; 17 17 18 - vendorSha256 = "sha256-rCdcPkgrFcDfLfF8wipFws7YTKEgotuVqVIJYLMOxbs="; 18 + vendorSha256 = "sha256-bUo0PhtOFhsZfhAXtRJMjfaLrAsOv3ksxsrPOlMNv48="; 19 19 20 20 subPackages = [ "cmd/lncli" "cmd/lnd" ]; 21 21
+2 -2
pkgs/applications/blockchains/wownero/default.nix
··· 1 - { lib, stdenv, fetchFromGitea, cmake, boost, miniupnpc_2, openssl, unbound 1 + { lib, stdenv, fetchFromGitea, cmake, boost, miniupnpc, openssl, unbound 2 2 , readline, libsodium, rapidjson 3 3 }: 4 4 ··· 28 28 nativeBuildInputs = [ cmake ]; 29 29 30 30 buildInputs = [ 31 - boost miniupnpc_2 openssl unbound rapidjson readline libsodium 31 + boost miniupnpc openssl unbound rapidjson readline libsodium 32 32 ]; 33 33 34 34 postUnpack = ''
-16
pkgs/applications/emulators/mgba/default.nix
··· 3 3 , fetchFromGitHub 4 4 , SDL2 5 5 , cmake 6 - , copyDesktopItems 7 6 , ffmpeg 8 7 , imagemagick 9 8 , libedit ··· 11 10 , libepoxy 12 11 , libzip 13 12 , lua 14 - , makeDesktopItem 15 13 , minizip 16 14 , pkg-config 17 15 , qtbase ··· 33 31 34 32 nativeBuildInputs = [ 35 33 cmake 36 - copyDesktopItems 37 34 pkg-config 38 35 wrapQtAppsHook 39 36 ]; ··· 51 48 qtbase 52 49 qtmultimedia 53 50 qttools 54 - ]; 55 - 56 - desktopItems = [ 57 - (makeDesktopItem { 58 - name = "mgba"; 59 - exec = "mgba-qt"; 60 - icon = "mgba"; 61 - comment = "A Game Boy Advance Emulator"; 62 - desktopName = "mgba"; 63 - genericName = "Game Boy Advance Emulator"; 64 - categories = [ "Game" "Emulator" ]; 65 - startupNotify = false; 66 - }) 67 51 ]; 68 52 69 53 meta = with lib; {
+2 -2
pkgs/applications/graphics/hydrus/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , wrapQtAppsHook 4 - , miniupnpc_2 4 + , miniupnpc 5 5 , ffmpeg 6 6 , enableSwftools ? false 7 7 , swftools ··· 108 108 dontWrapQtApps = true; 109 109 preFixup = '' 110 110 makeWrapperArgs+=("''${qtWrapperArgs[@]}") 111 - makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg miniupnpc_2 ]}) 111 + makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg miniupnpc ]}) 112 112 ''; 113 113 114 114 meta = with lib; {
+2 -2
pkgs/applications/graphics/vengi-tools/default.nix
··· 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "vengi-tools"; 32 - version = "0.0.21"; 32 + version = "0.0.22"; 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "mgerhardy"; 36 36 repo = "vengi"; 37 37 rev = "v${version}"; 38 - sha256 = "sha256-T9YBU/YhhOASdKnzLcwQGBLc4HcQspiOV9VRgotfq3c="; 38 + sha256 = "sha256-OlOnr1Spy8kdie9CyLVOQkY1+ib6Uwcd/xP5TSaZkYg="; 39 39 }; 40 40 41 41 nativeBuildInputs = [
+2 -2
pkgs/applications/office/fava/default.nix
··· 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "fava"; 5 - version = "1.23"; 5 + version = "1.23.1"; 6 6 format = "pyproject"; 7 7 8 8 src = python3.pkgs.fetchPypi { 9 9 inherit pname version; 10 - sha256 = "sha256-dwJKSQiuggnseEbALSrT051Me/z1jpj/BjuxN0v5dpU="; 10 + sha256 = "sha256-Uw8UIJa+Dtsy+o31I1ynLyhZrFNX42NFRXu1O2ISbzU="; 11 11 }; 12 12 13 13 nativeBuildInputs = with python3.pkgs; [ setuptools-scm ];
+35
pkgs/data/fonts/crimson-pro/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "crimson-pro"; 5 + version = "unstable-2022-08-30"; 6 + 7 + outputs = [ "out" "woff2" ]; 8 + 9 + src = fetchFromGitHub { 10 + owner = "Fonthausen"; 11 + repo = "CrimsonPro"; 12 + rev = "24e8f7bf59ec45d77c67879ad80d97e5f94c787b"; 13 + hash = "sha256-3zFB1AMcC7eNEVA2Mx1OE8rLN9zPzexZ3FtER9wH5ss="; 14 + }; 15 + 16 + dontBuild = true; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf 22 + install -m444 -Dt $out/share/fonts/opentype fonts/otf/*.otf 23 + install -m444 -Dt $woff2/share/fonts/woff2 fonts/webfonts/*.woff2 24 + 25 + runHook postInstall 26 + ''; 27 + 28 + meta = with lib; { 29 + homepage = "https://github.com/Fonthausen/CrimsonPro"; 30 + description = "A professionally produced redesign of Crimson by Jacques Le Bailly"; 31 + license = licenses.ofl; 32 + platforms = platforms.all; 33 + maintainers = with maintainers; [ ncfavier ]; 34 + }; 35 + }
+2 -2
pkgs/data/icons/papirus-icon-theme/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "papirus-icon-theme"; 5 - version = "20220910"; 5 + version = "20221101"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "PapirusDevelopmentTeam"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-ohZe7TCvbQcJmUyFY7DN6BgfAAqW1HhXi1UXXPh0t4Q="; 11 + sha256 = "sha256-MSH7yd5fizBtmkTNG3gMFxNpjVDKWsHM8wogPhBMkk8="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gtk3 papirus-folders ];
+2
pkgs/development/compilers/asl/default.nix
··· 18 18 19 19 postPatch = lib.optionalString (!buildDocs) '' 20 20 substituteInPlace Makefile --replace "all: binaries docs" "all: binaries" 21 + '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' 22 + substituteInPlace sysdefs.h --replace "x86_64" "aarch64" 21 23 ''; 22 24 23 25 dontConfigure = true;
+2 -2
pkgs/development/python-modules/casbin/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "casbin"; 12 - version = "1.17.2"; 12 + version = "1.17.3"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; ··· 18 18 owner = pname; 19 19 repo = "pycasbin"; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-wJYGo87K9Ae2HoN/ZR3S0EiX2v68vs+Vb75nA+Csass="; 21 + hash = "sha256-b/bA1ClBdj25aPoniszqRtNih+qzJuLMiGkNoV1cv7c="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+65
pkgs/development/python-modules/demetriek/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , awesomeversion 4 + , backoff 5 + , buildPythonPackage 6 + , pydantic 7 + , fetchFromGitHub 8 + , poetry-core 9 + , yarl 10 + , aresponses 11 + , pytest-asyncio 12 + , pytestCheckHook 13 + , pythonOlder 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "demetriek"; 18 + version = "0.4.0"; 19 + format = "pyproject"; 20 + 21 + disabled = pythonOlder "3.9"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "frenck"; 25 + repo = "python-demetriek"; 26 + rev = "refs/tags/v${version}"; 27 + sha256 = "sha256-LCHHBcZgO9gw5jyaJiiS4lKyb0ut+PJvKTylIvIKHhc="; 28 + }; 29 + 30 + postPatch = '' 31 + # Upstream doesn't set a version for the pyproject.toml 32 + substituteInPlace pyproject.toml \ 33 + --replace "0.0.0" "${version}" \ 34 + --replace "--cov" "" 35 + ''; 36 + 37 + nativeBuildInputs = [ 38 + poetry-core 39 + ]; 40 + 41 + propagatedBuildInputs = [ 42 + aiohttp 43 + awesomeversion 44 + backoff 45 + pydantic 46 + yarl 47 + ]; 48 + 49 + checkInputs = [ 50 + aresponses 51 + pytest-asyncio 52 + pytestCheckHook 53 + ]; 54 + 55 + pythonImportsCheck = [ 56 + "demetriek" 57 + ]; 58 + 59 + meta = with lib; { 60 + description = "Python client for LaMetric TIME devices"; 61 + homepage = "https://github.com/frenck/python-demetriek"; 62 + license = licenses.mit; 63 + maintainers = with maintainers; [ fab ]; 64 + }; 65 + }
+24
pkgs/development/python-modules/gym-notices/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "gym-notices"; 8 + version = "0.0.8"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "sha256-rSXiAEh8r6NpcoYl/gZOiK2hNGYYUmECZZtGQPK0uRE="; 13 + }; 14 + 15 + pythonImportsCheck = [ "gym_notices" ]; 16 + 17 + meta = with lib; { 18 + description = "Notices for Python package Gym"; 19 + homepage = "https://github.com/Farama-Foundation/gym-notices"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ billhuang ]; 22 + }; 23 + } 24 +
+8 -4
pkgs/development/python-modules/gym/default.nix
··· 3 3 , fetchFromGitHub 4 4 , numpy 5 5 , cloudpickle 6 + , gym-notices 7 + , importlib-metadata 8 + , pythonOlder 6 9 }: 7 10 8 11 buildPythonPackage rec { 9 12 pname = "gym"; 10 - version = "0.21.0"; 13 + version = "0.26.2"; 11 14 12 15 src = fetchFromGitHub { 13 16 owner = "openai"; 14 17 repo = pname; 15 - rev = "v${version}"; 16 - sha256 = "12b545xz0r2g4z5r7f8amxl7nm0lqymkzwcwhg1bni9h0sxwpv6c"; 18 + rev = "${version}"; 19 + sha256 = "sha256-uJgm8l1SxIRC5PV6BIH/ht/1ucGT5UaUhkFMdusejgA="; 17 20 }; 18 21 19 22 propagatedBuildInputs = [ 20 23 cloudpickle 21 24 numpy 22 - ]; 25 + gym-notices 26 + ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; 23 27 24 28 # The test needs MuJoCo that is not free library. 25 29 doCheck = false;
+2 -2
pkgs/development/python-modules/meshtastic/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "meshtastic"; 21 - version = "1.3.44"; 21 + version = "2.0.1"; 22 22 format = "setuptools"; 23 23 24 24 disabled = pythonOlder "3.7"; ··· 27 27 owner = "meshtastic"; 28 28 repo = "Meshtastic-python"; 29 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-3OINNcdyZyhofGJDvAVyDLv/ylomM6LP4cEBkmeYwn4="; 30 + hash = "sha256-2m63OSVyhZgptBln+b65zX3609Liwq5V2a78UQThHyE="; 31 31 }; 32 32 33 33 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/readme_renderer/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "readme-renderer"; 15 - version = "37.2"; 15 + version = "37.3"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.6"; ··· 20 20 src = fetchPypi { 21 21 pname = "readme_renderer"; 22 22 inherit version; 23 - sha256 = "sha256-6K0lKTyY94HbwsWjajCZKTkACfkC+Z4XmMdhqvBKeSM="; 23 + sha256 = "sha256-zWUxht/HMFVlbwkPIn9csioEbX9xqEHfowX1XJpRMnM="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-pytz/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-pytz"; 8 - version = "2022.5.0.0"; 8 + version = "2022.6.0.1"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-DBY7FdPlmObMcHSpnKnscrJdwbRGrMEzuCdmevC3sJo="; 13 + sha256 = "sha256-0HgZY3TRJ36fmYTUk3PqBDzyxk1dXEkfvIbCWFV71G8="; 14 14 }; 15 15 16 16 # Modules doesn't have tests
+1 -1
pkgs/development/tools/analysis/cppcheck/default.nix
··· 19 19 owner = "danmar"; 20 20 repo = "cppcheck"; 21 21 rev = version; 22 - sha256 = "sha256-8vwuNK7qQg+pkUnWpEe8272BuHJUaidm8MoGsXVt1X8="; 22 + hash = "sha256-bKZOAGInks26NmzlKo1T8NREO9xoF8ZsssNDzyTJwlU="; 23 23 }; 24 24 25 25 buildInputs = [ pcre
+31
pkgs/development/tools/bomber-go/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "bomber-go"; 8 + version = "0.3.4"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "devops-kung-fu"; 12 + repo = "bomber"; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-q30wTM8HQURDBUReQsXgKHI4m4sSdHbWPwUld0sAays="; 15 + }; 16 + 17 + vendorHash = "sha256-tkjwnc5EquAuIfYKy8u6ZDFJPl/UTW6x7vvY1QTsBXg="; 18 + 19 + ldflags = [ 20 + "-w" 21 + "-s" 22 + ]; 23 + 24 + meta = with lib; { 25 + description = "Tool to scans Software Bill of Materials (SBOMs) for vulnerabilities"; 26 + homepage = "https://github.com/devops-kung-fu/bomber"; 27 + license = licenses.mpl20; 28 + mainProgram = "bomber"; 29 + maintainers = with maintainers; [ fab ]; 30 + }; 31 + }
+2 -2
pkgs/development/tools/build-managers/sbt/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "sbt"; 11 - version = "1.7.2"; 11 + version = "1.7.3"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz"; 15 - sha256 = "sha256-vWSDnIzWPy3sMdbqJODeFsYTyEqSeh9FiuQBmyujENc="; 15 + sha256 = "sha256-J4bDI5bLiH9Gz8OlU5eHJRPsdahJ6uqfTwFGkoycsGA="; 16 16 }; 17 17 18 18 postPatch = ''
+3 -3
pkgs/development/tools/gopls/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gopls"; 5 - version = "0.9.5"; 5 + version = "0.10.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "golang"; 9 9 repo = "tools"; 10 10 rev = "gopls/v${version}"; 11 - sha256 = "sha256-kDO7Sxz2pqZZBG2eGAWyh9UTAoYLzkAn86qh9LdepoU="; 11 + sha256 = "sha256-bSy5aoIrYjMG6hlkDf4vyR6r2XpjKAOX0C6MitYeg8k="; 12 12 }; 13 13 14 14 modRoot = "gopls"; 15 - vendorSha256 = "sha256-ny+gD3ZXp6ZncWJtpW9fprYojQBkIUL+FEKp/7K5rrU="; 15 + vendorSha256 = "sha256-UwHZRSH2amS1um9hi/MRs3nQiCXCl52+S7+hqc/Orqc="; 16 16 17 17 doCheck = false; 18 18
+31
pkgs/development/tools/legitify/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "legitify"; 8 + version = "0.1.5"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "Legit-Labs"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + hash = "sha256-Sr6P5S5+DqbP0ihCj97l84739/NRAlYJLnXp4B5gHNE="; 15 + }; 16 + 17 + vendorHash = "sha256-EJMXzWrOXFl7JFYBp/XAcHLcNyWCKbOBAyo/Yf2mh5s="; 18 + 19 + ldflags = [ 20 + "-w" 21 + "-s" 22 + "-X github.com/Legit-Labs/legitify/internal/version.Version=${version}" 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "Tool to detect and remediate misconfigurations and security risks of GitHub assets"; 27 + homepage = "https://github.com/Legit-Labs/legitify"; 28 + license = licenses.asl20; 29 + maintainers = with maintainers; [ fab ]; 30 + }; 31 + }
+3 -3
pkgs/development/tools/misc/act/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "act"; 5 - version = "0.2.32"; 5 + version = "0.2.33"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "nektos"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-fHGS05qlRSVTrjEx71hhVridbpbLVyaAOg3uMYIj0TU="; 11 + sha256 = "sha256-FNOZA4sb0IlKkLiE+uPOE5KJXlU7XbtHlmPJUMJbGNE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ctIKaThBIzaBw3/a0pat+G7Zb4Y2F7mk8VZWoM0XdyI="; 14 + vendorSha256 = "sha256-9ziHGZWHeYk0sxOxIFCnrLd1iqT9orgwE7eixvSMhlc="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/development/tools/yq-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "yq-go"; 5 - version = "4.29.1"; 5 + version = "4.29.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mikefarah"; 9 9 repo = "yq"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-aZMlWC6qtN2TvND18QO8Q3UicSNa9cZT/xPmia3V6FM="; 11 + sha256 = "sha256-ZHl0FTxWdoxHrbWx6mp5qR/l/FtC3bBkzGuR0T2NouA="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-L3l6wH4bR1/R6MtQTHYsyRE5E/EPnpNwa310zUONo+s=";
+2 -2
pkgs/games/prismlauncher/default.nix
··· 32 32 in 33 33 stdenv.mkDerivation rec { 34 34 pname = "prismlauncher"; 35 - version = "5.0"; 35 + version = "5.1"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "PrismLauncher"; 39 39 repo = "PrismLauncher"; 40 40 rev = version; 41 - sha256 = "sha256-oN+DpJ08N/ar5wLAahgpBV9DeHtMTwSrE7uOwT3A+Yo="; 41 + sha256 = "sha256-CZH2vINHoQy1hVfKloRrcoCDdXPQRnIylpClQJdOUrk="; 42 42 }; 43 43 44 44 nativeBuildInputs = [ extra-cmake-modules ghc_filesystem cmake file jdk wrapQtAppsHook ];
+2 -2
pkgs/games/unciv/default.nix
··· 25 25 in 26 26 stdenv.mkDerivation rec { 27 27 pname = "unciv"; 28 - version = "4.2.13"; 28 + version = "4.2.16"; 29 29 30 30 src = fetchurl { 31 31 url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; 32 - sha256 = "sha256-xYYuToo+19qaVyWFKrgjsqVs78rHdX/hyZ/nXYlPFMU="; 32 + sha256 = "sha256-AViMFK3MwDbd+N1ycqcMAzzCVudnU/kZWcsqr5Wx31k="; 33 33 }; 34 34 35 35 dontUnpack = true;
+1 -1
pkgs/os-specific/linux/kernel/common-config.nix
··· 551 551 CGROUP_RDMA = whenAtLeast "4.11" yes; 552 552 553 553 MEMCG = yes; 554 - MEMCG_SWAP = yes; 554 + MEMCG_SWAP = whenOlder "6.1" yes; 555 555 556 556 BLK_DEV_THROTTLING = yes; 557 557 CFQ_GROUP_IOSCHED = whenOlder "5.0" yes; # Removed in 5.0-RC1
+2 -2
pkgs/os-specific/linux/kernel/linux-testing.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "6.0-rc5"; 6 + version = "6.1-rc3"; 7 7 extraMeta.branch = lib.versions.majorMinor version; 8 8 9 9 # modDirVersion needs to be x.y.z, will always add .0 ··· 11 11 12 12 src = fetchurl { 13 13 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; 14 - hash = "sha256-GELU1ZEOM5gGUJxG54JoiI9qLQXJ2Cd/kyOLcp0AWgc="; 14 + hash = "sha256-qz863wvIe/JJjqSYoxxbt+2xTqgNNZJpAfWr8nG8wKk="; 15 15 }; 16 16 17 17 # Should the testing kernels ever be built on Hydra?
+3 -1
pkgs/servers/home-assistant/component-packages.nix
··· 1606 1606 ]; # missing inputs: lacrosse-view 1607 1607 "lametric" = ps: with ps; [ 1608 1608 aiohttp-cors 1609 - ]; # missing inputs: demetriek 1609 + demetriek 1610 + ]; 1610 1611 "landisgyr_heat_meter" = ps: with ps; [ 1611 1612 ultraheat-api 1612 1613 ]; ··· 3918 3919 "konnected" 3919 3920 "kraken" 3920 3921 "kulersky" 3922 + "lametric" 3921 3923 "landisgyr_heat_meter" 3922 3924 "lastfm" 3923 3925 "launch_library"
+8 -6
pkgs/servers/libreddit/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "libreddit"; 11 - version = "0.22.9"; 11 + version = "0.23.1"; 12 12 13 13 src = fetchFromGitHub { 14 - owner = "spikecodes"; 14 + owner = "libreddit"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-xsWV3DWAFekWliFRdea2J+Mygl/58d92qTXJ7/4YVEg="; 17 + hash = "sha256-qO9AgEAm+wK8LAlUOYIKYTXJYT3yz65UWAFTf711+5w="; 18 18 }; 19 19 20 - cargoSha256 = "sha256-eLfKfl7CYH2V9WJksLps6uAckQEPB5dFKBY2B6CMa/8="; 20 + cargoSha256 = "sha256-ApZLYKavYt1Zp7qvdbhBXPBj7qv/D/oZp5lK2sfWnDI="; 21 21 22 - buildInputs = lib.optional stdenv.isDarwin Security; 22 + buildInputs = lib.optional stdenv.isDarwin [ 23 + Security 24 + ]; 23 25 24 26 passthru.tests = { 25 27 inherit (nixosTests) libreddit; ··· 27 29 28 30 meta = with lib; { 29 31 description = "Private front-end for Reddit"; 30 - homepage = "https://github.com/spikecodes/libreddit"; 32 + homepage = "https://github.com/libreddit/libreddit"; 31 33 license = with licenses; [ agpl3Only ]; 32 34 maintainers = with maintainers; [ fab jojosch ]; 33 35 };
+2 -2
pkgs/servers/web-apps/dolibarr/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dolibarr"; 5 - version = "16.0.0"; 5 + version = "16.0.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Dolibarr"; 9 9 repo = "dolibarr"; 10 10 rev = version; 11 - sha256 = "sha256-6BS1UHcfxiG1AXJSagxydtl5TU7tyZt21Q3geNmwkYY="; 11 + sha256 = "sha256-67Ox0DP4vfiz8GgD3nfa4FyB6Qrqkc2zt1iMS584CWs="; 12 12 }; 13 13 14 14 dontBuild = true;
+3 -3
pkgs/tools/filesystems/apfsprogs/default.nix
··· 5 5 6 6 stdenv.mkDerivation { 7 7 pname = "apfsprogs"; 8 - version = "unstable-2022-07-21"; 8 + version = "unstable-2022-10-15"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "linux-apfs"; 12 12 repo = "apfsprogs"; 13 - rev = "8c5340bcc0a261ffe6e5ed85a1742fb60ee982f3"; 14 - sha256 = "sha256-cDxXWfXl1VxdpKBcU00ULWlidzg6kQFG4AGEu5DBCaw="; 13 + rev = "e3d5eec21da31107457f868f7f37c48c6809b7fa"; 14 + hash = "sha256-gxcsWLIs2+28SOLLeAP7iP6MaLE445CKTlD+gVE6V5g="; 15 15 }; 16 16 17 17 buildPhase = ''
+10 -11
pkgs/tools/misc/yutto/default.nix
··· 1 1 { lib 2 - , buildPythonApplication 3 - , fetchPypi 4 - , pythonOlder 5 - , poetry-core 6 - , aiohttp 7 - , aiofiles 8 - , biliass 9 - , dicttoxml 10 - , colorama 2 + , python3 11 3 , ffmpeg 12 4 , makeWrapper 5 + , nix-update-script 13 6 }: 14 7 8 + with python3.pkgs; 9 + 15 10 buildPythonApplication rec { 16 11 pname = "yutto"; 17 - version = "2.0.0b15"; 12 + version = "2.0.0b16"; 18 13 format = "pyproject"; 19 14 20 15 disabled = pythonOlder "3.9"; 21 16 22 17 src = fetchPypi { 23 18 inherit pname version; 24 - hash = "sha256-TOFApMwY2WRYg2H2N0PIjylYFKnTHdszdU+AFgLYYwc="; 19 + hash = "sha256-aGmayZGXmEyVuUKDKrgcYuPKsib/c5ou5CZ+Sag6Evk="; 25 20 }; 26 21 27 22 nativeBuildInputs = [ ··· 41 36 ''; 42 37 43 38 pythonImportsCheck = [ "yutto" ]; 39 + 40 + passthru.updateScript = nix-update-script { 41 + attrPath = pname; 42 + }; 44 43 45 44 meta = with lib; { 46 45 description = "A Bilibili downloader";
+26 -32
pkgs/tools/networking/miniupnpc/default.nix
··· 1 - { lib, stdenv, fetchurl, which, cctools }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , which 5 + , cctools 6 + }: 2 7 3 - let 4 - generic = { version, sha256 }: 5 - stdenv.mkDerivation rec { 6 - pname = "miniupnpc"; 7 - inherit version; 8 - src = fetchurl { 9 - url = "https://miniupnp.tuxfamily.org/files/${pname}-${version}.tar.gz"; 10 - inherit sha256; 11 - }; 8 + stdenv.mkDerivation rec { 9 + pname = "miniupnpc"; 10 + version = "2.2.4"; 12 11 13 - nativeBuildInputs = lib.optionals stdenv.isDarwin [ which cctools ]; 12 + src = fetchurl { 13 + url = "https://miniupnp.tuxfamily.org/files/${pname}-${version}.tar.gz"; 14 + sha256 = "0jrc84lkc7xb53rb8dbswxrxj21ndj1iiclmk3r9wkp6xm55w6j8"; 15 + }; 14 16 15 - patches = lib.optional stdenv.isFreeBSD ./freebsd.patch; 17 + nativeBuildInputs = lib.optionals stdenv.isDarwin [ which cctools ]; 16 18 17 - doCheck = !stdenv.isFreeBSD; 19 + patches = lib.optional stdenv.isFreeBSD ./freebsd.patch; 18 20 19 - makeFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ]; 21 + doCheck = !stdenv.isFreeBSD; 20 22 21 - postInstall = '' 22 - chmod +x "$out"/lib/libminiupnpc${stdenv.hostPlatform.extensions.sharedLibrary} 23 - ''; 23 + makeFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ]; 24 + 25 + postInstall = '' 26 + chmod +x "$out"/lib/libminiupnpc${stdenv.hostPlatform.extensions.sharedLibrary} 27 + ''; 24 28 25 - meta = with lib; { 26 - homepage = "https://miniupnp.tuxfamily.org/"; 27 - description = "A client that implements the UPnP Internet Gateway Device (IGD) specification"; 28 - platforms = with platforms; linux ++ freebsd ++ darwin; 29 - license = licenses.bsd3; 30 - }; 31 - }; 32 - in { 33 - miniupnpc_2 = generic { 34 - version = "2.2.4"; 35 - sha256 = "0jrc84lkc7xb53rb8dbswxrxj21ndj1iiclmk3r9wkp6xm55w6j8"; 36 - }; 37 - miniupnpc_1 = generic { 38 - version = "1.9.20160209"; 39 - sha256 = "0vsbv6a8by67alx4rxfsrxxsnmq74rqlavvvwiy56whxrkm728ap"; 29 + meta = with lib; { 30 + homepage = "https://miniupnp.tuxfamily.org/"; 31 + description = "A client that implements the UPnP Internet Gateway Device (IGD) specification"; 32 + platforms = with platforms; linux ++ freebsd ++ darwin; 33 + license = licenses.bsd3; 40 34 }; 41 35 }
+3
pkgs/tools/security/credslayer/default.nix
··· 48 48 homepage = "https://github.com/ShellCode33/CredSLayer"; 49 49 license = with licenses; [ gpl3Only ]; 50 50 maintainers = with maintainers; [ fab ]; 51 + # Upstream issue https://github.com/ShellCode33/CredSLayer/issues/16 52 + # This package works only with pyshark < 0.5 53 + broken = true; 51 54 }; 52 55 }
+2 -2
pkgs/tools/security/oath-toolkit/default.nix
··· 1 - { lib, stdenv, fetchurl, pam, xmlsec }: 1 + { lib, stdenv, fetchurl, nix-update-script, pam, xmlsec }: 2 2 3 3 let 4 4 # TODO: Switch to OpenPAM once https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/26 is addressed upstream ··· 19 19 20 20 configureFlags = lib.optionals stdenv.isDarwin [ "--disable-pam" ]; 21 21 22 - passthru.updateScript = ./update.sh; 22 + passthru.updateScript = nix-update-script { attrPath = pname; }; 23 23 24 24 meta = with lib; { 25 25 description = "Components for building one-time password authentication systems";
-50
pkgs/tools/security/oath-toolkit/update.sh
··· 1 - #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p curl git gnugrep nix 3 - 4 - set -euo pipefail 5 - 6 - nixfile='default.nix' 7 - release_url='https://download.savannah.nongnu.org/releases/oath-toolkit/' 8 - attr='oath-toolkit' 9 - command='oathtool --version' 10 - 11 - color() { 12 - printf '%s: \033[%sm%s\033[39m\n' "$0" "$1" "$2" >&2 || true 13 - } 14 - 15 - color 32 "downloading $release_url..." 16 - if ! release_page=$(curl -Lf "$release_url"); then 17 - color 31 "cannot download release page" 18 - exit 1 19 - fi 20 - 21 - tarball_name=$(printf '%s\n' "$release_page" \ 22 - | grep -Po '(?<=href=").*?\.tar\.gz(?=")' \ 23 - | sort -n | tail -n1) 24 - tarball_version="${tarball_name%.tar.*}" 25 - tarball_version="${tarball_version##*-}" 26 - tarball_url="mirror://savannah${release_url#https://*/releases}$tarball_name" 27 - 28 - color 32 "nix-prefetch-url $tarball_url..." 29 - if ! tarball_sha256=$(nix-prefetch-url --type sha256 "$tarball_url"); then 30 - color 31 "cannot prefetch $tarball_url" 31 - exit 1 32 - fi 33 - 34 - old_version=$(grep -Pom1 '(?<=version = ").*?(?=";)' "$nixfile") 35 - 36 - version=$(printf 'version = "%s";\n' "$tarball_version") 37 - sha256=$(printf 'sha256 = "%s";\n' "$tarball_sha256") 38 - sed -e "s,version = .*,$version," -e "s,sha256 = .*,$sha256," -i "$nixfile" 39 - 40 - if git diff --exit-code "$nixfile" > /dev/stderr; then 41 - printf '\n' >&2 || true 42 - color 32 "$tarball_version is up to date" 43 - else 44 - color 32 "running '$command' with nix-shell..." 45 - nix-shell -p "callPackage ./$nixfile {}" --run "$command" 46 - msg="$attr: $old_version -> $tarball_version" 47 - printf '\n' >&2 || true 48 - color 31 "$msg" 49 - git commit -m "$msg" "$nixfile" 50 - fi
+1
pkgs/top-level/aliases.nix
··· 914 914 minetestclient_4 = throw "minetestclient_4 has been removed from Nixpkgs; current version is available at minetest or minetestclient"; # added 2022-02-01 915 915 minetestserver_4 = throw "minetestserver_4 has been removed from Nixpkgs; current version is available at minetestserver"; # added 2022-02-01 916 916 minetime = throw "minetime has been removed from nixpkgs, because it was discontinued 2021-06-22"; # Added 2021-10-14 917 + miniupnpc_1 = throw "miniupnpc_1 has been removed; current version is available at miniupnpc"; # Added 2022-10-30 917 918 mist = throw "mist has been removed as the upstream project has been abandoned, see https://github.com/ethereum/mist#mist-browser-deprecated"; # Added 2020-08-15 918 919 mlt-qt5 = throw "'mlt-qt5' has been renamed to/replaced by 'libsForQt5.mlt'"; # Converted to throw 2022-02-22 919 920 mobile_broadband_provider_info = throw "'mobile_broadband_provider_info' has been renamed to/replaced by 'mobile-broadband-provider-info'"; # Converted to throw 2022-02-22
+12 -12
pkgs/top-level/all-packages.nix
··· 5129 5129 5130 5130 bogofilter = callPackage ../tools/misc/bogofilter { }; 5131 5131 5132 + bomber-go = callPackage ../development/tools/bomber-go { }; 5133 + 5132 5134 bomutils = callPackage ../tools/archivers/bomutils { }; 5133 5135 5134 5136 boofuzz= callPackage ../tools/security/boofuzz { }; ··· 9244 9246 9245 9247 minissdpd = callPackage ../tools/networking/minissdpd { }; 9246 9248 9247 - inherit (callPackage ../tools/networking/miniupnpc 9248 - { inherit (darwin) cctools; }) 9249 - miniupnpc_1 miniupnpc_2; 9250 - miniupnpc = miniupnpc_1; 9249 + miniupnpc = callPackage ../tools/networking/miniupnpc { 9250 + inherit (darwin) cctools; 9251 + }; 9251 9252 9252 9253 miniupnpd = callPackage ../tools/networking/miniupnpd { }; 9253 9254 ··· 26070 26071 26071 26072 crimson = callPackage ../data/fonts/crimson {}; 26072 26073 26074 + crimson-pro = callPackage ../data/fonts/crimson-pro {}; 26075 + 26073 26076 dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts {}); 26074 26077 26075 26078 # solve collision for nix-env before https://github.com/NixOS/nix/pull/815 ··· 28791 28794 gum = callPackage ../applications/misc/gum { }; 28792 28795 28793 28796 hydrus = python3Packages.callPackage ../applications/graphics/hydrus { 28794 - inherit miniupnpc_2 swftools; 28797 + inherit miniupnpc swftools; 28795 28798 inherit (qt5) wrapQtAppsHook; 28796 28799 }; 28797 28800 ··· 29856 29859 29857 29860 legit = callPackage ../applications/version-management/git-and-tools/legit { }; 29858 29861 29862 + legitify = callPackage ../development/tools/legitify { }; 29863 + 29859 29864 lens = callPackage ../applications/networking/cluster/lens { }; 29860 29865 29861 29866 leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { }; ··· 33205 33210 33206 33211 ytmdl = callPackage ../tools/misc/ytmdl { }; 33207 33212 33208 - yutto = with python3.pkgs; toPythonApplication yutto; 33213 + yutto = callPackage ../tools/misc/yutto { }; 33209 33214 33210 33215 yuview = libsForQt5.yuview; 33211 33216 ··· 33300 33305 33301 33306 bitcoin = libsForQt5.callPackage ../applications/blockchains/bitcoin { 33302 33307 boost = boost17x; 33303 - miniupnpc = miniupnpc_2; 33304 33308 withGui = true; 33305 33309 inherit (darwin) autoSignDarwinBinariesHook; 33306 33310 }; 33307 33311 33308 33312 bitcoind = callPackage ../applications/blockchains/bitcoin { 33309 33313 boost = boost17x; 33310 - miniupnpc = miniupnpc_2; 33311 33314 withGui = false; 33312 33315 inherit (darwin) autoSignDarwinBinariesHook; 33313 33316 }; 33314 33317 33315 33318 bitcoind-knots = callPackage ../applications/blockchains/bitcoin-knots { 33316 33319 boost = boost17x; 33317 - miniupnpc = miniupnpc_2; 33318 33320 withGui = false; 33319 33321 inherit (darwin) autoSignDarwinBinariesHook; 33320 33322 }; ··· 33402 33404 }; 33403 33405 33404 33406 elements = libsForQt5.callPackage ../applications/blockchains/elements { 33405 - miniupnpc = miniupnpc_2; 33406 33407 withGui = true; 33407 33408 boost = boost175; 33408 33409 inherit (darwin) autoSignDarwinBinariesHook; 33409 33410 }; 33410 33411 elementsd = callPackage ../applications/blockchains/elements { 33411 - miniupnpc = miniupnpc_2; 33412 33412 withGui = false; 33413 33413 boost = boost175; 33414 33414 inherit (darwin) autoSignDarwinBinariesHook; ··· 33567 33567 inherit (darwin.apple_sdk.frameworks) Security; 33568 33568 }; 33569 33569 33570 - particl-core = callPackage ../applications/blockchains/particl-core { miniupnpc = miniupnpc_2; }; 33570 + particl-core = callPackage ../applications/blockchains/particl-core { }; 33571 33571 33572 33572 quorum = callPackage ../applications/blockchains/quorum { }; 33573 33573
+4 -2
pkgs/top-level/python-packages.nix
··· 2277 2277 2278 2278 deluge-client = callPackage ../development/python-modules/deluge-client { }; 2279 2279 2280 + demetriek = callPackage ../development/python-modules/demetriek { }; 2281 + 2280 2282 demjson3 = callPackage ../development/python-modules/demjson3 { }; 2281 2283 2282 2284 dendropy = callPackage ../development/python-modules/dendropy { }; ··· 4052 4054 gviz-api = callPackage ../development/python-modules/gviz-api { }; 4053 4055 4054 4056 gym = callPackage ../development/python-modules/gym { }; 4057 + 4058 + gym-notices = callPackage ../development/python-modules/gym-notices { }; 4055 4059 4056 4060 gyp = callPackage ../development/python-modules/gyp { }; 4057 4061 ··· 12129 12133 ytmusicapi = callPackage ../development/python-modules/ytmusicapi { }; 12130 12134 12131 12135 yubico-client = callPackage ../development/python-modules/yubico-client { }; 12132 - 12133 - yutto = callPackage ../tools/misc/yutto { }; 12134 12136 12135 12137 z3c-checkversions = callPackage ../development/python-modules/z3c-checkversions { }; 12136 12138