diff options
Diffstat (limited to 'pkgs')
34 files changed, 627 insertions, 552 deletions
diff --git a/pkgs/applications/blockchains/btcd/default.nix b/pkgs/applications/blockchains/btcd/default.nix index 85c8692a567d2..75b14613b8ae0 100644 --- a/pkgs/applications/blockchains/btcd/default.nix +++ b/pkgs/applications/blockchains/btcd/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "btcd"; - version = "0.24.0"; + version = "0.24.2"; src = fetchFromGitHub { owner = "btcsuite"; repo = pname; rev = "v${version}"; - hash = "sha256-TLnJZW2CkvAqPTnJKfBY41siHtdZ+HRABsc+4vnQ9/w="; + hash = "sha256-83eiVYXpyiGgLmYxj3rFk4CHG7F9UQ3vk1ZHm64Cm4A="; }; - vendorHash = "sha256-quJEpSDltXhJcgI9H707p3HeLj1uuLzaMplT+YXzh/4="; + vendorHash = "sha256-ek+gaolwpwoEEWHKYpK2OxCpk/0vywF784J3CC0UCZ4="; subPackages = [ "." "cmd/*" ]; diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index 3461744ec6ebf..c1f275b6911e6 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -15,11 +15,11 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "1r76ikfikagg9v278pgiqhnjsv7pqn0xi372y1l0wsashlxl7kb0"; - x86_64-darwin = "156604xzazmb54p0rdkv5wy9livg0xz2jviycdizablmvsxybs57"; - aarch64-linux = "0cp120pcjpgf9qvmks9f8l2caxqlvnqvmxa7fh9mf83zpkdmnsnl"; - aarch64-darwin = "1k06648jx64irshs0v4qy6xlkd9mk514xf21dlfhvic4aj89kcx9"; - armv7l-linux = "0jy8hkbxh1969kskggg2y86cphly9l9gs7y4plj90jmlvlzjjjxm"; + x86_64-linux = "01riva442l78d8dyh0wb9iqhjfa1bd48bpc7zfvd4zpz6fwhlkqr"; + x86_64-darwin = "1pmvjxagbfrp25i4s66j892xiskrld5z25mkvlsdkddqlvnhanc9"; + aarch64-linux = "1lk1p45ibph3arbb5vgkgxlip2jafgmpq40ldpfrh55k6v83zd2q"; + aarch64-darwin = "17cd0grmplvk8s5wrcd1v172irrddjcc9drfp7qpvszd3kiy09a7"; + armv7l-linux = "1636i9b4fxh2jvakjag38ij6kmj1cf0nlfzyk5rfl06i06gfd6jr"; }.${system} or throwSystem; sourceRoot = lib.optionalString (!stdenv.isDarwin) "."; @@ -29,7 +29,7 @@ in # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.90.1.24165"; + version = "1.90.2.24171"; pname = "vscodium"; executableName = "codium"; diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix index 54d4e2417f695..7a6ad1abca4d4 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix @@ -27,11 +27,11 @@ version = "2024-05-13"; }; ungoogled-patches = { - hash = "sha256-lj/XYWkEo7M1i3D5e1MVXTXh02U55lNoo+sxKpu8FNc="; - rev = "126.0.6478.114-1"; + hash = "sha256-DLxtXcm4gPVzBeGxjD4harmdQWoH8LKn6GBlhtq/MVM="; + rev = "126.0.6478.126-1"; }; }; - hash = "sha256-sXP+/KXDoy3QnRoa9acGbsXKVCPspyNGtZTLMHBqxvw="; - version = "126.0.6478.114"; + hash = "sha256-Z0QeUG4ykNqdlxXYgLteJQ0jS8apC5kwW5hwlUnhod0="; + version = "126.0.6478.126"; }; } diff --git a/pkgs/applications/networking/cluster/odo/default.nix b/pkgs/applications/networking/cluster/odo/default.nix index 9ab5082f61dca..f907f68914303 100644 --- a/pkgs/applications/networking/cluster/odo/default.nix +++ b/pkgs/applications/networking/cluster/odo/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "odo"; - version = "3.15.0"; + version = "3.16.1"; src = fetchFromGitHub { owner = "redhat-developer"; repo = "odo"; rev = "v${version}"; - sha256 = "sha256-UPq211Lo95r2b/Ov/a7uhb5p9M3MlNd72VwkMXPHy2Y="; + sha256 = "sha256-zEN8yfjW3JHf6OzPQC6Rg2/hJ+3d9d2nYhz60BdSK9s="; }; vendorHash = null; diff --git a/pkgs/applications/version-management/gitkraken/default.nix b/pkgs/applications/version-management/gitkraken/default.nix index b806608a5b0ab..c1373346b6af0 100644 --- a/pkgs/applications/version-management/gitkraken/default.nix +++ b/pkgs/applications/version-management/gitkraken/default.nix @@ -161,14 +161,16 @@ let darwin = stdenv.mkDerivation { inherit pname version src meta; - nativeBuildInputs = [ unzip ]; + nativeBuildInputs = [ unzip makeWrapper ]; installPhase = '' runHook preInstall - mkdir -p $out/Applications/GitKraken.app + mkdir -p $out/Applications/GitKraken.app $out/bin cp -R . $out/Applications/GitKraken.app + makeWrapper $out/Applications/GitKraken.app/Contents/MacOS/GitKraken $out/bin/gitkraken + runHook postInstall ''; diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py index 195fce350c28a..bb46af27c690c 100755 --- a/pkgs/applications/version-management/gitlab/update.py +++ b/pkgs/applications/version-management/gitlab/update.py @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#! nix-shell -I nixpkgs=../../../.. -i python3 -p bundix bundler nix-update nix nix-universal-prefetch python3 python3Packages.requests python3Packages.click python3Packages.click-log python3Packages.packaging prefetch-yarn-deps git +#! nix-shell -I nixpkgs=../../../.. -i python3 -p bundix bundler nix-update nix python3 python3Packages.requests python3Packages.click python3Packages.click-log python3Packages.packaging prefetch-yarn-deps git import click import click_log @@ -49,19 +49,13 @@ class GitLabRepo: reverse=True, ) return versions - def get_git_hash(self, rev: str): return ( subprocess.check_output( [ - "nix-universal-prefetch", - "fetchFromGitLab", - "--owner", - self.owner, - "--repo", - self.repo, - "--rev", - rev, + "nix-prefetch-url", + "--unpack", + f"https://gitlab.com/{self.owner}/{self.repo}/-/archive/{rev}/{self.repo}-{rev}.tar.gz", ] ) .decode("utf-8") diff --git a/pkgs/by-name/au/auto-changelog/package.json b/pkgs/by-name/au/auto-changelog/package.json new file mode 100644 index 0000000000000..573119c376c56 --- /dev/null +++ b/pkgs/by-name/au/auto-changelog/package.json @@ -0,0 +1,100 @@ +{ + "name": "auto-changelog", + "version": "2.4.0", + "description": "Command line tool for generating a changelog from git tags and commit history", + "main": "./src/index.js", + "bin": { + "auto-changelog": "./src/index.js" + }, + "engines": { + "node": ">=8.3" + }, + "scripts": { + "lint": "standard --verbose | snazzy", + "lint-fix": "standard --fix", + "lint-markdown": "markdownlint README.md test/data/*.md", + "test": "cross-env NODE_ENV=test mocha -r @babel/register test", + "test-coverage": "cross-env NODE_ENV=test nyc mocha test", + "report-coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json", + "preversion": "npm run lint && npm run test", + "version": "node src/index.js --package && git add CHANGELOG.md", + "generate-test-data": "cross-env NODE_ENV=test node scripts/generate-test-data.js" + }, + "author": "Pete Cook <pete@cookpete.com> (https://github.com/cookpete)", + "homepage": "https://github.com/CookPete/auto-changelog", + "repository": { + "type": "git", + "url": "https://github.com/CookPete/auto-changelog.git" + }, + "bugs": { + "url": "https://github.com/CookPete/auto-changelog/issues" + }, + "keywords": [ + "auto", + "automatic", + "changelog", + "change", + "log", + "generator", + "git", + "commit", + "commits", + "history" + ], + "license": "MIT", + "dependencies": { + "commander": "^7.2.0", + "handlebars": "^4.7.7", + "node-fetch": "^2.6.1", + "parse-github-url": "^1.0.2", + "semver": "^7.3.5" + }, + "devDependencies": { + "@babel/core": "^7.14.3", + "@babel/register": "^7.13.16", + "babel-plugin-istanbul": "^6.0.0", + "babel-plugin-rewire": "^1.2.0", + "chai": "^4.3.4", + "codecov": "^3.8.2", + "cross-env": "^7.0.3", + "markdownlint-cli": "^0.30.0", + "mocha": "^9.2.0", + "nyc": "^15.1.0", + "snazzy": "^9.0.0", + "standard": "^16.0.3" + }, + "babel": { + "env": { + "test": { + "plugins": [ + "istanbul", + "rewire" + ] + } + } + }, + "standard": { + "ignore": [ + "test/data/" + ] + }, + "nyc": { + "all": true, + "include": "src", + "exclude": "src/index.js", + "sourceMap": false, + "instrument": false, + "report-dir": "./coverage", + "temp-dir": "./coverage/.nyc_output", + "require": [ + "@babel/register" + ], + "reporter": [ + "text", + "html" + ] + }, + "auto-changelog": { + "breakingPattern": "Breaking change" + } +} diff --git a/pkgs/by-name/au/auto-changelog/package.nix b/pkgs/by-name/au/auto-changelog/package.nix new file mode 100644 index 0000000000000..44a4273b9042a --- /dev/null +++ b/pkgs/by-name/au/auto-changelog/package.nix @@ -0,0 +1,31 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub +}: mkYarnPackage rec { + pname = "auto-changelog"; + version = "2.4.0"; + + src = fetchFromGitHub { + owner = "cookpete"; + repo = "auto-changelog"; + rev = "v${version}"; + hash = "sha256-qgJ/TVyViMhISt/EfCWV7XWQLXKTeZalGHFG905Ma5I="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-rP/Xt0txwfEUmGZ0CyHXSEG9zSMtv8wr5M2Na+6PbyQ="; + }; + + meta = { + description = "Command line tool for generating a changelog from git tags and commit history"; + homepage = "https://github.com/cookpete/auto-changelog"; + changelog = "https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md"; + license = lib.licenses.mit; + mainProgram = "auto-changelog"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} diff --git a/pkgs/by-name/di/diagnostic-languageserver/package.json b/pkgs/by-name/di/diagnostic-languageserver/package.json new file mode 100644 index 0000000000000..17483d559a2ff --- /dev/null +++ b/pkgs/by-name/di/diagnostic-languageserver/package.json @@ -0,0 +1,33 @@ +{ + "name": "diagnostic-languageserver", + "version": "1.15.0", + "description": "diagnostic language server", + "main": "./lib/index.js", + "repository": "git@github.com:iamcco/diagnostic-languageserver.git", + "author": "iamcco <ooiss@qq.com>", + "license": "MIT", + "scripts": { + "build": "tsc -p ./", + "watch": "tsc -w -p ./" + }, + "bin": { + "diagnostic-languageserver": "./bin/index.js" + }, + "dependencies": { + "commander": "^5.1.0", + "find-up": "^4.1.0", + "lodash": "^4.17.15", + "rxjs": "^6.5.5", + "tempy": "^0.7.1", + "tslib": "^1.11.2", + "vscode-languageserver": "^6.1.1", + "vscode-languageserver-textdocument": "^1.0.1", + "vscode-uri": "^2.1.1" + }, + "devDependencies": { + "@types/lodash": "^4.14.150", + "@types/node": "^11.11.3", + "ignore": "^5.1.8", + "typescript": "^3.8.3" + } +} diff --git a/pkgs/by-name/di/diagnostic-languageserver/package.nix b/pkgs/by-name/di/diagnostic-languageserver/package.nix new file mode 100644 index 0000000000000..81d99c83ac9fc --- /dev/null +++ b/pkgs/by-name/di/diagnostic-languageserver/package.nix @@ -0,0 +1,41 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub, + nix-update-script +}: mkYarnPackage rec { + pname = "diagnostic-languageserver"; + version = "1.15.0"; + + src = fetchFromGitHub { + owner = "iamcco"; + repo = "diagnostic-languageserver"; + rev = "v${version}"; + hash = "sha256-EFkvxMvtA5L6ZiDxrZxGnNAphNn/P3ra6ZrslplScZg="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-T8ppt8EDljtMhGp9i0VleU2Nw3tJexE2ufT6C4EtAz0="; + }; + + buildPhase = '' + runHook preBuild + yarn --offline build + runHook postBuild + ''; + doDist = false; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "General purpose Language Server that integrate with linter to support diagnostic features"; + homepage = "https://github.com/iamcco/diagnostic-languageserver"; + changelog = "https://github.com/iamcco/diagnostic-languageserver/releases/tag/v${version}"; + license = lib.licenses.mit; + mainProgram = "diagnostic-languageserver"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} diff --git a/pkgs/by-name/do/dotenv-cli/package.json b/pkgs/by-name/do/dotenv-cli/package.json new file mode 100644 index 0000000000000..3ad9bff441a1b --- /dev/null +++ b/pkgs/by-name/do/dotenv-cli/package.json @@ -0,0 +1,26 @@ +{ + "name": "dotenv-cli", + "description": "A global executable to run applications with the ENV variables loaded by dotenv", + "version": "7.4.3", + "author": "entropitor", + "bin": { + "dotenv": "./cli.js" + }, + "dependencies": { + "cross-spawn": "^7.0.3", + "dotenv": "^16.3.0", + "dotenv-expand": "^10.0.0", + "minimist": "^1.2.6" + }, + "devDependencies": { + "standard": "^16.0.4" + }, + "license": "MIT", + "main": "index.js", + "preferGlobal": true, + "repository": "entropitor/dotenv-cli", + "scripts": { + "lint": "standard" + }, + "resolutions": {} +} diff --git a/pkgs/by-name/do/dotenv-cli/package.nix b/pkgs/by-name/do/dotenv-cli/package.nix new file mode 100644 index 0000000000000..298fb07118c17 --- /dev/null +++ b/pkgs/by-name/do/dotenv-cli/package.nix @@ -0,0 +1,34 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub, + nix-update-script +}: mkYarnPackage rec { + pname = "dotenv-cli"; + version = "7.4.3"; + + src = fetchFromGitHub { + owner = "entropitor"; + repo = "dotenv-cli"; + rev = "v${version}"; + hash = "sha256-kR9LSHvbvKLuJBGrsmYMeqF3s8SF+/99OeNlKp9azI8="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-Sx5DHUAXquqMqJgvhvHcRPqkfWN49+6icUQIos6OHCg="; + }; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "CLI to load dotenv files"; + homepage = "https://github.com/entropitor/dotenv-cli"; + changelog = "https://github.com/entropitor/dotenv-cli/releases/tag/v${version}"; + license = lib.licenses.mit; + mainProgram = "dotenv"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} diff --git a/pkgs/by-name/ge/get-graphql-schema/package.json b/pkgs/by-name/ge/get-graphql-schema/package.json new file mode 100644 index 0000000000000..ade37982b91f9 --- /dev/null +++ b/pkgs/by-name/ge/get-graphql-schema/package.json @@ -0,0 +1,35 @@ +{ + "name": "get-graphql-schema", + "bin": "dist/index.js", + "files": [ + "README.md", + "dist/" + ], + "version": "2.1.1", + "description": "Downloads the GraphQL Schema of an GraphQL endpoint URL", + "scripts": { + "build": "tsc", + "prepublish": "npm run build && chmod +x dist/index.js", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/graphcool/get-graphql-schema.git" + }, + "author": "Johannes Schickling <johannes@graph.cool>", + "license": "MIT", + "dependencies": { + "@types/chalk": "^0.4.31", + "@types/graphql": "^0.8.6", + "@types/minimist": "^1.2.0", + "@types/node": "^7.0.4", + "@types/node-fetch": "^1.6.7", + "chalk": "^1.1.3", + "graphql": "^0.9.1", + "minimist": "^1.2.0", + "node-fetch": "^1.6.3" + }, + "devDependencies": { + "typescript": "^2.1.5" + } +} diff --git a/pkgs/by-name/ge/get-graphql-schema/package.nix b/pkgs/by-name/ge/get-graphql-schema/package.nix new file mode 100644 index 0000000000000..25d9f839778ca --- /dev/null +++ b/pkgs/by-name/ge/get-graphql-schema/package.nix @@ -0,0 +1,43 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub, + nodejs_22 +}: mkYarnPackage rec { + pname = "get-graphql-schema"; + version = "2.1.1"; + + src = fetchFromGitHub { + owner = "prisma-labs"; + repo = "get-graphql-schema"; + rev = "v${version}"; + hash = "sha256-ujc0LGAqmo4SmItm4VcbBOtmUvL6aV1ppMm4fMmuSRs="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-TZGNX8UHbolLyBmQNGTnFjgx3/3f2HNVQf/h9rIVJKs="; + }; + + buildPhase = '' + runHook preBuild + yarn --offline build + runHook postBuild + ''; + + postFixup = '' + substituteInPlace $out/libexec/get-graphql-schema/deps/get-graphql-schema/dist/index.js \ + --replace-fail "#!/usr/bin/env node" "#!${lib.getExe nodejs_22}" + chmod +x $out/bin/get-graphql-schema + ''; + meta = { + description = "Command line tool for generating a changelog from git tags and commit history"; + homepage = "https://github.com/cookpete/auto-changelog"; + changelog = "https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md"; + license = lib.licenses.mit; + mainProgram = "get-graphql-schema"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} diff --git a/pkgs/by-name/gr/gramma/package.json b/pkgs/by-name/gr/gramma/package.json new file mode 100644 index 0000000000000..5aa4d87333b02 --- /dev/null +++ b/pkgs/by-name/gr/gramma/package.json @@ -0,0 +1,84 @@ +{ + "name": "gramma", + "version": "1.6.0", + "license": "ISC", + "repository": "https://github.com/caderek/gramma", + "homepage": "https://caderek.github.io/gramma/", + "description": "Command line grammar checker", + "main": "src/index.js", + "bin": "src/cli.js", + "exports": { + ".": "./src/index.js", + "./esm": "./bundle/gramma.esm.js", + "./esm-min": "./bundle/gramma.esm.min.js", + "./iife": "./bundle/gramma.min.js" + }, + "types": "src/index.d.ts", + "scripts": { + "build": "rm -rf bin; yarn run build:win64; yarn run build:macos; yarn run build:linux64; yarn run build:zip; yarn run build:bundles", + "build:win64": "pkg -c package.json -t node16-win-x64 --out-path bin/windows64 src/cli.js", + "build:macos": "pkg -c package.json -t node16-macos-x64 --out-path bin/macos src/cli.js", + "build:linux64": "pkg -c package.json -t node16-linux-x64 --out-path bin/linux64 src/cli.js", + "build:bundles": "yarn run build:esm; yarn run build:esm-min; yarn run build:iife", + "build:esm": "esbuild src/index.js --bundle --outfile=bundle/gramma.esm.js --format=esm", + "build:esm-min": "esbuild src/index.js --bundle --outfile=bundle/gramma.esm.min.js --format=esm --minify", + "build:iife": "esbuild src/index.js --bundle --outfile=bundle/gramma.min.js --format=iife --minify --global-name=gramma", + "build:zip": "node scripts/zipBinaries.js", + "format": "prettier --write \"src/**/*.js\"", + "lint": "eslint src/**", + "test": "jest", + "test:ci": "jest --coverage && cat ./coverage/lcov.info | codacy-coverage", + "check:langs": "node scripts/checkLanguagesSupport.js", + "prepare": "husky install", + "definitions": "tsc" + }, + "keywords": [ + "grammar", + "command-line", + "checker" + ], + "author": "Maciej CÄ…derek | maciej.caderek@gmail.com", + "dependencies": { + "cli-progress": "^3.9.1", + "decompress": "^4.2.1", + "decompress-unzip": "^4.0.1", + "dotenv": "^10.0.0", + "intercept-stdout": "^0.1.2", + "isomorphic-fetch": "^3.0.0", + "kleur": "^4.1.4", + "portfinder": "^1.0.28", + "progress-stream": "^2.0.0", + "prompts": "^2.4.1", + "query-string": "^7.0.1", + "rimraf": "^3.0.2", + "tcp-port-used": "^1.0.2", + "yargs": "^17.2.1" + }, + "devDependencies": { + "@types/jest": "^27.0.2", + "codacy-coverage": "^3.4.0", + "esbuild": "^0.13.4", + "eslint": "^7.32.0", + "eslint-config-airbnb": "^18.2.1", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-react": "^7.26.1", + "gramma": "^1.5.0", + "husky": "^7.0.0", + "jest": "^27.2.4", + "pkg": "^5.3.3", + "prettier": "^2.4.1", + "shelljs": "^0.8.4", + "typescript": "^4.4.3" + }, + "jest": { + "verbose": true, + "testMatch": [ + "**/?(*.)(spec|test).?(m)js" + ] + }, + "engines": { + "node": ">=12.0.0" + } +} diff --git a/pkgs/by-name/gr/gramma/package.nix b/pkgs/by-name/gr/gramma/package.nix new file mode 100644 index 0000000000000..d5ba331d00032 --- /dev/null +++ b/pkgs/by-name/gr/gramma/package.nix @@ -0,0 +1,34 @@ +{ + lib, + mkYarnPackage, + fetchYarnDeps, + fetchFromGitHub, + nix-update-script +}: mkYarnPackage rec { + pname = "gramma"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "caderek"; + repo = "gramma"; + rev = "v${version}"; + hash = "sha256-gfBwKpsttdhjD/Opn8251qskURpwLX2S5NSbpwP3hFg="; + }; + + packageJSON = ./package.json; + offlineCache = fetchYarnDeps { + yarnLock = "${src}/yarn.lock"; + hash = "sha256-FuR6wUhAaej/vMgjAlICMEj1pPf+7PFrdu2lTFshIkg="; + }; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "command-line grammar checker"; + homepage = "https://caderek.github.io/gramma/"; + changelog = "https://github.com/caderek/gramma/releases/tag/v${version}"; + license = lib.licenses.isc; + mainProgram = "gramma"; + maintainers = with lib.maintainers; [ pyrox0 ]; + }; +} diff --git a/pkgs/by-name/gr/grype/package.nix b/pkgs/by-name/gr/grype/package.nix index dd851078933cc..588e0e45d911f 100644 --- a/pkgs/by-name/gr/grype/package.nix +++ b/pkgs/by-name/gr/grype/package.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "grype"; - version = "0.79.0"; + version = "0.79.1"; src = fetchFromGitHub { owner = "anchore"; repo = "grype"; rev = "refs/tags/v${version}"; - hash = "sha256-fFiZ6GOKaHcBnxakhd3Mdm1hHmfAwyq/ScBNUwrm0vw="; + hash = "sha256-Ih1xja20e3wCZ68kRA9bK8jh+pw/5KtlgeE3dDjqeE0="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -30,7 +30,7 @@ buildGoModule rec { proxyVendor = true; - vendorHash = "sha256-PIs+6P7w6vjOOpH96KEdG6tHRCU7ijtdyS/1C77BPDw="; + vendorHash = "sha256-iSpSJwAHB/HJ3Ut1VgUBd1yCwOaM4f3ihR0J4YjMVxM="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/li/libeduvpn-common/package.nix b/pkgs/by-name/li/libeduvpn-common/package.nix index a0b559fa31e7a..bc011a3410ea0 100644 --- a/pkgs/by-name/li/libeduvpn-common/package.nix +++ b/pkgs/by-name/li/libeduvpn-common/package.nix @@ -5,11 +5,11 @@ buildGoModule rec { pname = "libeduvpn-common"; - version = "2.0.1"; + version = "2.0.2"; src = fetchurl { url = "https://github.com/eduvpn/eduvpn-common/releases/download/${version}/eduvpn-common-${version}.tar.xz"; - hash = "sha256-hTF9CSqU9c0+TOK+/oRGjY1fBCKpisiiTJnWZqcdvjA="; + hash = "sha256-cD2WqxKCQkDL4lNbFKcbKygvmmd5FT8mZe5DDw+kizg="; }; vendorHash = null; diff --git a/pkgs/by-name/li/licensure/package.nix b/pkgs/by-name/li/licensure/package.nix index 19e580df3d5bb..9798bc0d8f362 100644 --- a/pkgs/by-name/li/licensure/package.nix +++ b/pkgs/by-name/li/licensure/package.nix @@ -1,10 +1,12 @@ { lib +, stdenv , rustPlatform , fetchFromGitHub , pkg-config , openssl , git , gitls +, darwin }: rustPlatform.buildRustPackage rec { pname = "licensure"; @@ -19,7 +21,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-449p+y7qUcTxBOttyQPt+nRtK+s9HJBoVKGdMQaszLQ="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl git gitls ]; + buildInputs = [ openssl git gitls ] + ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.SystemConfiguration + ]; checkFlags = [ # Checking for files in the git repo (git ls-files), @@ -33,6 +38,6 @@ rustPlatform.buildRustPackage rec { license = licenses.gpl3Plus; mainProgram = "licensure"; maintainers = [ maintainers.soispha ]; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; }; } diff --git a/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix b/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix index 121d9072ab09a..7814ec363dce2 100644 --- a/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix +++ b/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix @@ -15,7 +15,8 @@ jq, libsoup, moreutils, - nodePackages, + pnpm_8, + nodejs, openssl, pkg-config, webkitgtk, @@ -51,7 +52,7 @@ rustPlatform.buildRustPackage { cacert jq moreutils - nodePackages.pnpm + pnpm_8 ]; # https://github.com/NixOS/nixpkgs/blob/763e59ffedb5c25774387bf99bc725df5df82d10/pkgs/applications/misc/pot/default.nix#L56 @@ -77,7 +78,8 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [ cargo-tauri desktop-file-utils - nodePackages.pnpm + pnpm_8 + nodejs pkg-config ]; diff --git a/pkgs/by-name/ru/rustmission/package.nix b/pkgs/by-name/ru/rustmission/package.nix new file mode 100644 index 0000000000000..1c1920e22d1da --- /dev/null +++ b/pkgs/by-name/ru/rustmission/package.nix @@ -0,0 +1,44 @@ +{ lib +, fetchFromGitHub +, rustPlatform +, pkg-config +, openssl +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "rustmission"; + version = "0.3.3"; + + src = fetchFromGitHub { + owner = "intuis"; + repo = "rustmission"; + rev = "v${version}"; + hash = "sha256-OOewobyfJYnspeXFYzTP7SLrNQRnDl0jv81TJjQAdUE="; + }; + + cargoHash = "sha256-dLddB+YA1uC8CVMVI1aVo1oMufxRupW26hGkb8796Ek="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.CoreFoundation + darwin.apple_sdk.frameworks.Security + darwin.apple_sdk.frameworks.SystemConfiguration + ]; + + # There is no tests + doCheck = false; + + meta = { + description = "A TUI for the Transmission daemon"; + homepage = "https://github.com/intuis/rustmission"; + changelog = "https://github.com/intuis/rustmission/releases/tag/v${version}"; + license = lib.licenses.gpl3Only; + mainProgram = "rustmission"; + maintainers = with lib.maintainers; [ anas ]; + platforms = with lib.platforms; unix ++ windows; + }; +} diff --git a/pkgs/by-name/sp/spla/package.nix b/pkgs/by-name/sp/spla/package.nix index 86124dfe77729..eccf87258ace3 100644 --- a/pkgs/by-name/sp/spla/package.nix +++ b/pkgs/by-name/sp/spla/package.nix @@ -22,13 +22,13 @@ assert builtins.elem gpuBackend [ "none" "cuda" "rocm" ]; stdenv.mkDerivation rec { pname = "spla"; - version = "1.6.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "eth-cscs"; repo = pname; rev = "v${version}"; - hash = "sha256-1k9Su7loXsH7AyhYFZax+4nyNoCO5+WJbXrzGGAIy/c="; + hash = "sha256-fNH1IOKV1Re8G7GH9Xfn3itR80eonTbEGKQRRD16/2k="; }; outputs = [ "out" "dev" ]; diff --git a/pkgs/by-name/sy/syft/package.nix b/pkgs/by-name/sy/syft/package.nix index e3c9cf532184a..31402d58fa72c 100644 --- a/pkgs/by-name/sy/syft/package.nix +++ b/pkgs/by-name/sy/syft/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "syft"; - version = "1.7.0"; + version = "1.8.0"; src = fetchFromGitHub { owner = "anchore"; repo = "syft"; rev = "refs/tags/v${version}"; - hash = "sha256-fTqyFsFWSsVt2Thd15nlsmnNIhQSLAv9SaaaVJWto/8="; + hash = "sha256-S61O/JxVu60GS/T9jVBuebn+EFBwB5jiSEkKV/h/S+s="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -28,7 +28,7 @@ buildGoModule rec { # hash mismatch with darwin proxyVendor = true; - vendorHash = "sha256-U4PZPUsfWCJB2YFJkirF8Q46pRmhKqzSnk7GpKOrfbU="; + vendorHash = "sha256-WSDbTI0U3Vqkfy8fxuqq9G5uBnBQ3421vyn6RriQx/U="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/development/libraries/pinocchio/default.nix b/pkgs/development/libraries/pinocchio/default.nix index 9432722647cac..470668bb1eb23 100644 --- a/pkgs/development/libraries/pinocchio/default.nix +++ b/pkgs/development/libraries/pinocchio/default.nix @@ -25,8 +25,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-h4NzfS27+jWyHbegxF+pgN6JzJdVAoM16J6G/9uNJc4="; }; - # test failure, ref https://github.com/stack-of-tasks/pinocchio/issues/2277 - prePatch = lib.optionalString (stdenv.isLinux && stdenv.isAarch64) '' + prePatch = '' + # test failure, ref https://github.com/stack-of-tasks/pinocchio/issues/2304 + substituteInPlace unittest/CMakeLists.txt \ + --replace-fail "add_pinocchio_unit_test(contact-cholesky)" "" + '' + lib.optionalString (stdenv.isLinux && stdenv.isAarch64) '' + # test failure, ref https://github.com/stack-of-tasks/pinocchio/issues/2304 + substituteInPlace unittest/CMakeLists.txt \ + --replace-fail "add_pinocchio_unit_test(contact-models)" "" + # test failure, ref https://github.com/stack-of-tasks/pinocchio/issues/2277 substituteInPlace unittest/algorithm/utils/CMakeLists.txt \ --replace-fail "add_pinocchio_unit_test(force)" "" ''; diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index 9b182a1bb7bde..4a4e34e25070d 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -57,6 +57,7 @@ mapAliases { alloy = pkgs.titanium-alloy; # added 2023-08-17 antennas = pkgs.antennas; # added 2023-07-30 inherit (pkgs) asar; # added 2023-08-26 + inherit (pkgs) auto-changelog; # added 2024-06-25 inherit (pkgs) aws-azure-login; # added 2023-09-30 balanceofsatoshis = pkgs.balanceofsatoshis; # added 2023-07-31 inherit (pkgs) bash-language-server; # added 2024-06-07 @@ -76,7 +77,9 @@ mapAliases { inherit (pkgs) create-react-app; # added 2023-09-25 dat = throw "dat was removed because it was broken"; # added 2023-08-21 inherit (pkgs) degit; # added 2023-08-18 + inherit (pkgs) diagnostic-languageserver; # added 2024-06-25 inherit (pkgs) dockerfile-language-server-nodejs; # added 2023-08-18 + inherit (pkgs) dotenv-cli; # added 2024-06-26 eask = pkgs.eask; # added 2023-08-17 inherit (pkgs.elmPackages) elm-test; eslint_d = pkgs.eslint_d; # Added 2023-05-26 @@ -84,9 +87,12 @@ mapAliases { flood = pkgs.flood; # Added 2023-07-25 generator-code = throw "generator-code was removed because it provides no executable"; # added 2023-09-24 git-ssb = throw "git-ssb was removed because it was broken"; # added 2023-08-21 + inherit (pkgs) git-standup; # added 2024-06-26 inherit (pkgs) gitmoji-cli; # added 2023-09-23 glob = pkgs.node-glob; # added 2023-08-18 + inherit (pkgs) get-graphql-schema; # added 2024-06-26 inherit (pkgs) gqlint; # added 2023-08-19 + inherit (pkgs) gramma; # added 2024-06-26 inherit (pkgs) graphite-cli; # added 2024-01-25 inherit (pkgs) graphqurl; # added 2023-08-19 gtop = pkgs.gtop; # added 2023-07-31 @@ -118,6 +124,7 @@ mapAliases { parcel-bundler = parcel; # added 2023-09-04 pkg = pkgs.vercel-pkg; # added 2023-10-04 inherit (pkgs) pm2; # added 2024-01-22 + inherit (pkgs) pnpm; # added 2024-06-26 prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14 inherit (pkgs) pxder; # added 2023-09-26 inherit (pkgs) quicktype; # added 2023-09-09 diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index c8fe6573dc4ef..4cb74a9183ec5 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -21,7 +21,6 @@ , "alex" , "audiosprite" , "autoprefixer" -, "auto-changelog" , "aws-cdk" , "awesome-lint" , "bower" @@ -89,9 +88,7 @@ , "cspell" , "csslint" , "dhcp" -, "diagnostic-languageserver" , "diff2html-cli" -, "dotenv-cli" , "dotenv-vault" , "elasticdump" , "@electron-forge/cli" @@ -112,11 +109,8 @@ , "fx" , "ganache" , "gatsby-cli" -, "get-graphql-schema" , "git-run" -, "git-standup" , "@gitbeaker/cli" -, "gramma" , "grammarly-languageserver" , "graphql" , "graphql-cli" @@ -182,7 +176,6 @@ , "patch-package" , "peerflix" , "peerflix-server" -, "pnpm" , "poor-mans-t-sql-formatter-cli" , "postcss" , "postcss-cli" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 7f7049db4762a..db0e664c77138 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -28771,15 +28771,6 @@ let sha512 = "tdcqOOpwArNjEr0gNQKCXwaNCWnQJrog14nJNQPeemcLnXQUUGrsCWpWkVKt46zLjcS6/KGoayeJfHHyPDlvwA=="; }; }; - "graphql-14.7.0" = { - name = "graphql"; - packageName = "graphql"; - version = "14.7.0"; - src = fetchurl { - url = "https://registry.npmjs.org/graphql/-/graphql-14.7.0.tgz"; - sha512 = "l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA=="; - }; - }; "graphql-15.3.0" = { name = "graphql"; packageName = "graphql"; @@ -31039,15 +31030,6 @@ let sha512 = "v7cSY1J8ydZ0GyjUHqF+1bshJ6cnEVLo9EnjB8p+4HDRPZc9N5jjmvUV7NvEsqQOKyH0pmIBFWXVQbiS0+OBbA=="; }; }; - "intercept-stdout-0.1.2" = { - name = "intercept-stdout"; - packageName = "intercept-stdout"; - version = "0.1.2"; - src = fetchurl { - url = "https://registry.npmjs.org/intercept-stdout/-/intercept-stdout-0.1.2.tgz"; - sha512 = "Umb41Ryp5FzLurfCRAWx+jjNAk8jsw2RTk2XPIwus+86h/Y2Eb4DfOWof/mZ6FBww8SoO45rJSlg25054/Di9w=="; - }; - }; "internal-ip-1.2.0" = { name = "internal-ip"; packageName = "internal-ip"; @@ -32857,15 +32839,6 @@ let sha512 = "WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg=="; }; }; - "isomorphic-fetch-3.0.0" = { - name = "isomorphic-fetch"; - packageName = "isomorphic-fetch"; - version = "3.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz"; - sha512 = "qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA=="; - }; - }; "isomorphic-textencoder-1.0.1" = { name = "isomorphic-textencoder"; packageName = "isomorphic-textencoder"; @@ -35170,15 +35143,6 @@ let sha512 = "mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="; }; }; - "lodash._arraycopy-3.0.0" = { - name = "lodash._arraycopy"; - packageName = "lodash._arraycopy"; - version = "3.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/lodash._arraycopy/-/lodash._arraycopy-3.0.0.tgz"; - sha512 = "RHShTDnPKP7aWxlvXKiDT6IX2jCs6YZLCtNhOru/OX2Q/tzX295vVBK5oX1ECtN+2r86S0Ogy8ykP1sgCZAN0A=="; - }; - }; "lodash._arrayeach-3.0.0" = { name = "lodash._arrayeach"; packageName = "lodash._arrayeach"; @@ -35899,15 +35863,6 @@ let sha512 = "wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ=="; }; }; - "lodash.toarray-3.0.2" = { - name = "lodash.toarray"; - packageName = "lodash.toarray"; - version = "3.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-3.0.2.tgz"; - sha512 = "ptkjUqvuHjTuMJJxiktJpZhxM5l60bEkfntJx+NFzdQd1bZVxfpTF1bhFYFqBrT4F0wZ1qx9KbVmHJV3Rfc7Tw=="; - }; - }; "lodash.toarray-4.4.0" = { name = "lodash.toarray"; packageName = "lodash.toarray"; @@ -44640,15 +44595,6 @@ let sha512 = "7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="; }; }; - "progress-stream-2.0.0" = { - name = "progress-stream"; - packageName = "progress-stream"; - version = "2.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/progress-stream/-/progress-stream-2.0.0.tgz"; - sha512 = "xJwOWR46jcXUq6EH9yYyqp+I52skPySOeHfkxOZ2IY1AiBi/sFJhbhAKHoV3OTw/omQ45KTio9215dRJ2Yxd3Q=="; - }; - }; "prom-client-11.5.3" = { name = "prom-client"; packageName = "prom-client"; @@ -50202,15 +50148,6 @@ let sha512 = "phdEoDlA6EUIVtzwq1UiNMXDUogczp204aYF/yfOhjNePWFfIpBJ1k5wLMuXQhEOOMjuTJEcc4vdZa+vuP+n/Q=="; }; }; - "speedometer-1.0.0" = { - name = "speedometer"; - packageName = "speedometer"; - version = "1.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/speedometer/-/speedometer-1.0.0.tgz"; - sha512 = "lgxErLl/7A5+vgIIXsh9MbeukOaCb2axgQ+bKCdIE+ibNT4XNYGNCR1qFEGq6F+YDASXK3Fh/c5FgtZchFolxw=="; - }; - }; "speedtest-net-1.6.2" = { name = "speedtest-net"; packageName = "speedtest-net"; @@ -56449,15 +56386,6 @@ let sha512 = "GuayqdKZqAwwaCUjDvMTAVRPJOp/SLON3mJ07eGsx/Iq9HjRymhKWztX41rISqDKhHVVyFM+IywICyZDla6U3A=="; }; }; - "vscode-languageserver-6.1.1" = { - name = "vscode-languageserver"; - packageName = "vscode-languageserver"; - version = "6.1.1"; - src = fetchurl { - url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-6.1.1.tgz"; - sha512 = "DueEpkUAkD5XTR4MLYNr6bQIp/UFR0/IPApgXU3YfCBCB08u2sm9hRCs6DxYZELkk++STPjpcjksR2H8qI3cDQ=="; - }; - }; "vscode-languageserver-6.2.0-next.2" = { name = "vscode-languageserver"; packageName = "vscode-languageserver"; @@ -57196,15 +57124,6 @@ let sha512 = "p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg=="; }; }; - "whatwg-fetch-3.6.20" = { - name = "whatwg-fetch"; - packageName = "whatwg-fetch"; - version = "3.6.20"; - src = fetchurl { - url = "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz"; - sha512 = "EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg=="; - }; - }; "whatwg-mimetype-2.3.0" = { name = "whatwg-mimetype"; packageName = "whatwg-mimetype"; @@ -63573,42 +63492,6 @@ in bypassCache = true; reconstructLock = true; }; - auto-changelog = nodeEnv.buildNodePackage { - name = "auto-changelog"; - packageName = "auto-changelog"; - version = "2.4.0"; - src = fetchurl { - url = "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.4.0.tgz"; - sha512 = "vh17hko1c0ItsEcw6m7qPRf3m45u+XK5QyCrrBFViElZ8jnKrPC1roSznrd1fIB/0vR/zawdECCRJtTuqIXaJw=="; - }; - dependencies = [ - sources."commander-7.2.0" - sources."encoding-0.1.13" - sources."handlebars-4.7.8" - sources."iconv-lite-0.6.3" - sources."minimist-1.2.8" - sources."neo-async-2.6.2" - sources."node-fetch-2.7.0" - sources."parse-github-url-1.0.2" - sources."safer-buffer-2.1.2" - sources."semver-7.6.2" - sources."source-map-0.6.1" - sources."tr46-0.0.3" - sources."uglify-js-3.18.0" - sources."webidl-conversions-3.0.1" - sources."whatwg-url-5.0.0" - sources."wordwrap-1.0.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "Command line tool for generating a changelog from git tags and commit history"; - homepage = "https://github.com/CookPete/auto-changelog"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; aws-cdk = nodeEnv.buildNodePackage { name = "aws-cdk"; packageName = "aws-cdk"; @@ -68654,92 +68537,6 @@ in bypassCache = true; reconstructLock = true; }; - diagnostic-languageserver = nodeEnv.buildNodePackage { - name = "diagnostic-languageserver"; - packageName = "diagnostic-languageserver"; - version = "1.15.0"; - src = fetchurl { - url = "https://registry.npmjs.org/diagnostic-languageserver/-/diagnostic-languageserver-1.15.0.tgz"; - sha512 = "B1kH0j0jOd106t5E14xItYazxFAYOsAvhK+e0+eYW3nOzG3saKFXfkoeJ86T8g2U40lIwo0Jt8xusn8gd34Swg=="; - }; - dependencies = [ - sources."@nodelib/fs.scandir-2.1.5" - sources."@nodelib/fs.stat-2.0.5" - sources."@nodelib/fs.walk-1.2.8" - sources."aggregate-error-3.1.0" - sources."array-union-2.1.0" - sources."balanced-match-1.0.2" - sources."brace-expansion-1.1.11" - sources."braces-3.0.3" - sources."clean-stack-2.2.0" - sources."commander-5.1.0" - sources."concat-map-0.0.1" - sources."crypto-random-string-2.0.0" - sources."del-6.1.1" - sources."dir-glob-3.0.1" - sources."fast-glob-3.3.2" - sources."fastq-1.17.1" - sources."fill-range-7.1.1" - sources."find-up-4.1.0" - sources."fs.realpath-1.0.0" - sources."glob-7.2.3" - sources."glob-parent-5.1.2" - sources."globby-11.1.0" - sources."graceful-fs-4.2.11" - sources."ignore-5.3.1" - sources."indent-string-4.0.0" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."is-extglob-2.1.1" - sources."is-glob-4.0.3" - sources."is-number-7.0.0" - sources."is-path-cwd-2.2.0" - sources."is-path-inside-3.0.3" - sources."is-stream-2.0.1" - sources."locate-path-5.0.0" - sources."lodash-4.17.21" - sources."merge2-1.4.1" - sources."micromatch-4.0.7" - sources."minimatch-3.1.2" - sources."once-1.4.0" - sources."p-limit-2.3.0" - sources."p-locate-4.1.0" - sources."p-map-4.0.0" - sources."p-try-2.2.0" - sources."path-exists-4.0.0" - sources."path-is-absolute-1.0.1" - sources."path-type-4.0.0" - sources."picomatch-2.3.1" - sources."queue-microtask-1.2.3" - sources."reusify-1.0.4" - sources."rimraf-3.0.2" - sources."run-parallel-1.2.0" - sources."rxjs-6.6.7" - sources."slash-3.0.0" - sources."temp-dir-2.0.0" - sources."tempy-0.7.1" - sources."to-regex-range-5.0.1" - sources."tslib-1.14.1" - sources."type-fest-0.16.0" - sources."unique-string-2.0.0" - sources."vscode-jsonrpc-8.2.0" - sources."vscode-languageserver-6.1.1" - sources."vscode-languageserver-protocol-3.17.5" - sources."vscode-languageserver-textdocument-1.0.11" - sources."vscode-languageserver-types-3.17.5" - sources."vscode-uri-2.1.2" - sources."wrappy-1.0.2" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "diagnostic language server"; - homepage = "https://github.com/iamcco/diagnostic-languageserver#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; diff2html-cli = nodeEnv.buildNodePackage { name = "diff2html-cli"; packageName = "diff2html-cli"; @@ -68820,35 +68617,6 @@ in bypassCache = true; reconstructLock = true; }; - dotenv-cli = nodeEnv.buildNodePackage { - name = "dotenv-cli"; - packageName = "dotenv-cli"; - version = "7.4.2"; - src = fetchurl { - url = "https://registry.npmjs.org/dotenv-cli/-/dotenv-cli-7.4.2.tgz"; - sha512 = "SbUj8l61zIbzyhIbg0FwPJq6+wjbzdn9oEtozQpZ6kW2ihCcapKVZj49oCT3oPM+mgQm+itgvUQcG5szxVrZTA=="; - }; - dependencies = [ - sources."cross-spawn-7.0.3" - sources."dotenv-16.4.5" - sources."dotenv-expand-10.0.0" - sources."isexe-2.0.0" - sources."minimist-1.2.8" - sources."path-key-3.1.1" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."which-2.0.2" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "A global executable to run applications with the ENV variables loaded by dotenv"; - homepage = "https://github.com/entropitor/dotenv-cli#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; dotenv-vault = nodeEnv.buildNodePackage { name = "dotenv-vault"; packageName = "dotenv-vault"; @@ -74233,43 +74001,6 @@ in bypassCache = true; reconstructLock = true; }; - get-graphql-schema = nodeEnv.buildNodePackage { - name = "get-graphql-schema"; - packageName = "get-graphql-schema"; - version = "2.1.2"; - src = fetchurl { - url = "https://registry.npmjs.org/get-graphql-schema/-/get-graphql-schema-2.1.2.tgz"; - sha512 = "1z5Hw91VrE3GrpCZE6lE8Dy+jz4kXWesLS7rCSjwOxf5BOcIedAZeTUJRIeIzmmR+PA9CKOkPTYFRJbdgUtrxA=="; - }; - dependencies = [ - sources."ansi-styles-3.2.1" - sources."chalk-2.4.2" - sources."color-convert-1.9.3" - sources."color-name-1.1.3" - sources."encoding-0.1.13" - sources."escape-string-regexp-1.0.5" - sources."graphql-14.7.0" - sources."has-flag-3.0.0" - sources."iconv-lite-0.6.3" - sources."iterall-1.3.0" - sources."minimist-1.2.8" - sources."node-fetch-2.7.0" - sources."safer-buffer-2.1.2" - sources."supports-color-5.5.0" - sources."tr46-0.0.3" - sources."webidl-conversions-3.0.1" - sources."whatwg-url-5.0.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "Downloads the GraphQL Schema of an GraphQL endpoint URL"; - homepage = "https://github.com/graphcool/get-graphql-schema#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; git-run = nodeEnv.buildNodePackage { name = "git-run"; packageName = "git-run"; @@ -74299,24 +74030,6 @@ in bypassCache = true; reconstructLock = true; }; - git-standup = nodeEnv.buildNodePackage { - name = "git-standup"; - packageName = "git-standup"; - version = "2.3.2"; - src = fetchurl { - url = "https://registry.npmjs.org/git-standup/-/git-standup-2.3.2.tgz"; - sha512 = "vDYicak+2y+u6TCtneCx/j6LuT9WhJShyWjTB5dhjXqTB9TJ/uF444OmYwrMlaT0/CqxHOV9NXlML+CR8AJxdA=="; - }; - buildInputs = globalBuildInputs; - meta = { - description = "Recall what you did on the last working day. Psst! or be nosy and find what someone else in your team did ;-)"; - homepage = "https://github.com/kamranahmedse/git-standup#readme"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; "@gitbeaker/cli" = nodeEnv.buildNodePackage { name = "_at_gitbeaker_slash_cli"; packageName = "@gitbeaker/cli"; @@ -74365,168 +74078,6 @@ in bypassCache = true; reconstructLock = true; }; - gramma = nodeEnv.buildNodePackage { - name = "gramma"; - packageName = "gramma"; - version = "1.6.0"; - src = fetchurl { - url = "https://registry.npmjs.org/gramma/-/gramma-1.6.0.tgz"; - sha512 = "5I4yc0miSXU2jvD17zpleKufSggU8etr5uxxLX0nkFLJRfB4Fp2yg1s1SuietfaripT9H2lVhftFYrj2wl56uw=="; - }; - dependencies = [ - sources."ansi-regex-5.0.1" - sources."ansi-styles-4.3.0" - sources."async-2.6.4" - sources."balanced-match-1.0.2" - sources."base64-js-1.5.1" - sources."bl-1.2.3" - sources."brace-expansion-1.1.11" - sources."buffer-5.7.1" - sources."buffer-alloc-1.2.0" - sources."buffer-alloc-unsafe-1.1.0" - sources."buffer-crc32-0.2.13" - sources."buffer-fill-1.0.0" - sources."cli-progress-3.12.0" - sources."cliui-8.0.1" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."commander-2.20.3" - sources."concat-map-0.0.1" - sources."core-util-is-1.0.3" - sources."debug-3.2.7" - sources."decode-uri-component-0.2.2" - sources."decompress-4.2.1" - sources."decompress-tar-4.1.1" - (sources."decompress-tarbz2-4.1.1" // { - dependencies = [ - sources."file-type-6.2.0" - ]; - }) - sources."decompress-targz-4.1.1" - (sources."decompress-unzip-4.0.1" // { - dependencies = [ - sources."file-type-3.9.0" - ]; - }) - sources."deep-is-0.1.4" - sources."dotenv-10.0.0" - sources."emoji-regex-8.0.0" - sources."encoding-0.1.13" - sources."end-of-stream-1.4.4" - sources."escalade-3.1.2" - sources."fd-slicer-1.1.0" - sources."file-type-5.2.0" - sources."filter-obj-1.1.0" - sources."fs-constants-1.0.0" - sources."fs.realpath-1.0.0" - sources."get-caller-file-2.0.5" - sources."get-stream-2.3.1" - sources."glob-7.2.3" - sources."graceful-fs-4.2.11" - sources."iconv-lite-0.6.3" - sources."ieee754-1.2.1" - sources."inflight-1.0.6" - sources."inherits-2.0.4" - sources."intercept-stdout-0.1.2" - sources."ip-regex-4.3.0" - sources."is-fullwidth-code-point-3.0.0" - sources."is-natural-number-4.0.1" - sources."is-stream-1.1.0" - sources."is-url-1.2.4" - sources."is2-2.0.9" - sources."isarray-1.0.0" - sources."isomorphic-fetch-3.0.0" - sources."kleur-4.1.5" - sources."lodash-4.17.21" - sources."lodash._arraycopy-3.0.0" - sources."lodash._basevalues-3.0.0" - sources."lodash._getnative-3.9.1" - sources."lodash.isarguments-3.1.0" - sources."lodash.isarray-3.0.4" - sources."lodash.keys-3.1.2" - sources."lodash.toarray-3.0.2" - (sources."make-dir-1.3.0" // { - dependencies = [ - sources."pify-3.0.0" - ]; - }) - sources."minimatch-3.1.2" - sources."minimist-1.2.8" - sources."mkdirp-0.5.6" - sources."ms-2.1.3" - sources."node-fetch-2.7.0" - sources."object-assign-4.1.1" - sources."once-1.4.0" - sources."path-is-absolute-1.0.1" - sources."pend-1.2.0" - sources."pify-2.3.0" - sources."pinkie-2.0.4" - sources."pinkie-promise-2.0.1" - sources."portfinder-1.0.32" - sources."process-nextick-args-2.0.1" - sources."progress-stream-2.0.0" - (sources."prompts-2.4.2" // { - dependencies = [ - sources."kleur-3.0.3" - ]; - }) - sources."query-string-7.1.3" - (sources."readable-stream-2.3.8" // { - dependencies = [ - sources."safe-buffer-5.1.2" - ]; - }) - sources."require-directory-2.1.1" - sources."rimraf-3.0.2" - sources."safe-buffer-5.2.1" - sources."safer-buffer-2.1.2" - sources."seek-bzip-1.0.6" - sources."sisteransi-1.0.5" - sources."speedometer-1.0.0" - sources."split-on-first-1.1.0" - sources."strict-uri-encode-2.0.0" - sources."string-width-4.2.3" - (sources."string_decoder-1.1.1" // { - dependencies = [ - sources."safe-buffer-5.1.2" - ]; - }) - sources."strip-ansi-6.0.1" - sources."strip-dirs-2.1.0" - sources."tar-stream-1.6.2" - (sources."tcp-port-used-1.0.2" // { - dependencies = [ - sources."debug-4.3.1" - sources."ms-2.1.2" - ]; - }) - sources."through-2.3.8" - sources."through2-2.0.5" - sources."to-buffer-1.1.1" - sources."tr46-0.0.3" - sources."unbzip2-stream-1.4.3" - sources."util-deprecate-1.0.2" - sources."webidl-conversions-3.0.1" - sources."whatwg-fetch-3.6.20" - sources."whatwg-url-5.0.0" - sources."wrap-ansi-7.0.0" - sources."wrappy-1.0.2" - sources."xtend-4.0.2" - sources."y18n-5.0.8" - sources."yargs-17.7.2" - sources."yargs-parser-21.1.1" - sources."yauzl-2.10.0" - ]; - buildInputs = globalBuildInputs; - meta = { - description = "Command line grammar checker"; - homepage = "https://caderek.github.io/gramma/"; - license = "ISC"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; grammarly-languageserver = nodeEnv.buildNodePackage { name = "grammarly-languageserver"; packageName = "grammarly-languageserver"; @@ -85674,24 +85225,6 @@ in bypassCache = true; reconstructLock = true; }; - pnpm = nodeEnv.buildNodePackage { - name = "pnpm"; - packageName = "pnpm"; - version = "9.3.0"; - src = fetchurl { - url = "https://registry.npmjs.org/pnpm/-/pnpm-9.3.0.tgz"; - sha512 = "7nuT4MK9EUCcZCT5K4ZvMdPqG+9fvkfTx1AM3DyWaIM9LlVoGtZt9bZAxh+p3CXVRu+lTXbX+L9UsTYUrCk2MQ=="; - }; - buildInputs = globalBuildInputs; - meta = { - description = "Fast, disk space efficient package manager"; - homepage = "https://pnpm.io"; - license = "MIT"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; poor-mans-t-sql-formatter-cli = nodeEnv.buildNodePackage { name = "poor-mans-t-sql-formatter-cli"; packageName = "poor-mans-t-sql-formatter-cli"; diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index 7f56b6d74c515..c725197bddb66 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -217,25 +217,6 @@ final: prev: { ''; }; - pnpm = prev.pnpm.override { - nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ]; - - preRebuild = '' - sed 's/"link:/"file:/g' --in-place package.json - ''; - - postInstall = let - pnpmLibPath = lib.makeBinPath [ - nodejs.passthru.python - nodejs - ]; - in '' - for prog in $out/bin/*; do - wrapProgram "$prog" --prefix PATH : ${pnpmLibPath} - done - ''; - }; - postcss-cli = prev.postcss-cli.override (oldAttrs: let esbuild-version = (lib.findFirst (dep: dep.name == "esbuild") null oldAttrs.dependencies).version; esbuild-linux-x64 = { diff --git a/pkgs/development/python-modules/cleanlab/default.nix b/pkgs/development/python-modules/cleanlab/default.nix index b7c2070ebcea3..e5f227f7545e1 100644 --- a/pkgs/development/python-modules/cleanlab/default.nix +++ b/pkgs/development/python-modules/cleanlab/default.nix @@ -1,14 +1,19 @@ { lib, buildPythonPackage, - fetchFromGitHub, pythonOlder, + fetchFromGitHub, + + # build-system + setuptools, + + # dependencies numpy, scikit-learn, termcolor, tqdm, pandas, - setuptools, + # test dependencies datasets, fasttext, @@ -26,7 +31,7 @@ buildPythonPackage rec { pname = "cleanlab"; - version = "2.6.5"; + version = "2.6.6"; pyproject = true; disabled = pythonOlder "3.8"; @@ -35,7 +40,7 @@ buildPythonPackage rec { owner = "cleanlab"; repo = "cleanlab"; rev = "refs/tags/v${version}"; - hash = "sha256-wehvGh27Ey1YK+eWTjT6jRwa7yqPpx3P0HUNePoljpw="; + hash = "sha256-08ePFTCRuggr4hTCfr/gbzMhLozz4KCywhPFSKYDNng="; }; build-system = [ setuptools ]; diff --git a/pkgs/games/ddnet/default.nix b/pkgs/games/ddnet/default.nix index 87ce27e96bffc..955baea28be85 100644 --- a/pkgs/games/ddnet/default.nix +++ b/pkgs/games/ddnet/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cargo , cmake , ninja @@ -35,19 +36,19 @@ stdenv.mkDerivation rec { pname = "ddnet"; - version = "18.2"; + version = "18.3"; src = fetchFromGitHub { owner = "ddnet"; repo = pname; rev = version; - hash = "sha256-KerV174GPF2htfaQo5gRFLgpnGf9UoS0zQ/yd/SDFkQ="; + hash = "sha256-QefbA6ncxMDHmd7tBH1bU+8FoVVJVdEtOuVXEvteSOE="; }; cargoDeps = rustPlatform.fetchCargoTarball { name = "${pname}-${version}"; inherit src; - hash = "sha256-cAz98SspJ5QFjw7rXtdmfShllAx89pg+PUs20bkmBCg="; + hash = "sha256-XwSdDvE0p/A+6ZbV82K78jgIxGs71fu7ZDGTl0I0cCI="; }; nativeBuildInputs = [ @@ -91,6 +92,13 @@ stdenv.mkDerivation rec { Security ]); + patches = [ + (fetchpatch { + url = "https://github.com/ddnet/ddnet/pull/8517/commits/c840bf45016a30e629f7684df5fab5d07b2c70d5.patch"; + hash = "sha256-UG7pi0Xh/nAHFEF1RIyNZLewF+NFilTLARbV5oUlftc="; + }) + ]; + postPatch = '' substituteInPlace src/engine/shared/storage.cpp \ --replace /usr/ $out/ diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index df328c942a1e5..e3fae05fe01ec 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -10,11 +10,11 @@ stdenv.mkDerivation rec { pname = "btrfs-progs"; - version = "6.9"; + version = "6.9.1"; src = fetchurl { url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; - hash = "sha256-fhSl1ZfzI919G0U+Ok5mGn6fB+oGDvv/T3b/gxWRfeg="; + hash = "sha256-7VSz1w0MfBHaBCipz6WoHLguYzFkx7pXz2cU+LaUGLo="; }; nativeBuildInputs = [ diff --git a/pkgs/tools/misc/esphome/dashboard.nix b/pkgs/tools/misc/esphome/dashboard.nix index d8428e365fcd1..0b485ad49e6af 100644 --- a/pkgs/tools/misc/esphome/dashboard.nix +++ b/pkgs/tools/misc/esphome/dashboard.nix @@ -5,12 +5,13 @@ buildPythonPackage rec { pname = "esphome-dashboard"; - version = "20240412.0"; + version = "20240620.0"; format = "setuptools"; src = fetchPypi { - inherit pname version; - hash = "sha256-MT/EpZ8kDKHhJGF4njdh6Q+xe8GF4FYxaoIighSguiQ="; + pname = "esphome_dashboard"; + inherit version; + hash = "sha256-lx3i8Z2PUefyibCNiQ4zPEwfgXr6r/TVa9TBF0YE5fA="; }; # no tests diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 7dc67ba2ef70f..f5f3c68a16ad1 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -19,14 +19,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2024.5.4"; + version = "2024.6.1"; pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-UxNMHRQLrViK9ssFc0vHA/zqNw5yH8E6n+OAnq6vJdQ="; + hash = "sha256-bFQnAuyEBzFV9xiGOHLJrR4oTUU8ZRHjIa3ww0yCNRk="; }; nativeBuildInputs = with python.pkgs; [ @@ -38,9 +38,17 @@ python.pkgs.buildPythonApplication rec { pythonRelaxDeps = true; + pythonRemoveDeps = [ + "esptool" + "platformio" + ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools==" "setuptools>=" + # drop coverage testing - sed -i '/--cov/d' pytest.ini + sed -i '/--cov/d' pyproject.toml # ensure component dependencies are available cat requirements_optional.txt >> requirements.txt diff --git a/pkgs/tools/misc/thin-provisioning-tools/default.nix b/pkgs/tools/misc/thin-provisioning-tools/default.nix index aa1fc40be50ce..35df5bbf4e0fa 100644 --- a/pkgs/tools/misc/thin-provisioning-tools/default.nix +++ b/pkgs/tools/misc/thin-provisioning-tools/default.nix @@ -25,6 +25,30 @@ rustPlatform.buildRustPackage rec { inherit (nixosTests.lvm2) lvm-thinpool-linux-latest; }; + # required for config compatibility with configs done pre 0.9.0 + # see https://github.com/NixOS/nixpkgs/issues/317018 + postInstall = '' + ln -s $out/bin/pdata_tools $out/bin/cache_check + ln -s $out/bin/pdata_tools $out/bin/cache_dump + ln -s $out/bin/pdata_tools $out/bin/cache_metadata_size + ln -s $out/bin/pdata_tools $out/bin/cache_repair + ln -s $out/bin/pdata_tools $out/bin/cache_restore + ln -s $out/bin/pdata_tools $out/bin/cache_writeback + ln -s $out/bin/pdata_tools $out/bin/era_check + ln -s $out/bin/pdata_tools $out/bin/era_dump + ln -s $out/bin/pdata_tools $out/bin/era_invalidate + ln -s $out/bin/pdata_tools $out/bin/era_restore + ln -s $out/bin/pdata_tools $out/bin/thin_check + ln -s $out/bin/pdata_tools $out/bin/thin_delta + ln -s $out/bin/pdata_tools $out/bin/thin_dump + ln -s $out/bin/pdata_tools $out/bin/thin_ls + ln -s $out/bin/pdata_tools $out/bin/thin_metadata_size + ln -s $out/bin/pdata_tools $out/bin/thin_repair + ln -s $out/bin/pdata_tools $out/bin/thin_restore + ln -s $out/bin/pdata_tools $out/bin/thin_rmap + ln -s $out/bin/pdata_tools $out/bin/thin_trim + ''; + meta = with lib; { homepage = "https://github.com/jthornber/thin-provisioning-tools/"; description = "Suite of tools for manipulating the metadata of the dm-thin device-mapper target"; |