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 '' 1360 else '' 1361 jq <${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} \ 1362 >'${cfg.statePath}/config/database.yml' 1363 '' 1364 }
··· 1359 '' 1360 else '' 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 ""}' \ 1363 >'${cfg.statePath}/config/database.yml' 1364 '' 1365 }
-73
nixos/modules/services/web-apps/dokuwiki.nix
··· 122 }; 123 }; 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 siteOpts = { options, config, lib, name, ... }: 150 { 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 182 options = { 183 enable = mkEnableOption (lib.mdDoc "DokuWiki web application"); ··· 392 ''; 393 }; 394 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 }; 411 }; 412 in ··· 439 440 # implementation 441 config = mkIf (eachSite != {}) (mkMerge [{ 442 - 443 - warnings = flatten (mapAttrsToList (_: cfg: cfg.warnings) eachSite); 444 - 445 - assertions = flatten (mapAttrsToList (_: cfg: cfg.assertions) eachSite); 446 447 services.phpfpm.pools = mapAttrs' (hostName: cfg: ( 448 nameValuePair "dokuwiki-${hostName}" {
··· 122 }; 123 }; 124 125 siteOpts = { options, config, lib, name, ... }: 126 { 127 128 options = { 129 enable = mkEnableOption (lib.mdDoc "DokuWiki web application"); ··· 338 ''; 339 }; 340 341 }; 342 }; 343 in ··· 370 371 # implementation 372 config = mkIf (eachSite != {}) (mkMerge [{ 373 374 services.phpfpm.pools = mapAttrs' (hostName: cfg: ( 375 nameValuePair "dokuwiki-${hostName}" {
+2 -2
pkgs/applications/audio/ft2-clone/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "ft2-clone"; 16 - version = "1.74"; 17 18 src = fetchFromGitHub { 19 owner = "8bitbubsy"; 20 repo = "ft2-clone"; 21 rev = "v${version}"; 22 - hash = "sha256-plr5vmtYL0adeocY4/3hRI2RQ7lDkLvBbQPq2Jw6MvU="; 23 }; 24 25 nativeBuildInputs = [ cmake ];
··· 13 14 stdenv.mkDerivation rec { 15 pname = "ft2-clone"; 16 + version = "1.75"; 17 18 src = fetchFromGitHub { 19 owner = "8bitbubsy"; 20 repo = "ft2-clone"; 21 rev = "v${version}"; 22 + hash = "sha256-K+RUsRr19fc0E9VhZWIawxkGXCTwqXl3a13pRiRxDPg="; 23 }; 24 25 nativeBuildInputs = [ cmake ];
+40 -9
pkgs/applications/misc/archivebox/default.nix
··· 1 { lib 2 , python3 3 , fetchFromGitHub 4 , fetchPypi 5 }: 6 7 let ··· 34 rev = "e43f383dae3a35237e42f6acfe1207a8e7e7bdf5"; 35 hash = "sha256-NAMa78KhAuoJfp0Cb0Codz84sRfRQ1JhSLNYRI4GBPM="; 36 }; 37 }); 38 }; 39 }; ··· 41 42 python.pkgs.buildPythonApplication rec { 43 pname = "archivebox"; 44 - version = "0.6.2"; 45 46 src = fetchPypi { 47 inherit pname version; 48 - sha256 = "sha256-zHty7lTra6yab9d0q3EqsPG3F+lrnZL6PjQAbL1A2NY="; 49 }; 50 51 propagatedBuildInputs = with python.pkgs; [ 52 - requests 53 - mypy-extensions 54 django 55 django-extensions 56 - dateparser 57 - youtube-dl 58 python-crontab 59 - croniter 60 w3lib 61 - ipython 62 ]; 63 64 meta = with lib; { 65 description = "Open source self-hosted web archiving"; 66 homepage = "https://archivebox.io"; 67 license = licenses.mit; 68 - maintainers = with maintainers; [ siraben ]; 69 platforms = platforms.unix; 70 }; 71 }
··· 1 { lib 2 + , stdenv 3 , python3 4 , fetchFromGitHub 5 , fetchPypi 6 + , curl 7 + , wget 8 + , git 9 + , ripgrep 10 + , postlight-parser 11 + , readability-extractor 12 + , chromium 13 + , yt-dlp 14 }: 15 16 let ··· 43 rev = "e43f383dae3a35237e42f6acfe1207a8e7e7bdf5"; 44 hash = "sha256-NAMa78KhAuoJfp0Cb0Codz84sRfRQ1JhSLNYRI4GBPM="; 45 }; 46 + # possibly a real issue, but that version is not supported anymore 47 + disabledTests = [ "test_should_highlight_bash_syntax_without_name" ]; 48 }); 49 }; 50 }; ··· 52 53 python.pkgs.buildPythonApplication rec { 54 pname = "archivebox"; 55 + version = "0.7.2"; 56 + pyproject = true; 57 58 src = fetchPypi { 59 inherit pname version; 60 + hash = "sha256-hdBUEX2tOWN2b11w6aG3x7MP7KQTj4Rwc2w8XvABGf4="; 61 }; 62 63 + nativeBuildInputs = with python.pkgs; [ 64 + pdm-backend 65 + ]; 66 + 67 propagatedBuildInputs = with python.pkgs; [ 68 + croniter 69 + dateparser 70 django 71 django-extensions 72 + ipython 73 + mypy-extensions 74 python-crontab 75 + requests 76 w3lib 77 + yt-dlp 78 ]; 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 + 95 meta = with lib; { 96 description = "Open source self-hosted web archiving"; 97 homepage = "https://archivebox.io"; 98 license = licenses.mit; 99 + maintainers = with maintainers; [ siraben viraptor ]; 100 platforms = platforms.unix; 101 }; 102 }
+9 -3
pkgs/applications/misc/bazecor/default.nix
··· 5 6 appimageTools.wrapAppImage rec { 7 pname = "bazecor"; 8 - version = "1.3.8"; 9 10 src = appimageTools.extract { 11 inherit pname version; 12 src = fetchurl { 13 url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage"; 14 - hash = "sha256-SwlSH5z0p9ZVoDQzj4GxO3g/iHG8zQZndE4TmqdMtZQ="; 15 }; 16 17 # Workaround for https://github.com/Dygmalab/Bazecor/issues/370 ··· 26 27 # also make sure to update the udev rules in ./10-dygma.rules; most recently 28 # taken from 29 - # https://github.com/Dygmalab/Bazecor/blob/v1.3.8/src/main/utils/udev.ts#L6 30 31 extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ 32 p.glib ··· 38 39 extraInstallCommands = '' 40 mv $out/bin/bazecor-* $out/bin/bazecor 41 42 mkdir -p $out/lib/udev/rules.d 43 ln -s --target-directory=$out/lib/udev/rules.d ${./10-dygma.rules}
··· 5 6 appimageTools.wrapAppImage rec { 7 pname = "bazecor"; 8 + version = "1.3.9"; 9 10 src = appimageTools.extract { 11 inherit pname version; 12 src = fetchurl { 13 url = "https://github.com/Dygmalab/Bazecor/releases/download/v${version}/Bazecor-${version}-x64.AppImage"; 14 + hash = "sha256-qve5xxhhyVej8dPDkZ7QQdeDUmqGO4pHJTykbS4RhAk="; 15 }; 16 17 # Workaround for https://github.com/Dygmalab/Bazecor/issues/370 ··· 26 27 # also make sure to update the udev rules in ./10-dygma.rules; most recently 28 # taken from 29 + # https://github.com/Dygmalab/Bazecor/blob/v1.3.9/src/main/utils/udev.ts#L6 30 31 extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ 32 p.glib ··· 38 39 extraInstallCommands = '' 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 47 48 mkdir -p $out/lib/udev/rules.d 49 ln -s --target-directory=$out/lib/udev/rules.d ${./10-dygma.rules}
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 15 version = "2023-10-23"; 16 }; 17 }; 18 - hash = "sha256-lT1CCwYj0hT4tCJb689mZwNecUsEwcfn2Ot8r9LBT+M="; 19 - hash_deb_amd64 = "sha256-4BWLn0+gYNWG4DsolbY6WlTvXWl7tZIZrnqXlrGUGjQ="; 20 - version = "120.0.6099.199"; 21 }; 22 ungoogled-chromium = { 23 deps = {
··· 15 version = "2023-10-23"; 16 }; 17 }; 18 + hash = "sha256-yqk0bh68onWqML20Q8eDsTT9o+eKtta7kS9HL74do6Q="; 19 + hash_deb_amd64 = "sha256-MxIyOXssQ1Ke5WZbBbB4FpDec+rn46m8+PbMdmxaQCA="; 20 + version = "120.0.6099.216"; 21 }; 22 ungoogled-chromium = { 23 deps = {
+7 -3
pkgs/applications/networking/cluster/atlantis/default.nix
··· 2 3 buildGoModule rec { 4 pname = "atlantis"; 5 - version = "0.22.3"; 6 7 src = fetchFromGitHub { 8 owner = "runatlantis"; 9 repo = "atlantis"; 10 rev = "v${version}"; 11 - sha256 = "sha256-A/FT9t5Z+Iw1mVwS3d5Cc86A9e6jVbEtmEWroVUhhtw="; 12 }; 13 14 - vendorHash = "sha256-KUkh5yx+v5g0N4yIpgpt3i+uCtOtR0Jvf2PFQcGWtm8="; 15 16 subPackages = [ "." ]; 17
··· 2 3 buildGoModule rec { 4 pname = "atlantis"; 5 + version = "0.27.0"; 6 7 src = fetchFromGitHub { 8 owner = "runatlantis"; 9 repo = "atlantis"; 10 rev = "v${version}"; 11 + hash = "sha256-a+xrmEHkSh5kicxIIxnoXgF9ep2ay5kCXwMR2sAVJIA="; 12 }; 13 + ldflags = [ 14 + "-X=main.version=${version}" 15 + "-X=main.date=1970-01-01T00:00:00Z" 16 + ]; 17 18 + vendorHash = "sha256-ZbCNHARgliw9TMkHyS9k+cnWgbdCCJ+8nMdJMu66Uvo="; 19 20 subPackages = [ "." ]; 21
+2 -13
pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , fetchpatch 5 , makeWrapper 6 , makeDesktopItem 7 , copyDesktopItems ··· 20 21 stdenv.mkDerivation (finalAttrs: { 22 pname = "teams-for-linux"; 23 - version = "1.4.1"; 24 25 src = fetchFromGitHub { 26 owner = "IsmaelMartinez"; 27 repo = "teams-for-linux"; 28 rev = "v${finalAttrs.version}"; 29 - hash = "sha256-1URS9VPqV58p8RUA47j8sdqYqps1Ruo0aqdZXedvPX8="; 30 }; 31 32 offlineCache = fetchYarnDeps { 33 yarnLock = "${finalAttrs.src}/yarn.lock"; 34 hash = "sha256-ef+JW5ud9LlRxaCJC2iOT5N7FgZO7IkAABJcMQPvIBA="; 35 }; 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 47 nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ]; 48
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , makeWrapper 5 , makeDesktopItem 6 , copyDesktopItems ··· 19 20 stdenv.mkDerivation (finalAttrs: { 21 pname = "teams-for-linux"; 22 + version = "1.4.2"; 23 24 src = fetchFromGitHub { 25 owner = "IsmaelMartinez"; 26 repo = "teams-for-linux"; 27 rev = "v${finalAttrs.version}"; 28 + hash = "sha256-Y1SVUcBRDM+nyWuT0r0WS/PfKNkQd9x9DYlmJUFoeoo="; 29 }; 30 31 offlineCache = fetchYarnDeps { 32 yarnLock = "${finalAttrs.src}/yarn.lock"; 33 hash = "sha256-ef+JW5ud9LlRxaCJC2iOT5N7FgZO7IkAABJcMQPvIBA="; 34 }; 35 36 nativeBuildInputs = [ yarn prefetch-yarn-deps nodejs copyDesktopItems makeWrapper ]; 37
+2
pkgs/applications/networking/instant-messengers/webcord/default.nix
··· 5 , python3 6 , pipewire 7 , libpulseaudio 8 , xdg-utils 9 , electron_28 10 , makeDesktopItem ··· 44 libPath = lib.makeLibraryPath [ 45 libpulseaudio 46 pipewire 47 ]; 48 binPath = lib.makeBinPath [ xdg-utils ]; 49 in
··· 5 , python3 6 , pipewire 7 , libpulseaudio 8 + , libnotify 9 , xdg-utils 10 , electron_28 11 , makeDesktopItem ··· 45 libPath = lib.makeLibraryPath [ 46 libpulseaudio 47 pipewire 48 + libnotify 49 ]; 50 binPath = lib.makeBinPath [ xdg-utils ]; 51 in
+5 -1
pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme }: 2 3 stdenv.mkDerivation rec { 4 pname = "notmuch-bower"; ··· 12 }; 13 14 nativeBuildInputs = [ mercury pandoc ]; 15 16 buildInputs = [ ncurses gpgme ]; 17
··· 1 + { lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme, coreutils, file }: 2 3 stdenv.mkDerivation rec { 4 pname = "notmuch-bower"; ··· 12 }; 13 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 + ''; 19 20 buildInputs = [ ncurses gpgme ]; 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 ln -sf $out/nim/bin/nim $out/bin/nim 148 ln -sf $out/nim/lib $out/lib 149 ./install.sh $out 150 - cp -a tools $out/nim/ 151 runHook postInstall 152 ''; 153
··· 147 ln -sf $out/nim/bin/nim $out/bin/nim 148 ln -sf $out/nim/lib $out/lib 149 ./install.sh $out 150 + cp -a tools dist $out/nim/ 151 runHook postInstall 152 ''; 153
+10 -9
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
··· 210 return (max(sorted(versions))).raw_version 211 212 213 - def _get_latest_version_pypi(package, extension, current_version, target): 214 """Get latest version and hash from PyPI.""" 215 url = "{}/{}/json".format(INDEX, package) 216 json = _fetch_page(url) ··· 234 return version, sha256, None 235 236 237 - def _get_latest_version_github(package, extension, current_version, target): 238 def strip_prefix(tag): 239 return re.sub("^[^0-9]*", "", tag) 240 ··· 242 matches = re.findall(r"^([^0-9]*)", string) 243 return next(iter(matches), "") 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 try: 249 homepage = subprocess.check_output( 250 [ ··· 421 # Attempt a fetch using each pname, e.g. backports-zoneinfo vs backports.zoneinfo 422 successful_fetch = False 423 for pname in pnames: 424 - if BULK_UPDATE and _skip_bulk_update(f"python3Packages.{pname}"): 425 raise ValueError(f"Bulk update skipped for {pname}") 426 - elif _get_attr_value(f"python3Packages.{pname}.cargoDeps") is not None: 427 raise ValueError(f"Cargo dependencies are unsupported, skipping {pname}") 428 try: 429 new_version, new_sha256, prefix = FETCHERS[fetcher]( 430 - pname, extension, version, target 431 ) 432 successful_fetch = True 433 break ··· 452 sri_hash = _hash_to_sri("sha256", new_sha256) 453 454 # retrieve the old output hash for a more precise match 455 - if old_hash := _get_attr_value(f"python3Packages.{pname}.src.outputHash"): 456 # fetchers can specify a sha256, or a sri hash 457 try: 458 text = _replace_value("hash", sri_hash, text, old_hash)
··· 210 return (max(sorted(versions))).raw_version 211 212 213 + def _get_latest_version_pypi(attr_path, package, extension, current_version, target): 214 """Get latest version and hash from PyPI.""" 215 url = "{}/{}/json".format(INDEX, package) 216 json = _fetch_page(url) ··· 234 return version, sha256, None 235 236 237 + def _get_latest_version_github(attr_path, package, extension, current_version, target): 238 def strip_prefix(tag): 239 return re.sub("^[^0-9]*", "", tag) 240 ··· 242 matches = re.findall(r"^([^0-9]*)", string) 243 return next(iter(matches), "") 244 245 try: 246 homepage = subprocess.check_output( 247 [ ··· 418 # Attempt a fetch using each pname, e.g. backports-zoneinfo vs backports.zoneinfo 419 successful_fetch = False 420 for pname in pnames: 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): 426 raise ValueError(f"Bulk update skipped for {pname}") 427 + elif _get_attr_value(f"{attr_path}.cargoDeps") is not None: 428 raise ValueError(f"Cargo dependencies are unsupported, skipping {pname}") 429 try: 430 new_version, new_sha256, prefix = FETCHERS[fetcher]( 431 + attr_path, pname, extension, version, target 432 ) 433 successful_fetch = True 434 break ··· 453 sri_hash = _hash_to_sri("sha256", new_sha256) 454 455 # retrieve the old output hash for a more precise match 456 + if old_hash := _get_attr_value(f"{attr_path}.src.outputHash"): 457 # fetchers can specify a sha256, or a sri hash 458 try: 459 text = _replace_value("hash", sri_hash, text, old_hash)
+3 -4
pkgs/development/python-modules/epion/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "epion"; 13 - version = "0.0.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; ··· 18 src = fetchFromGitHub { 19 owner = "devenzo-com"; 20 repo = "epion_python"; 21 - # https://github.com/devenzo-com/epion_python/issues/1 22 - rev = "d8759951fc7bfd1507abe725b2bc98754cbbf505"; 23 - hash = "sha256-uC227rlu4NB5lpca02QLi2JZ5SKklLfv7rXvvJA1aCA="; 24 }; 25 26 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "epion"; 13 + version = "0.0.2"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; ··· 18 src = fetchFromGitHub { 19 owner = "devenzo-com"; 20 repo = "epion_python"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-XyYjbr0EPRrwWsXhZT2oWcoDPZoZCuT9aZ2UHSSt0E8="; 23 }; 24 25 nativeBuildInputs = [
+17 -9
pkgs/development/python-modules/gql/default.nix
··· 1 { lib 2 , aiofiles 3 , aiohttp 4 , backoff 5 , botocore 6 , buildPythonPackage 7 , fetchFromGitHub 8 , graphql-core 9 , mock 10 , parse 11 , pytest-asyncio ··· 14 , pythonOlder 15 , requests 16 , requests-toolbelt 17 , urllib3 18 , vcrpy 19 , websockets ··· 22 23 buildPythonPackage rec { 24 pname = "gql"; 25 - version = "3.4.1"; 26 - format = "setuptools"; 27 28 disabled = pythonOlder "3.7"; 29 30 src = fetchFromGitHub { 31 owner = "graphql-python"; 32 - repo = pname; 33 rev = "refs/tags/v${version}"; 34 - hash = "sha256-/uPaRju2AJCjMCfA29IKQ4Hu71RBu/Yz8jHwk9EE1Eg="; 35 }; 36 37 - postPatch = '' 38 - substituteInPlace setup.py --replace \ 39 - "websockets>=10,<11;python_version>'3.6'" \ 40 - "websockets>=10,<12;python_version>'3.6'" 41 - ''; 42 43 propagatedBuildInputs = [ 44 backoff 45 graphql-core 46 yarl ··· 60 all = [ 61 aiohttp 62 botocore 63 requests 64 requests-toolbelt 65 urllib3 ··· 67 ]; 68 aiohttp = [ 69 aiohttp 70 ]; 71 requests = [ 72 requests
··· 1 { lib 2 , aiofiles 3 , aiohttp 4 + , anyio 5 , backoff 6 , botocore 7 , buildPythonPackage 8 , fetchFromGitHub 9 , graphql-core 10 + , httpx 11 , mock 12 , parse 13 , pytest-asyncio ··· 16 , pythonOlder 17 , requests 18 , requests-toolbelt 19 + , setuptools 20 , urllib3 21 , vcrpy 22 , websockets ··· 25 26 buildPythonPackage rec { 27 pname = "gql"; 28 + version = "3.6.0b0"; 29 + pyproject = true; 30 31 disabled = pythonOlder "3.7"; 32 33 src = fetchFromGitHub { 34 owner = "graphql-python"; 35 + repo = "gql"; 36 rev = "refs/tags/v${version}"; 37 + hash = "sha256-yX6NbtGxBa3lL/bS3j2ouTPku6a4obqNGx1xRzx+Skk="; 38 }; 39 40 + __darwinAllowLocalNetworking = true; 41 + 42 + nativeBuildInputs = [ 43 + setuptools 44 + ]; 45 46 propagatedBuildInputs = [ 47 + anyio 48 backoff 49 graphql-core 50 yarl ··· 64 all = [ 65 aiohttp 66 botocore 67 + httpx 68 requests 69 requests-toolbelt 70 urllib3 ··· 72 ]; 73 aiohttp = [ 74 aiohttp 75 + ]; 76 + httpx = [ 77 + httpx 78 ]; 79 requests = [ 80 requests
+2 -2
pkgs/development/python-modules/pynetbox/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pynetbox"; 13 - version = "7.3.0"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "netbox-community"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-/ptLsV+3EYDBjM+D1VO75VqvCYe6PTlpKAJuQskazJc="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "pynetbox"; 13 + version = "7.3.3"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "netbox-community"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-QIvh24ZqnF8uF9HOuY0yt3QT/jHgJ2C916d+rBqezWQ="; 21 }; 22 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pytest-check/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "pytest-check"; 11 - version = "2.2.3"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 pname = "pytest_check"; 16 inherit version; 17 - hash = "sha256-bfAyZLa7zyXNhhUSDNoDtObRH9srfI3eapyP7xinSVw="; 18 }; 19 20 nativeBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "pytest-check"; 11 + version = "2.2.4"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 pname = "pytest_check"; 16 inherit version; 17 + hash = "sha256-0uaWYDFB9bLekFuTWD5FmE7DxhzscCZJ3rEL2XSFYLs="; 18 }; 19 20 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/slackclient/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "slackclient"; 24 - version = "3.26.1"; 25 format = "setuptools"; 26 27 disabled = pythonOlder "3.6"; ··· 30 owner = "slackapi"; 31 repo = "python-slack-sdk"; 32 rev = "refs/tags/v${version}"; 33 - hash = "sha256-jg4mUVT1sB9hxRqhLOeZxQHTpBK/N76b2XUaFe/nBKY="; 34 }; 35 36 propagatedBuildInputs = [
··· 21 22 buildPythonPackage rec { 23 pname = "slackclient"; 24 + version = "3.26.2"; 25 format = "setuptools"; 26 27 disabled = pythonOlder "3.6"; ··· 30 owner = "slackapi"; 31 repo = "python-slack-sdk"; 32 rev = "refs/tags/v${version}"; 33 + hash = "sha256-pvD86kbNOnuNT6+WTAKziJDUTx3ebJUq029UbSVuxdw="; 34 }; 35 36 propagatedBuildInputs = [
+8 -3
pkgs/development/python-modules/types-setuptools/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 }: 5 6 buildPythonPackage rec { 7 pname = "types-setuptools"; 8 - version = "69.0.0.0"; 9 - format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - hash = "sha256-sKBiGfYoxlJ7L4zncKT0dVDgDT6MOtg+LcMbxubtqV0="; 14 }; 15 16 # Module doesn't have tests 17 doCheck = false;
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , setuptools 5 }: 6 7 buildPythonPackage rec { 8 pname = "types-setuptools"; 9 + version = "68.2.0.2"; 10 + pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 + hash = "sha256-Ce/DgK1cf3jjC8oVRvcGRpVozyYITPq3Ps+D3qHShEY="; 15 }; 16 + 17 + nativeBuildInputs = [ 18 + setuptools 19 + ]; 20 21 # Module doesn't have tests 22 doCheck = false;
+2 -2
pkgs/development/python-modules/zamg/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "zamg"; 12 - version = "0.3.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "killer0071234"; 19 repo = "python-zamg"; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-hgJtM208xsDh9RbxOFu5DOiKonLMj8aWyu9+EhpE6TA="; 22 }; 23 24 postPatch = ''
··· 9 10 buildPythonPackage rec { 11 pname = "zamg"; 12 + version = "0.3.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "killer0071234"; 19 repo = "python-zamg"; 20 rev = "refs/tags/v${version}"; 21 + hash = "sha256-MomqMgL3axMdT/ckx2IG9k0IIDlNq0bod0ukjIvkM7Y="; 22 }; 23 24 postPatch = ''
+30 -13
pkgs/development/python-modules/zm-py/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage, isPy3k 2 - , pytest, requests }: 3 4 buildPythonPackage rec { 5 pname = "zm-py"; 6 - version = "0.5.2"; 7 - format = "setuptools"; 8 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "b391cca0e52f2a887aa7a46c314b73335b7e3341c428b425fcf314983e5ebb36"; 12 }; 13 14 - disabled = !isPy3k; 15 16 - propagatedBuildInputs = [ requests ]; 17 18 - nativeCheckInputs = [ pytest ]; 19 20 - checkPhase = '' 21 - PYTHONPATH="./zoneminder:$PYTHONPATH" pytest 22 - ''; 23 24 meta = with lib; { 25 description = "A loose python wrapper around the ZoneMinder REST API"; 26 homepage = "https://github.com/rohankapoorcom/zm-py"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ peterhoeg ]; 29 };
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , pytestCheckHook 6 + , pythonOlder 7 + , requests 8 + }: 9 10 buildPythonPackage rec { 11 pname = "zm-py"; 12 + version = "0.5.4"; 13 + pyproject = true; 14 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="; 22 }; 23 24 + nativeBuildInputs = [ 25 + poetry-core 26 + ]; 27 28 + propagatedBuildInputs = [ 29 + requests 30 + ]; 31 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 36 + pythonImportsCheck = [ 37 + "zoneminder" 38 + ]; 39 40 meta = with lib; { 41 description = "A loose python wrapper around the ZoneMinder REST API"; 42 homepage = "https://github.com/rohankapoorcom/zm-py"; 43 + changelog = "https://github.com/rohankapoorcom/zm-py/releases/tag/v${version}"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ peterhoeg ]; 46 };
+17 -12
pkgs/games/frotz/default.nix
··· 1 - { fetchFromGitLab 2 , libao 3 , libmodplug 4 , libsamplerate ··· 7 , ncurses 8 , which 9 , pkg-config 10 - , lib, stdenv }: 11 12 stdenv.mkDerivation rec { 13 - version = "2.53"; 14 pname = "frotz"; 15 16 src = fetchFromGitLab { 17 domain = "gitlab.com"; 18 owner = "DavidGriffith"; 19 repo = "frotz"; 20 rev = version; 21 - sha256 = "sha256-xVC/iE71W/Wdy5aPGH9DtcVAHWCcg3HkEA3iDV6OYUo="; 22 }; 23 24 nativeBuildInputs = [ which pkg-config ]; 25 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 - ''; 33 installFlags = [ "PREFIX=$(out)" ]; 34 35 meta = with lib; { ··· 37 changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${version}/NEWS"; 38 description = "A z-machine interpreter for Infocom games and other interactive fiction"; 39 platforms = platforms.unix; 40 - maintainers = with maintainers; [ nicknovitski ddelabru ]; 41 license = licenses.gpl2; 42 }; 43 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , fetchpatch 5 , libao 6 , libmodplug 7 , libsamplerate ··· 10 , ncurses 11 , which 12 , pkg-config 13 + }: 14 15 stdenv.mkDerivation rec { 16 pname = "frotz"; 17 + version = "2.54"; 18 19 src = fetchFromGitLab { 20 domain = "gitlab.com"; 21 owner = "DavidGriffith"; 22 repo = "frotz"; 23 rev = version; 24 + hash = "sha256-GvGxojD8d5GVy/d8h3q6K7KJroz2lsKbfE0F0acjBl8="; 25 }; 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 + 35 nativeBuildInputs = [ which pkg-config ]; 36 buildInputs = [ libao libmodplug libsamplerate libsndfile libvorbis ncurses ]; 37 + 38 installFlags = [ "PREFIX=$(out)" ]; 39 40 meta = with lib; { ··· 42 changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${version}/NEWS"; 43 description = "A z-machine interpreter for Infocom games and other interactive fiction"; 44 platforms = platforms.unix; 45 + maintainers = with maintainers; [ nicknovitski ddelabru ]; 46 license = licenses.gpl2; 47 }; 48 }
+2 -2
pkgs/os-specific/linux/kernel/zen-kernels.nix
··· 4 # comments with variant added for update script 5 # ./update-zen.py zen 6 zenVariant = { 7 - version = "6.6.10"; #zen 8 suffix = "zen1"; #zen 9 - sha256 = "1hhy5jp1s65vpvrw9xylx3xl7mmagzmm5r9bq81hvvr7bhf754ny"; #zen 10 isLqx = false; 11 }; 12 # ./update-zen.py lqx
··· 4 # comments with variant added for update script 5 # ./update-zen.py zen 6 zenVariant = { 7 + version = "6.7"; #zen 8 suffix = "zen1"; #zen 9 + sha256 = "005m4qjhbvn4jmm37sad9bmrrk2qfkxlaq3s7k296hjfkrqnbvlw"; #zen 10 isLqx = false; 11 }; 12 # ./update-zen.py lqx
+5
pkgs/servers/geospatial/mapserver/default.nix
··· 15 sha256 = "sha256-fAf4kOe/6bQW0i46+EZbD/6iWI2Bjkn2no6XeR/+mg4="; 16 }; 17 18 nativeBuildInputs = [ 19 cmake 20 pkg-config
··· 15 sha256 = "sha256-fAf4kOe/6bQW0i46+EZbD/6iWI2Bjkn2no6XeR/+mg4="; 16 }; 17 18 + patches = [ 19 + # drop this patch for version 8.0.2 20 + ./fix-build-w-libxml2-12.patch 21 + ]; 22 + 23 nativeBuildInputs = [ 24 cmake 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 # changelog, description, homepage, license, maintainers 40 } 41 } 42 43 ## Package attribute 44
··· 39 # changelog, description, homepage, license, maintainers 40 } 41 } 42 + ``` 43 44 ## Package attribute 45
+3 -3
pkgs/servers/monitoring/grafana-agent/default.nix
··· 14 15 buildGoModule rec { 16 pname = "grafana-agent"; 17 - version = "0.38.1"; 18 19 src = fetchFromGitHub { 20 owner = "grafana"; 21 repo = "agent"; 22 rev = "v${version}"; 23 - hash = "sha256-caqJE92yEzqU/UQS7Cgxe+4+wGqBqPshhhPAyPP2WPQ="; 24 }; 25 26 - vendorHash = "sha256-aN/vIBbezieMhWG/czwXxx+/M40mDySZmM8pxVVs3Vs="; 27 proxyVendor = true; # darwin/linux hash mismatch 28 29 frontendYarnOfflineCache = fetchYarnDeps {
··· 14 15 buildGoModule rec { 16 pname = "grafana-agent"; 17 + version = "0.39.0"; 18 19 src = fetchFromGitHub { 20 owner = "grafana"; 21 repo = "agent"; 22 rev = "v${version}"; 23 + hash = "sha256-mUPWww7RnrCwJKGWXIsX7vnTmxj2h31AzM8a0eKa15g="; 24 }; 25 26 + vendorHash = "sha256-nOuinJXTiTumHlOWcuGTBcrw9ArIdb/R8jIT/5+i0vM="; 27 proxyVendor = true; # darwin/linux hash mismatch 28 29 frontendYarnOfflineCache = fetchYarnDeps {
+2 -2
pkgs/servers/sabnzbd/default.nix
··· 47 ]); 48 path = lib.makeBinPath [ coreutils par2cmdline unrar unzip p7zip util-linux ]; 49 in stdenv.mkDerivation rec { 50 - version = "4.2.0"; 51 pname = "sabnzbd"; 52 53 src = fetchFromGitHub { 54 owner = pname; 55 repo = pname; 56 rev = version; 57 - sha256 = "sha256-ub8CwFcmxfsfhR45M5lVZvCHyzN/7CK4ElS4Q0U4qu8="; 58 }; 59 60 nativeBuildInputs = [ makeWrapper ];
··· 47 ]); 48 path = lib.makeBinPath [ coreutils par2cmdline unrar unzip p7zip util-linux ]; 49 in stdenv.mkDerivation rec { 50 + version = "4.2.1"; 51 pname = "sabnzbd"; 52 53 src = fetchFromGitHub { 54 owner = pname; 55 repo = pname; 56 rev = version; 57 + sha256 = "sha256-M9DvwizNeCXkV07dkgiComdjoceUACCuccZb+y9RMdw="; 58 }; 59 60 nativeBuildInputs = [ makeWrapper ];