Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
- pkgs/development/python-modules/types-setuptools/default.nix

+447 -173
+1
nixos/modules/services/misc/gitlab.nix
··· 1359 1359 '' 1360 1360 else '' 1361 1361 jq <${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} \ 1362 + '${if lib.versionAtLeast (lib.getVersion cfg.packages.gitlab) "15.9" then ".production.main as $main | del(.production.main) | .production |= {main: $main} + ." else ""}' \ 1362 1363 >'${cfg.statePath}/config/database.yml' 1363 1364 '' 1364 1365 }
-73
nixos/modules/services/web-apps/dokuwiki.nix
··· 122 122 }; 123 123 }; 124 124 125 - # The current implementations of `doRename`, `mkRenamedOptionModule` do not provide the full options path when used with submodules. 126 - # They would only show `settings.useacl' instead of `services.dokuwiki.sites."site1.local".settings.useacl' 127 - # The partial re-implementation of these functions is done to help users in debugging by showing the full path. 128 - mkRenamed = from: to: { config, options, name, ... }: let 129 - pathPrefix = [ "services" "dokuwiki" "sites" name ]; 130 - fromPath = pathPrefix ++ from; 131 - fromOpt = getAttrFromPath from options; 132 - toOp = getAttrsFromPath to config; 133 - toPath = pathPrefix ++ to; 134 - in { 135 - options = setAttrByPath from (mkOption { 136 - visible = false; 137 - description = lib.mdDoc "Alias of {option}${showOption toPath}"; 138 - apply = x: builtins.trace "Obsolete option `${showOption fromPath}' is used. It was renamed to ${showOption toPath}" toOp; 139 - }); 140 - config = mkMerge [ 141 - { 142 - warnings = optional fromOpt.isDefined 143 - "The option `${showOption fromPath}' defined in ${showFiles fromOpt.files} has been renamed to `${showOption toPath}'."; 144 - } 145 - (lib.modules.mkAliasAndWrapDefsWithPriority (setAttrByPath to) fromOpt) 146 - ]; 147 - }; 148 - 149 125 siteOpts = { options, config, lib, name, ... }: 150 126 { 151 - imports = [ 152 - (mkRenamed [ "aclUse" ] [ "settings" "useacl" ]) 153 - (mkRenamed [ "superUser" ] [ "settings" "superuser" ]) 154 - (mkRenamed [ "disableActions" ] [ "settings" "disableactions" ]) 155 - ({ config, options, ... }: let 156 - showPath = suffix: lib.options.showOption ([ "services" "dokuwiki" "sites" name ] ++ suffix); 157 - replaceExtraConfig = "Please use `${showPath ["settings"]}' to pass structured settings instead."; 158 - ecOpt = options.extraConfig; 159 - ecPath = showPath [ "extraConfig" ]; 160 - in { 161 - options.extraConfig = mkOption { 162 - visible = false; 163 - apply = x: throw "The option ${ecPath} can no longer be used since it's been removed.\n${replaceExtraConfig}"; 164 - }; 165 - config.assertions = [ 166 - { 167 - assertion = !ecOpt.isDefined; 168 - message = "The option definition `${ecPath}' in ${showFiles ecOpt.files} no longer has any effect; please remove it.\n${replaceExtraConfig}"; 169 - } 170 - { 171 - assertion = config.mergedConfig.useacl -> (config.acl != null || config.aclFile != null); 172 - message = "Either ${showPath [ "acl" ]} or ${showPath [ "aclFile" ]} is mandatory if ${showPath [ "settings" "useacl" ]} is true"; 173 - } 174 - { 175 - assertion = config.usersFile != null -> config.mergedConfig.useacl != false; 176 - message = "${showPath [ "settings" "useacl" ]} is required when ${showPath [ "usersFile" ]} is set (Currently defined as `${config.usersFile}' in ${showFiles options.usersFile.files})."; 177 - } 178 - ]; 179 - }) 180 - ]; 181 127 182 128 options = { 183 129 enable = mkEnableOption (lib.mdDoc "DokuWiki web application"); ··· 392 338 ''; 393 339 }; 394 340 395 - # Required for the mkRenamedOptionModule 396 - # TODO: Remove me once https://github.com/NixOS/nixpkgs/issues/96006 is fixed 397 - # or we don't have any more notes about the removal of extraConfig, ... 398 - warnings = mkOption { 399 - type = types.listOf types.unspecified; 400 - default = [ ]; 401 - visible = false; 402 - internal = true; 403 - }; 404 - assertions = mkOption { 405 - type = types.listOf types.unspecified; 406 - default = [ ]; 407 - visible = false; 408 - internal = true; 409 - }; 410 341 }; 411 342 }; 412 343 in ··· 439 370 440 371 # implementation 441 372 config = mkIf (eachSite != {}) (mkMerge [{ 442 - 443 - warnings = flatten (mapAttrsToList (_: cfg: cfg.warnings) eachSite); 444 - 445 - assertions = flatten (mapAttrsToList (_: cfg: cfg.assertions) eachSite); 446 373 447 374 services.phpfpm.pools = mapAttrs' (hostName: cfg: ( 448 375 nameValuePair "dokuwiki-${hostName}" {
+2 -2
pkgs/applications/audio/ft2-clone/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "ft2-clone"; 16 - version = "1.74"; 16 + version = "1.75"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "8bitbubsy"; 20 20 repo = "ft2-clone"; 21 21 rev = "v${version}"; 22 - hash = "sha256-plr5vmtYL0adeocY4/3hRI2RQ7lDkLvBbQPq2Jw6MvU="; 22 + hash = "sha256-K+RUsRr19fc0E9VhZWIawxkGXCTwqXl3a13pRiRxDPg="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ cmake ];
+40 -9
pkgs/applications/misc/archivebox/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , python3 3 4 , fetchFromGitHub 4 5 , fetchPypi 6 + , curl 7 + , wget 8 + , git 9 + , ripgrep 10 + , postlight-parser 11 + , readability-extractor 12 + , chromium 13 + , yt-dlp 5 14 }: 6 15 7 16 let ··· 34 43 rev = "e43f383dae3a35237e42f6acfe1207a8e7e7bdf5"; 35 44 hash = "sha256-NAMa78KhAuoJfp0Cb0Codz84sRfRQ1JhSLNYRI4GBPM="; 36 45 }; 46 + # possibly a real issue, but that version is not supported anymore 47 + disabledTests = [ "test_should_highlight_bash_syntax_without_name" ]; 37 48 }); 38 49 }; 39 50 }; ··· 41 52 42 53 python.pkgs.buildPythonApplication rec { 43 54 pname = "archivebox"; 44 - version = "0.6.2"; 55 + version = "0.7.2"; 56 + pyproject = true; 45 57 46 58 src = fetchPypi { 47 59 inherit pname version; 48 - sha256 = "sha256-zHty7lTra6yab9d0q3EqsPG3F+lrnZL6PjQAbL1A2NY="; 60 + hash = "sha256-hdBUEX2tOWN2b11w6aG3x7MP7KQTj4Rwc2w8XvABGf4="; 49 61 }; 50 62 63 + nativeBuildInputs = with python.pkgs; [ 64 + pdm-backend 65 + ]; 66 + 51 67 propagatedBuildInputs = with python.pkgs; [ 52 - requests 53 - mypy-extensions 68 + croniter 69 + dateparser 54 70 django 55 71 django-extensions 56 - dateparser 57 - youtube-dl 72 + ipython 73 + mypy-extensions 58 74 python-crontab 59 - croniter 75 + requests 60 76 w3lib 61 - ipython 77 + yt-dlp 62 78 ]; 63 79 80 + makeWrapperArgs = [ 81 + "--set USE_NODE True" # used through dependencies, not needed explicitly 82 + "--set READABILITY_BINARY ${lib.meta.getExe readability-extractor}" 83 + "--set MERCURY_BINARY ${lib.meta.getExe postlight-parser}" 84 + "--set CURL_BINARY ${lib.meta.getExe curl}" 85 + "--set RIPGREP_BINARY ${lib.meta.getExe ripgrep}" 86 + "--set WGET_BINARY ${lib.meta.getExe wget}" 87 + "--set GIT_BINARY ${lib.meta.getExe git}" 88 + "--set YOUTUBEDL_BINARY ${lib.meta.getExe yt-dlp}" 89 + ] ++ (if (lib.meta.availableOn stdenv.hostPlatform chromium) then [ 90 + "--set CHROME_BINARY ${chromium}/bin/chromium-browser" 91 + ] else [ 92 + "--set-default USE_CHROME False" 93 + ]); 94 + 64 95 meta = with lib; { 65 96 description = "Open source self-hosted web archiving"; 66 97 homepage = "https://archivebox.io"; 67 98 license = licenses.mit; 68 - maintainers = with maintainers; [ siraben ]; 99 + maintainers = with maintainers; [ siraben viraptor ]; 69 100 platforms = platforms.unix; 70 101 }; 71 102 }
+9 -3
pkgs/applications/misc/bazecor/default.nix
··· 5 5 6 6 appimageTools.wrapAppImage rec { 7 7 pname = "bazecor"; 8 - version = "1.3.8"; 8 + version = "1.3.9"; 9 9 10 10 src = appimageTools.extract { 11 11 inherit pname version; 12 12 src = fetchurl { 13 13 url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage"; 14 - hash = "sha256-SwlSH5z0p9ZVoDQzj4GxO3g/iHG8zQZndE4TmqdMtZQ="; 14 + hash = "sha256-qve5xxhhyVej8dPDkZ7QQdeDUmqGO4pHJTykbS4RhAk="; 15 15 }; 16 16 17 17 # Workaround for https://github.com/Dygmalab/Bazecor/issues/370 ··· 26 26 27 27 # also make sure to update the udev rules in ./10-dygma.rules; most recently 28 28 # taken from 29 - # https://github.com/Dygmalab/Bazecor/blob/v1.3.8/src/main/utils/udev.ts#L6 29 + # https://github.com/Dygmalab/Bazecor/blob/v1.3.9/src/main/utils/udev.ts#L6 30 30 31 31 extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ 32 32 p.glib ··· 38 38 39 39 extraInstallCommands = '' 40 40 mv $out/bin/bazecor-* $out/bin/bazecor 41 + 42 + install -m 444 -D ${src}/Bazecor.desktop -t $out/share/applications 43 + substituteInPlace $out/share/applications/Bazecor.desktop \ 44 + --replace 'Exec=Bazecor' 'Exec=bazecor' 45 + 46 + install -m 444 -D ${src}/bazecor.png -t $out/share/pixmaps 41 47 42 48 mkdir -p $out/lib/udev/rules.d 43 49 ln -s --target-directory=$out/lib/udev/rules.d ${./10-dygma.rules}
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 15 15 version = "2023-10-23"; 16 16 }; 17 17 }; 18 - hash = "sha256-lT1CCwYj0hT4tCJb689mZwNecUsEwcfn2Ot8r9LBT+M="; 19 - hash_deb_amd64 = "sha256-4BWLn0+gYNWG4DsolbY6WlTvXWl7tZIZrnqXlrGUGjQ="; 20 - version = "120.0.6099.199"; 18 + hash = "sha256-yqk0bh68onWqML20Q8eDsTT9o+eKtta7kS9HL74do6Q="; 19 + hash_deb_amd64 = "sha256-MxIyOXssQ1Ke5WZbBbB4FpDec+rn46m8+PbMdmxaQCA="; 20 + version = "120.0.6099.216"; 21 21 }; 22 22 ungoogled-chromium = { 23 23 deps = {
+7 -3
pkgs/applications/networking/cluster/atlantis/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "atlantis"; 5 - version = "0.22.3"; 5 + version = "0.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "runatlantis"; 9 9 repo = "atlantis"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-A/FT9t5Z+Iw1mVwS3d5Cc86A9e6jVbEtmEWroVUhhtw="; 11 + hash = "sha256-a+xrmEHkSh5kicxIIxnoXgF9ep2ay5kCXwMR2sAVJIA="; 12 12 }; 13 + ldflags = [ 14 + "-X=main.version=${version}" 15 + "-X=main.date=1970-01-01T00:00:00Z" 16 + ]; 13 17 14 - vendorHash = "sha256-KUkh5yx+v5g0N4yIpgpt3i+uCtOtR0Jvf2PFQcGWtm8="; 18 + vendorHash = "sha256-ZbCNHARgliw9TMkHyS9k+cnWgbdCCJ+8nMdJMu66Uvo="; 15 19 16 20 subPackages = [ "." ]; 17 21
+2 -13
pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , makeWrapper 6 5 , makeDesktopItem 7 6 , copyDesktopItems ··· 20 19 21 20 stdenv.mkDerivation (finalAttrs: { 22 21 pname = "teams-for-linux"; 23 - version = "1.4.1"; 22 + version = "1.4.2"; 24 23 25 24 src = fetchFromGitHub { 26 25 owner = "IsmaelMartinez"; 27 26 repo = "teams-for-linux"; 28 27 rev = "v${finalAttrs.version}"; 29 - hash = "sha256-1URS9VPqV58p8RUA47j8sdqYqps1Ruo0aqdZXedvPX8="; 28 + hash = "sha256-Y1SVUcBRDM+nyWuT0r0WS/PfKNkQd9x9DYlmJUFoeoo="; 30 29 }; 31 30 32 31 offlineCache = fetchYarnDeps { 33 32 yarnLock = "${finalAttrs.src}/yarn.lock"; 34 33 hash = "sha256-ef+JW5ud9LlRxaCJC2iOT5N7FgZO7IkAABJcMQPvIBA="; 35 34 }; 36 - 37 - patches = [ 38 - # remove when IsmaelMartinez/teams-for-linux#1058 is merged 39 - (fetchpatch { 40 - name = "teams-for-linux-fix-version.patch"; 41 - url = "https://github.com/IsmaelMartinez/teams-for-linux/commit/1d14947eef35c6a2e0cbdfcce405820f8dd36c68.diff"; 42 - hash = "sha256-kj2jEAqgZ0frUw85hY23mFYFcXz95z/WQSDymsheDfg="; 43 - }) 44 - ]; 45 - 46 35 47 36 nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ]; 48 37
+2
pkgs/applications/networking/instant-messengers/webcord/default.nix
··· 5 5 , python3 6 6 , pipewire 7 7 , libpulseaudio 8 + , libnotify 8 9 , xdg-utils 9 10 , electron_28 10 11 , makeDesktopItem ··· 44 45 libPath = lib.makeLibraryPath [ 45 46 libpulseaudio 46 47 pipewire 48 + libnotify 47 49 ]; 48 50 binPath = lib.makeBinPath [ xdg-utils ]; 49 51 in
+5 -1
pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme }: 1 + { lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme, coreutils, file }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "notmuch-bower"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ mercury pandoc ]; 15 + postPatch = '' 16 + substituteInPlace src/compose.m --replace 'shell_quoted("base64' 'shell_quoted("${coreutils}/bin/base64' 17 + substituteInPlace src/detect_mime_type.m --replace 'shell_quoted("file' 'shell_quoted("${file}/bin/file' 18 + ''; 15 19 16 20 buildInputs = [ ncurses gpgme ]; 17 21
+165
pkgs/by-name/po/postlight-parser/package.json
··· 1 + { 2 + "name": "@postlight/parser", 3 + "version": "2.2.3", 4 + "description": "Postlight Parser transforms web pages into clean text. Publishers and programmers use it to make the web make sense, and readers use it to read any web article comfortably.", 5 + "author": "Postlight <mercury@postlight.com>", 6 + "homepage": "https://reader.postlight.com", 7 + "license": "MIT", 8 + "repository": { 9 + "type": "git", 10 + "url": "git+https://github.com/postlight/parser.git" 11 + }, 12 + "bugs": { 13 + "url": "https://github.com/postlight/parser/issues" 14 + }, 15 + "keywords": [ 16 + "mercury", 17 + "parser", 18 + "reader", 19 + "web", 20 + "content" 21 + ], 22 + "files": [ 23 + "dist", 24 + "cli.js", 25 + "src/shims/" 26 + ], 27 + "main": "./dist/mercury.js", 28 + "bin": { 29 + "mercury-parser": "./cli.js", 30 + "postlight-parser": "./cli.js" 31 + }, 32 + "scripts": { 33 + "lint": "eslint . --fix", 34 + "lint:ci": "remark . && eslint .", 35 + "lint-fix-quiet": "eslint --fix --quiet", 36 + "build": "yarn lint && rollup -c && yarn test:build", 37 + "build:ci": "rollup -c && yarn test:build", 38 + "build:web": "yarn lint && rollup -c rollup.config.web.js && yarn test:build:web", 39 + "build:esm": "yarn lint && rollup -c rollup.config.esm.js && yarn test:build:esm", 40 + "build:esm:ci": "rollup -c rollup.config.esm.js && yarn test:build:esm", 41 + "build:web:ci": "rollup -c rollup.config.web.js && yarn test:build:web", 42 + "release": "yarn build && yarn build:web", 43 + "build:generator": "rollup -c scripts/rollup.config.js", 44 + "test_build": "rollup -c", 45 + "test": "yarn test:node && yarn test:web", 46 + "test:node": "jest --json --outputFile test-output.json", 47 + "test:web": "node ./node_modules/karma/bin/karma start karma.conf.js --auto-watch", 48 + "test:build": "cd ./scripts && jest check-build.test.js", 49 + "test:build:web": "node ./scripts/proxy-browser-test.js", 50 + "test:build:esm": "node ./scripts/proxy-browser-test.js", 51 + "watch:test": "jest --watch", 52 + "generate-parser": "node ./dist/generate-custom-parser.js" 53 + }, 54 + "engines": { 55 + "node": ">=10" 56 + }, 57 + "devDependencies": { 58 + "@babel/core": "^7.0.0", 59 + "@babel/plugin-transform-runtime": "^7.0.0", 60 + "@babel/polyfill": "^7.0.0", 61 + "@babel/preset-env": "^7.0.0", 62 + "@babel/runtime": "^7.0.0", 63 + "@jesses/circle-github-bot": "^2.1.0", 64 + "@octokit/rest": "^16.9.0", 65 + "babel-core": "^7.0.0-bridge.0", 66 + "babel-eslint": "^10.0.1", 67 + "babel-jest": "^23.4.2", 68 + "babel-plugin-module-alias": "^1.6.0", 69 + "babel-plugin-module-resolver": "^3.1.2", 70 + "babelify": "^10.0.0", 71 + "babelrc-rollup": "^3.0.0", 72 + "brfs": "^2.0.1", 73 + "brfs-babel": "^2.0.0", 74 + "browserify": "^16.2.3", 75 + "changelog-maker": "^2.3.0", 76 + "eslint": "^5.12.0", 77 + "eslint-config-airbnb": "^17.1.0", 78 + "eslint-config-prettier": "^6.1.0", 79 + "eslint-import-resolver-babel-module": "^2.2.1", 80 + "eslint-plugin-babel": "^5.3.0", 81 + "eslint-plugin-import": "^2.14.0", 82 + "eslint-plugin-jsx-a11y": "^6.1.2", 83 + "eslint-plugin-react": "^7.12.3", 84 + "express": "^4.16.4", 85 + "husky": "^3.0.0", 86 + "inquirer": "^7.0.0", 87 + "jasmine-core": "^2.5.2", 88 + "jest": "^23.6.0", 89 + "jest-cli": "^23.6.0", 90 + "karma": "^6.3.16", 91 + "karma-browserify": "8.1.0", 92 + "karma-chrome-launcher": "^3.0.0", 93 + "karma-cli": "^2.0.0", 94 + "karma-jasmine": "^1.0.2", 95 + "karma-mocha": "^1.3.0", 96 + "karma-requirejs": "^1.1.0", 97 + "lint-staged": "^8.1.0", 98 + "mocha": "^6.0.0", 99 + "nock": "^10.0.6", 100 + "ora": "^4.0.0", 101 + "prettier": "^1.15.3", 102 + "remark-cli": "^7.0.0", 103 + "remark-lint": "^6.0.4", 104 + "remark-preset-lint-recommended": "^3.0.2", 105 + "request": "^2.88.2", 106 + "requirejs": "^2.3.6", 107 + "rollup": "^1.1.0", 108 + "rollup-plugin-babel": "^4.0.1", 109 + "rollup-plugin-commonjs": "^9.2.0", 110 + "rollup-plugin-node-globals": "^1.4.0", 111 + "rollup-plugin-node-resolve": "^2.0.0", 112 + "rollup-plugin-terser": "^6.1.0", 113 + "rollup-plugin-uglify": "^6.0.1", 114 + "watchify": "^3.11.1" 115 + }, 116 + "dependencies": { 117 + "@babel/runtime-corejs2": "^7.2.0", 118 + "@postlight/ci-failed-test-reporter": "^1.0", 119 + "browser-request": "github:postlight/browser-request#feat-add-headers-to-response", 120 + "cheerio": "^0.22.0", 121 + "difflib": "github:postlight/difflib.js", 122 + "ellipsize": "0.1.0", 123 + "iconv-lite": "0.5.0", 124 + "jquery": "^3.5.0", 125 + "moment": "^2.23.0", 126 + "moment-parseformat": "3.0.0", 127 + "moment-timezone": "0.5.37", 128 + "postman-request": "^2.88.1-postman.31", 129 + "string-direction": "^0.1.2", 130 + "turndown": "^7.1.1", 131 + "valid-url": "^1.0.9", 132 + "wuzzy": "^0.1.4", 133 + "yargs-parser": "^15.0.1" 134 + }, 135 + "bundleDependencies": [ 136 + "jquery", 137 + "moment-timezone", 138 + "browser-request" 139 + ], 140 + "browser": { 141 + "main": "./dist/mercury.web.js", 142 + "cheerio": "./src/shims/cheerio-query", 143 + "jquery": "./node_modules/jquery/dist/jquery.min.js", 144 + "postman-request": "browser-request", 145 + "iconv-lite": "./src/shims/iconv-lite", 146 + "moment-timezone": "./node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js" 147 + }, 148 + "husky": { 149 + "hooks": { 150 + "pre-commit": "lint-staged" 151 + } 152 + }, 153 + "lint-staged": { 154 + "*.js": [ 155 + "eslint --fix", 156 + "prettier --write", 157 + "git add" 158 + ], 159 + "*.{json,css,md}": [ 160 + "remark .", 161 + "prettier --write", 162 + "git add" 163 + ] 164 + } 165 + }
+36
pkgs/by-name/po/postlight-parser/package.nix
··· 1 + { lib 2 + , stdenv 3 + , mkYarnPackage 4 + , fetchFromGitHub 5 + , fetchYarnDeps 6 + }: 7 + 8 + mkYarnPackage rec { 9 + pname = "postlight-parser"; 10 + version = "2.2.3"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "postlight"; 14 + repo = "parser"; 15 + rev = "v${version}"; 16 + hash = "sha256-k6m95FHeJ+iiWSeY++1zds/bo1RtNXbnv2spaY/M+L0="; 17 + }; 18 + 19 + packageJSON = ./package.json; 20 + 21 + doDist = false; 22 + 23 + offlineCache = fetchYarnDeps { 24 + yarnLock = "${src}/yarn.lock"; 25 + hash = "sha256-Vs8bfkhEbPv33ew//HBeDnpQcyWveByHi1gUsdl2CNI="; 26 + }; 27 + 28 + meta = with lib; { 29 + changelog = "https://github.com/postlight/parser/blob/${src.rev}/CHANGELOG.md"; 30 + homepage = "https://reader.postlight.com"; 31 + description = "Extracts the bits that humans care about from any URL you give it"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ viraptor ]; 34 + mainProgram = "postlight-parser"; 35 + }; 36 + }
+29
pkgs/by-name/re/readability-extractor/package.nix
··· 1 + { lib 2 + , stdenv 3 + , buildNpmPackage 4 + , fetchFromGitHub 5 + }: 6 + 7 + buildNpmPackage { 8 + pname = "readability-extractor"; 9 + version = "0.0.10"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "ArchiveBox"; 13 + repo = "readability-extractor"; 14 + rev = "be5c3222990d4f0459b21e74802565309bdd1d52"; 15 + hash = "sha256-KX9mtvwDUIV2XsH6Hgx5/W34AlM4QtZuzxp4QofPcyg="; 16 + }; 17 + 18 + dontNpmBuild = true; 19 + 20 + npmDepsHash = "sha256-bQHID9c2Ioyectx6t/GjTR/4cCyfwDfpT0aEQZoYCiU="; 21 + 22 + meta = with lib; { 23 + homepage = "https://github.com/ArchiveBox/readability-extractor"; 24 + description = "Javascript wrapper around Mozilla Readability for ArchiveBox to call as a oneshot CLI to extract article text"; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ viraptor ]; 27 + mainProgram = "readability-extractor"; 28 + }; 29 + }
+1 -1
pkgs/development/compilers/nim/default.nix
··· 147 147 ln -sf $out/nim/bin/nim $out/bin/nim 148 148 ln -sf $out/nim/lib $out/lib 149 149 ./install.sh $out 150 - cp -a tools $out/nim/ 150 + cp -a tools dist $out/nim/ 151 151 runHook postInstall 152 152 ''; 153 153
+10 -9
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
··· 210 210 return (max(sorted(versions))).raw_version 211 211 212 212 213 - def _get_latest_version_pypi(package, extension, current_version, target): 213 + def _get_latest_version_pypi(attr_path, package, extension, current_version, target): 214 214 """Get latest version and hash from PyPI.""" 215 215 url = "{}/{}/json".format(INDEX, package) 216 216 json = _fetch_page(url) ··· 234 234 return version, sha256, None 235 235 236 236 237 - def _get_latest_version_github(package, extension, current_version, target): 237 + def _get_latest_version_github(attr_path, package, extension, current_version, target): 238 238 def strip_prefix(tag): 239 239 return re.sub("^[^0-9]*", "", tag) 240 240 ··· 242 242 matches = re.findall(r"^([^0-9]*)", string) 243 243 return next(iter(matches), "") 244 244 245 - # when invoked as an updateScript, UPDATE_NIX_ATTR_PATH will be set 246 - # this allows us to work with packages which live outside of python-modules 247 - attr_path = os.environ.get("UPDATE_NIX_ATTR_PATH", f"python3Packages.{package}") 248 245 try: 249 246 homepage = subprocess.check_output( 250 247 [ ··· 421 418 # Attempt a fetch using each pname, e.g. backports-zoneinfo vs backports.zoneinfo 422 419 successful_fetch = False 423 420 for pname in pnames: 424 - if BULK_UPDATE and _skip_bulk_update(f"python3Packages.{pname}"): 421 + # when invoked as an updateScript, UPDATE_NIX_ATTR_PATH will be set 422 + # this allows us to work with packages which live outside of python-modules 423 + attr_path = os.environ.get("UPDATE_NIX_ATTR_PATH", f"python3Packages.{pname}") 424 + 425 + if BULK_UPDATE and _skip_bulk_update(attr_path): 425 426 raise ValueError(f"Bulk update skipped for {pname}") 426 - elif _get_attr_value(f"python3Packages.{pname}.cargoDeps") is not None: 427 + elif _get_attr_value(f"{attr_path}.cargoDeps") is not None: 427 428 raise ValueError(f"Cargo dependencies are unsupported, skipping {pname}") 428 429 try: 429 430 new_version, new_sha256, prefix = FETCHERS[fetcher]( 430 - pname, extension, version, target 431 + attr_path, pname, extension, version, target 431 432 ) 432 433 successful_fetch = True 433 434 break ··· 452 453 sri_hash = _hash_to_sri("sha256", new_sha256) 453 454 454 455 # retrieve the old output hash for a more precise match 455 - if old_hash := _get_attr_value(f"python3Packages.{pname}.src.outputHash"): 456 + if old_hash := _get_attr_value(f"{attr_path}.src.outputHash"): 456 457 # fetchers can specify a sha256, or a sri hash 457 458 try: 458 459 text = _replace_value("hash", sri_hash, text, old_hash)
+3 -4
pkgs/development/python-modules/epion/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "epion"; 13 - version = "0.0.1"; 13 + version = "0.0.2"; 14 14 pyproject = true; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "devenzo-com"; 20 20 repo = "epion_python"; 21 - # https://github.com/devenzo-com/epion_python/issues/1 22 - rev = "d8759951fc7bfd1507abe725b2bc98754cbbf505"; 23 - hash = "sha256-uC227rlu4NB5lpca02QLi2JZ5SKklLfv7rXvvJA1aCA="; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-XyYjbr0EPRrwWsXhZT2oWcoDPZoZCuT9aZ2UHSSt0E8="; 24 23 }; 25 24 26 25 nativeBuildInputs = [
+17 -9
pkgs/development/python-modules/gql/default.nix
··· 1 1 { lib 2 2 , aiofiles 3 3 , aiohttp 4 + , anyio 4 5 , backoff 5 6 , botocore 6 7 , buildPythonPackage 7 8 , fetchFromGitHub 8 9 , graphql-core 10 + , httpx 9 11 , mock 10 12 , parse 11 13 , pytest-asyncio ··· 14 16 , pythonOlder 15 17 , requests 16 18 , requests-toolbelt 19 + , setuptools 17 20 , urllib3 18 21 , vcrpy 19 22 , websockets ··· 22 25 23 26 buildPythonPackage rec { 24 27 pname = "gql"; 25 - version = "3.4.1"; 26 - format = "setuptools"; 28 + version = "3.6.0b0"; 29 + pyproject = true; 27 30 28 31 disabled = pythonOlder "3.7"; 29 32 30 33 src = fetchFromGitHub { 31 34 owner = "graphql-python"; 32 - repo = pname; 35 + repo = "gql"; 33 36 rev = "refs/tags/v${version}"; 34 - hash = "sha256-/uPaRju2AJCjMCfA29IKQ4Hu71RBu/Yz8jHwk9EE1Eg="; 37 + hash = "sha256-yX6NbtGxBa3lL/bS3j2ouTPku6a4obqNGx1xRzx+Skk="; 35 38 }; 36 39 37 - postPatch = '' 38 - substituteInPlace setup.py --replace \ 39 - "websockets>=10,<11;python_version>'3.6'" \ 40 - "websockets>=10,<12;python_version>'3.6'" 41 - ''; 40 + __darwinAllowLocalNetworking = true; 41 + 42 + nativeBuildInputs = [ 43 + setuptools 44 + ]; 42 45 43 46 propagatedBuildInputs = [ 47 + anyio 44 48 backoff 45 49 graphql-core 46 50 yarl ··· 60 64 all = [ 61 65 aiohttp 62 66 botocore 67 + httpx 63 68 requests 64 69 requests-toolbelt 65 70 urllib3 ··· 67 72 ]; 68 73 aiohttp = [ 69 74 aiohttp 75 + ]; 76 + httpx = [ 77 + httpx 70 78 ]; 71 79 requests = [ 72 80 requests
+2 -2
pkgs/development/python-modules/pynetbox/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pynetbox"; 13 - version = "7.3.0"; 13 + version = "7.3.3"; 14 14 format = "setuptools"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "netbox-community"; 18 18 repo = pname; 19 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-/ptLsV+3EYDBjM+D1VO75VqvCYe6PTlpKAJuQskazJc="; 20 + hash = "sha256-QIvh24ZqnF8uF9HOuY0yt3QT/jHgJ2C916d+rBqezWQ="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pytest-check/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pytest-check"; 11 - version = "2.2.3"; 11 + version = "2.2.4"; 12 12 format = "pyproject"; 13 13 14 14 src = fetchPypi { 15 15 pname = "pytest_check"; 16 16 inherit version; 17 - hash = "sha256-bfAyZLa7zyXNhhUSDNoDtObRH9srfI3eapyP7xinSVw="; 17 + hash = "sha256-0uaWYDFB9bLekFuTWD5FmE7DxhzscCZJ3rEL2XSFYLs="; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/slackclient/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "slackclient"; 24 - version = "3.26.1"; 24 + version = "3.26.2"; 25 25 format = "setuptools"; 26 26 27 27 disabled = pythonOlder "3.6"; ··· 30 30 owner = "slackapi"; 31 31 repo = "python-slack-sdk"; 32 32 rev = "refs/tags/v${version}"; 33 - hash = "sha256-jg4mUVT1sB9hxRqhLOeZxQHTpBK/N76b2XUaFe/nBKY="; 33 + hash = "sha256-pvD86kbNOnuNT6+WTAKziJDUTx3ebJUq029UbSVuxdw="; 34 34 }; 35 35 36 36 propagatedBuildInputs = [
+8 -3
pkgs/development/python-modules/types-setuptools/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , setuptools 4 5 }: 5 6 6 7 buildPythonPackage rec { 7 8 pname = "types-setuptools"; 8 - version = "69.0.0.0"; 9 - format = "setuptools"; 9 + version = "68.2.0.2"; 10 + pyproject = true; 10 11 11 12 src = fetchPypi { 12 13 inherit pname version; 13 - hash = "sha256-sKBiGfYoxlJ7L4zncKT0dVDgDT6MOtg+LcMbxubtqV0="; 14 + hash = "sha256-Ce/DgK1cf3jjC8oVRvcGRpVozyYITPq3Ps+D3qHShEY="; 14 15 }; 16 + 17 + nativeBuildInputs = [ 18 + setuptools 19 + ]; 15 20 16 21 # Module doesn't have tests 17 22 doCheck = false;
+2 -2
pkgs/development/python-modules/zamg/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zamg"; 12 - version = "0.3.3"; 12 + version = "0.3.4"; 13 13 pyproject = true; 14 14 15 15 disabled = pythonOlder "3.8"; ··· 18 18 owner = "killer0071234"; 19 19 repo = "python-zamg"; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-hgJtM208xsDh9RbxOFu5DOiKonLMj8aWyu9+EhpE6TA="; 21 + hash = "sha256-MomqMgL3axMdT/ckx2IG9k0IIDlNq0bod0ukjIvkM7Y="; 22 22 }; 23 23 24 24 postPatch = ''
+30 -13
pkgs/development/python-modules/zm-py/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage, isPy3k 2 - , pytest, requests }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , pytestCheckHook 6 + , pythonOlder 7 + , requests 8 + }: 3 9 4 10 buildPythonPackage rec { 5 11 pname = "zm-py"; 6 - version = "0.5.2"; 7 - format = "setuptools"; 12 + version = "0.5.4"; 13 + pyproject = true; 8 14 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "b391cca0e52f2a887aa7a46c314b73335b7e3341c428b425fcf314983e5ebb36"; 15 + disabled = pythonOlder "3.11"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "rohankapoorcom"; 19 + repo = "zm-py"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-n9FRX2Pnn96H0HVT4SHLJgONc0XzQ005itMNpvl9IYg="; 12 22 }; 13 23 14 - disabled = !isPy3k; 24 + nativeBuildInputs = [ 25 + poetry-core 26 + ]; 15 27 16 - propagatedBuildInputs = [ requests ]; 28 + propagatedBuildInputs = [ 29 + requests 30 + ]; 17 31 18 - nativeCheckInputs = [ pytest ]; 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 19 35 20 - checkPhase = '' 21 - PYTHONPATH="./zoneminder:$PYTHONPATH" pytest 22 - ''; 36 + pythonImportsCheck = [ 37 + "zoneminder" 38 + ]; 23 39 24 40 meta = with lib; { 25 41 description = "A loose python wrapper around the ZoneMinder REST API"; 26 42 homepage = "https://github.com/rohankapoorcom/zm-py"; 43 + changelog = "https://github.com/rohankapoorcom/zm-py/releases/tag/v${version}"; 27 44 license = licenses.asl20; 28 45 maintainers = with maintainers; [ peterhoeg ]; 29 46 };
+17 -12
pkgs/games/frotz/default.nix
··· 1 - { fetchFromGitLab 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , fetchpatch 2 5 , libao 3 6 , libmodplug 4 7 , libsamplerate ··· 7 10 , ncurses 8 11 , which 9 12 , pkg-config 10 - , lib, stdenv }: 13 + }: 11 14 12 15 stdenv.mkDerivation rec { 13 - version = "2.53"; 14 16 pname = "frotz"; 17 + version = "2.54"; 15 18 16 19 src = fetchFromGitLab { 17 20 domain = "gitlab.com"; 18 21 owner = "DavidGriffith"; 19 22 repo = "frotz"; 20 23 rev = version; 21 - sha256 = "sha256-xVC/iE71W/Wdy5aPGH9DtcVAHWCcg3HkEA3iDV6OYUo="; 24 + hash = "sha256-GvGxojD8d5GVy/d8h3q6K7KJroz2lsKbfE0F0acjBl8="; 22 25 }; 23 26 27 + patches = [ 28 + (fetchpatch { 29 + url = "https://github.com/macports/macports-ports/raw/496e5b91e3b6c9dc6820d77ab60dbe400d1924ee/games/frotz/files/Makefile.patch"; 30 + extraPrefix = ""; 31 + hash = "sha256-P83ZzSi3bhncQ52Y38Q3F/7v1SJKr5614tytt862HRg="; 32 + }) 33 + ]; 34 + 24 35 nativeBuildInputs = [ which pkg-config ]; 25 36 buildInputs = [ libao libmodplug libsamplerate libsndfile libvorbis ncurses ]; 26 - preBuild = '' 27 - makeFlagsArray+=( 28 - CC="cc" 29 - CFLAGS="-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600" 30 - LDFLAGS="-lncursesw -ltinfo" 31 - ) 32 - ''; 37 + 33 38 installFlags = [ "PREFIX=$(out)" ]; 34 39 35 40 meta = with lib; { ··· 37 42 changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${version}/NEWS"; 38 43 description = "A z-machine interpreter for Infocom games and other interactive fiction"; 39 44 platforms = platforms.unix; 40 - maintainers = with maintainers; [ nicknovitski ddelabru ]; 45 + maintainers = with maintainers; [ nicknovitski ddelabru ]; 41 46 license = licenses.gpl2; 42 47 }; 43 48 }
+2 -2
pkgs/os-specific/linux/kernel/zen-kernels.nix
··· 4 4 # comments with variant added for update script 5 5 # ./update-zen.py zen 6 6 zenVariant = { 7 - version = "6.6.10"; #zen 7 + version = "6.7"; #zen 8 8 suffix = "zen1"; #zen 9 - sha256 = "1hhy5jp1s65vpvrw9xylx3xl7mmagzmm5r9bq81hvvr7bhf754ny"; #zen 9 + sha256 = "005m4qjhbvn4jmm37sad9bmrrk2qfkxlaq3s7k296hjfkrqnbvlw"; #zen 10 10 isLqx = false; 11 11 }; 12 12 # ./update-zen.py lqx
+5
pkgs/servers/geospatial/mapserver/default.nix
··· 15 15 sha256 = "sha256-fAf4kOe/6bQW0i46+EZbD/6iWI2Bjkn2no6XeR/+mg4="; 16 16 }; 17 17 18 + patches = [ 19 + # drop this patch for version 8.0.2 20 + ./fix-build-w-libxml2-12.patch 21 + ]; 22 + 18 23 nativeBuildInputs = [ 19 24 cmake 20 25 pkg-config
+39
pkgs/servers/geospatial/mapserver/fix-build-w-libxml2-12.patch
··· 1 + diff --git a/mapows.c b/mapows.c 2 + index f141a7b..5a94ecb 100644 3 + --- a/mapows.c 4 + +++ b/mapows.c 5 + @@ -168,7 +168,7 @@ static int msOWSPreParseRequest(cgiRequestObj *request, 6 + #endif 7 + if (ows_request->document == NULL 8 + || (root = xmlDocGetRootElement(ows_request->document)) == NULL) { 9 + - xmlErrorPtr error = xmlGetLastError(); 10 + + const xmlError *error = xmlGetLastError(); 11 + msSetError(MS_OWSERR, "XML parsing error: %s", 12 + "msOWSPreParseRequest()", error->message); 13 + return MS_FAILURE; 14 + diff --git a/mapwcs.cpp b/mapwcs.cpp 15 + index 70e63b8..19afa79 100644 16 + --- a/mapwcs.cpp 17 + +++ b/mapwcs.cpp 18 + @@ -362,7 +362,7 @@ static int msWCSParseRequest(cgiRequestObj *request, wcsParamsObj *params, mapOb 19 + /* parse to DOM-Structure and get root element */ 20 + if((doc = xmlParseMemory(request->postrequest, strlen(request->postrequest))) 21 + == NULL) { 22 + - xmlErrorPtr error = xmlGetLastError(); 23 + + const xmlError *error = xmlGetLastError(); 24 + msSetError(MS_WCSERR, "XML parsing error: %s", 25 + "msWCSParseRequest()", error->message); 26 + return MS_FAILURE; 27 + diff --git a/mapwcs20.cpp b/mapwcs20.cpp 28 + index b35e803..2431bdc 100644 29 + --- a/mapwcs20.cpp 30 + +++ b/mapwcs20.cpp 31 + @@ -1446,7 +1446,7 @@ int msWCSParseRequest20(mapObj *map, 32 + 33 + /* parse to DOM-Structure and get root element */ 34 + if(doc == NULL) { 35 + - xmlErrorPtr error = xmlGetLastError(); 36 + + const xmlError *error = xmlGetLastError(); 37 + msSetError(MS_WCSERR, "XML parsing error: %s", 38 + "msWCSParseRequest20()", error->message); 39 + return MS_FAILURE;
+1
pkgs/servers/home-assistant/custom-components/README.md
··· 39 39 # changelog, description, homepage, license, maintainers 40 40 } 41 41 } 42 + ``` 42 43 43 44 ## Package attribute 44 45
+3 -3
pkgs/servers/monitoring/grafana-agent/default.nix
··· 14 14 15 15 buildGoModule rec { 16 16 pname = "grafana-agent"; 17 - version = "0.38.1"; 17 + version = "0.39.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "grafana"; 21 21 repo = "agent"; 22 22 rev = "v${version}"; 23 - hash = "sha256-caqJE92yEzqU/UQS7Cgxe+4+wGqBqPshhhPAyPP2WPQ="; 23 + hash = "sha256-mUPWww7RnrCwJKGWXIsX7vnTmxj2h31AzM8a0eKa15g="; 24 24 }; 25 25 26 - vendorHash = "sha256-aN/vIBbezieMhWG/czwXxx+/M40mDySZmM8pxVVs3Vs="; 26 + vendorHash = "sha256-nOuinJXTiTumHlOWcuGTBcrw9ArIdb/R8jIT/5+i0vM="; 27 27 proxyVendor = true; # darwin/linux hash mismatch 28 28 29 29 frontendYarnOfflineCache = fetchYarnDeps {
+2 -2
pkgs/servers/sabnzbd/default.nix
··· 47 47 ]); 48 48 path = lib.makeBinPath [ coreutils par2cmdline unrar unzip p7zip util-linux ]; 49 49 in stdenv.mkDerivation rec { 50 - version = "4.2.0"; 50 + version = "4.2.1"; 51 51 pname = "sabnzbd"; 52 52 53 53 src = fetchFromGitHub { 54 54 owner = pname; 55 55 repo = pname; 56 56 rev = version; 57 - sha256 = "sha256-ub8CwFcmxfsfhR45M5lVZvCHyzN/7CK4ElS4Q0U4qu8="; 57 + sha256 = "sha256-M9DvwizNeCXkV07dkgiComdjoceUACCuccZb+y9RMdw="; 58 58 }; 59 59 60 60 nativeBuildInputs = [ makeWrapper ];