Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-08-31 06:04:15 +00:00 committed by GitHub
commit 8158f1d5b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 942 additions and 656 deletions

View File

@ -21841,6 +21841,12 @@
githubId = 19894025; githubId = 19894025;
name = "Vinny Meller"; name = "Vinny Meller";
}; };
vinylen = {
email = "victor@viclab.se";
github = "vinylen";
githubId = 98466471;
name = "Victor Nilsson";
};
vinymeuh = { vinymeuh = {
email = "vinymeuh@gmail.com"; email = "vinymeuh@gmail.com";
github = "vinymeuh"; github = "vinymeuh";

View File

@ -246,6 +246,8 @@
and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream. and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
The `vscode-langservers-extracted` package is a maintained drop-in replacement. The `vscode-langservers-extracted` package is a maintained drop-in replacement.
- `nodePackages.prisma` has been replaced by `prisma`.
- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than - `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
`fetchzip`. This invalidates all existing hashes but you can restore the old `fetchzip`. This invalidates all existing hashes but you can restore the old
behavior by passing it `unpack = true`. behavior by passing it `unpack = true`.

View File

@ -1,39 +1,31 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, python3 , python3
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "databricks-sql-cli"; pname = "databricks-sql-cli";
version = "0.1.4"; version = "0.3.3";
format = "pyproject"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "databricks"; owner = "databricks";
repo = "databricks-sql-cli"; repo = "databricks-sql-cli";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-gr7LJfnvIu2Jf1XgILqfZoi8CbXeQyq0g1wLEBa5TPM="; hash = "sha256-wmwXw1o+pRsRjA7ai9x5o1el7mNBqM6xlGrvw0IqfMo=";
}; };
patches = [
# https://github.com/databricks/databricks-sql-cli/pull/38
(fetchpatch {
url = "https://github.com/databricks/databricks-sql-cli/commit/fc294e00819b6966f1605e5c1ce654473510aefe.patch";
sha256 = "sha256-QVrb7mD0fVbHrbrDywI6tsFNYM19x74LY8rhqqC8szE=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'python = ">=3.7.1,<4.0"' 'python = ">=3.8,<4.0"' \
--replace 'pandas = "1.3.4"' 'pandas = "~1.5"'
'';
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [
poetry-core poetry-core
]; ];
pythonRelaxDeps = [
"pandas"
"databricks-sql-connector"
"sqlparse"
"numpy"
];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
cli-helpers cli-helpers
click click
@ -51,6 +43,7 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "CLI for querying Databricks SQL"; description = "CLI for querying Databricks SQL";
mainProgram = "dbsqlcli";
homepage = "https://github.com/databricks/databricks-sql-cli"; homepage = "https://github.com/databricks/databricks-sql-cli";
changelog = "https://github.com/databricks/databricks-sql-cli/releases/tag/v${version}"; changelog = "https://github.com/databricks/databricks-sql-cli/releases/tag/v${version}";
license = licenses.databricks; license = licenses.databricks;

View File

@ -1,7 +1,7 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, buildNpmPackage , buildNpmPackage
, nodePackages , prisma
, nix-update-script , nix-update-script
}: }:
let let
@ -18,12 +18,14 @@ buildNpmPackage {
hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo="; hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo=";
}; };
nativeBuildInputs = [ prisma ];
preBuild = '' preBuild = ''
# somehow for linux, npm is not finding the prisma package with the # somehow for linux, npm is not finding the prisma package with the
# packages installed with the lockfile. # packages installed with the lockfile.
# This generates a prisma version incompatibility warning and is a kludge # This generates a prisma version incompatibility warning and is a kludge
# until the upstream package-lock is modified. # until the upstream package-lock is modified.
${nodePackages.prisma}/bin/prisma generate prisma generate
''; '';
npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E="; npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E=";

View File

@ -20,14 +20,14 @@
let let
pname = "qownnotes"; pname = "qownnotes";
appname = "QOwnNotes"; appname = "QOwnNotes";
version = "24.8.5"; version = "24.9.0";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit pname version; inherit pname version;
src = fetchurl { src = fetchurl {
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
hash = "sha256-2aXKb9epApscoxt9I2oL6pl1jnGu6sbHTr9+pz6QJu4="; hash = "sha256-xlGBpRiak/th/z9zKbQXpuk3py/W1ns90NjKw4w3FtI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "bbctl"; pname = "bbctl";
version = "0.12.1"; version = "0.12.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "beeper"; owner = "beeper";
repo = "bridge-manager"; repo = "bridge-manager";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-MAve7ZNS20XBJ7Qp3mehznli04+MS7RiVWW1txdf19U="; hash = "sha256-Q8RgfkPw8KPkfORaPCwM18rNhzNm4UcH4hSdfYe4FZo=";
}; };
vendorHash = "sha256-uz4pao8Y/Sb3fffi9d0lbWQEUMohbthA6t6k6PfQz2M="; vendorHash = "sha256-uz4pao8Y/Sb3fffi9d0lbWQEUMohbthA6t6k6PfQz2M=";

View File

@ -0,0 +1,6 @@
{ stdenv, makeSetupHook }:
makeSetupHook {
name = "breakpoint-hook";
meta.broken = !stdenv.buildPlatform.isLinux;
} ./breakpoint-hook.sh

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "cgl"; pname = "cgl";
version = "0.60.8"; version = "0.60.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coin-or"; owner = "coin-or";
repo = "Cgl"; repo = "Cgl";
rev = "releases/${finalAttrs.version}"; rev = "releases/${finalAttrs.version}";
hash = "sha256-nyqrHC6UOKp1wn6Yvk+53oBn60wUqSWEPUrcNTuPN04="; hash = "sha256-E84yCrgpRMjt7owPLPk1ATW+aeHNw8V24DHgkb6boIE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -13,10 +13,10 @@ let
}.${system} or throwSystem; }.${system} or throwSystem;
hash = { hash = {
x86_64-linux = "sha256-EpmbqXLu+yShS86mXCTYpLuPVPIzvQIKVMcnVEN61OU="; x86_64-linux = "sha256-MQYUSUbQ0YjJjURpX/fguUbXJdcs16z/eYHXUzzMQ14=";
aarch64-linux = "sha256-rCglTEpIxGR0RjOSJgEgJGWhhJ/ZgI361AMkgBbnflU="; aarch64-linux = "sha256-SQoxk70ZTBsK+KKaCF2M/5de7+L2Ycgryr4yZEfK6N8=";
x86_64-darwin = "sha256-C9xOdgNmapOgLVyrZGP03hcVwIpmHqFwpxQalZtbJSo="; x86_64-darwin = "sha256-Tl70grYgR/yF1giGOdzvsii2GQ2/pGdUT+TAMslixzw=";
aarch64-darwin = "sha256-Gm5ZITOpsKNeWkqDPrn9BbPDH4AM3NkFG+nhc6hbZ+4="; aarch64-darwin = "sha256-VJwfskMUMpGk3n52KMvBa01EKUcZsvsd0yt7nGon6yw=";
}.${system} or throwSystem; }.${system} or throwSystem;
bin = "$out/bin/codeium_language_server"; bin = "$out/bin/codeium_language_server";
@ -24,7 +24,7 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "codeium"; pname = "codeium";
version = "1.10.0"; version = "1.14.11";
src = fetchurl { src = fetchurl {
name = "${finalAttrs.pname}-${finalAttrs.version}.gz"; name = "${finalAttrs.pname}-${finalAttrs.version}.gz";
url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz"; url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz";

View File

@ -6,14 +6,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "marcel"; pname = "marcel";
version = "0.29.0"; version = "0.30.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "geophile"; owner = "geophile";
repo = "marcel"; repo = "marcel";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hUI5dUqelmRuk65s67rJXrZoPDWAcnNVIHlzxAgRExs="; hash = "sha256-si3p9kmV+/7jz/+CQ92INlY0kURX1V7Ok4zeNYtzUkI=";
}; };
nativeBuildInputs = with python3Packages; [ nativeBuildInputs = with python3Packages; [

View File

@ -4,7 +4,6 @@
, fetchFromGitHub , fetchFromGitHub
, buildGoModule , buildGoModule
, makeWrapper , makeWrapper
, breakpointHook
, jq , jq
, curl , curl
, kubectl , kubectl
@ -32,7 +31,7 @@ buildGoModule {
subPackages = [ "." ]; subPackages = [ "." ];
vendorHash = "sha256-JkQbQ2NEaumXbAfsv0fNiQf/EwMs3SDLHvu7c/bU7fU="; vendorHash = "sha256-JkQbQ2NEaumXbAfsv0fNiQf/EwMs3SDLHvu7c/bU7fU=";
nativeBuildInputs = [ makeWrapper jq curl breakpointHook ]; nativeBuildInputs = [ makeWrapper jq curl ];
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -15,18 +15,18 @@
buildGoModule rec { buildGoModule rec {
pname = "picocrypt"; pname = "picocrypt";
version = "1.40"; version = "1.41";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Picocrypt"; owner = "Picocrypt";
repo = "Picocrypt"; repo = "Picocrypt";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-L3UkWUT6zsUj5C/RHVvaTbt6E8VERk3hZNBGSGbON3c="; hash = "sha256-jbZW9JqRVEH48RmGSQzSKaoTRSnA85N7iDHIQqTF6JQ=";
}; };
sourceRoot = "${src.name}/src"; sourceRoot = "${src.name}/src";
vendorHash = "sha256-YYQMJXyVANDrYsd7B/q8L5dpvbzxqjLvm6v20PnpAkY="; vendorHash = "sha256-S5iR0eeR+nqxNzE3+KDN1Yw7nmycN0IhhMZjIdVb6WQ=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -0,0 +1,101 @@
{
lib,
fetchFromGitHub,
stdenv,
nodejs,
pnpm_8,
prisma-engines,
jq,
makeWrapper,
moreutils,
callPackage,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "prisma";
version = "5.18.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma";
rev = finalAttrs.version;
hash = "sha256-BLD2nKryigXr03BCgGwb3PnCcBLMyDfSFb9Snj0VPKI=";
};
nativeBuildInputs = [
nodejs
pnpm_8.configHook
jq
makeWrapper
moreutils
];
pnpmDeps = pnpm_8.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-lgdJk7HCfX3cAvdEI8xG/IVBiLWezdUN0q+e/0LtVUQ=";
};
patchPhase = ''
runHook prePatch
for package in packages/*; do
jq --arg version $version '.version = $version' $package/package.json | sponge $package/package.json
done
runHook postPatch
'';
buildPhase = ''
runHook preBuild
pnpm build
runHook postBuild
'';
# FIXME: Use pnpm deploy: https://github.com/pnpm/pnpm/issues/5315
installPhase = ''
runHook preInstall
mkdir -p $out/lib/prisma
# Fetch CLI workspace dependencies
deps_json=$(pnpm list --filter ./packages/cli --prod --depth Infinity --json)
deps=$(jq -r '[.. | strings | select(startswith("link:../")) | sub("^link:../"; "")] | unique[]' <<< "$deps_json")
# Remove unnecessary external dependencies
rm -rf node_modules
pnpm install --offline --ignore-scripts --frozen-lockfile --prod --filter ./packages/cli
cp -r node_modules $out/lib/prisma
# Only install cli and its workspace dependencies
for package in cli $deps; do
filename=$(npm pack --json ./packages/$package | jq -r '.[].filename')
mkdir -p $out/lib/prisma/packages/$package
cp -r packages/$package/node_modules $out/lib/prisma/packages/$package
tar xf $filename --strip-components=1 -C $out/lib/prisma/packages/$package
done
makeWrapper "${lib.getExe nodejs}" "$out/bin/prisma" \
--add-flags "$out/lib/prisma/packages/cli/build/index.js" \
--set PRISMA_SCHEMA_ENGINE_BINARY ${prisma-engines}/bin/schema-engine \
--set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \
--set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node
runHook postInstall
'';
dontStrip = true;
passthru.tests = {
cli = callPackage ./test-cli.nix { };
};
meta = with lib; {
description = "Next-generation ORM for Node.js and TypeScript";
homepage = "https://www.prisma.io/";
license = licenses.asl20;
maintainers = with maintainers; [ aqrln ];
platforms = platforms.unix;
};
})

View File

@ -1,21 +1,29 @@
{ lib, pkgs, runCommand, prisma }: {
lib,
runCommand,
prisma,
prisma-engines,
sqlite-interactive,
}:
let let
inherit (prisma) packageName;
prismaMajorVersion = lib.versions.majorMinor prisma.version; prismaMajorVersion = lib.versions.majorMinor prisma.version;
enginesMajorVersion = lib.versions.majorMinor pkgs.prisma-engines.version; enginesMajorVersion = lib.versions.majorMinor prisma-engines.version;
in in
runCommand "prisma-cli-tests"
runCommand "${packageName}-tests" { {
nativeBuildInputs = with pkgs; [ prisma sqlite-interactive ]; nativeBuildInputs = [
meta.timeout = 60; prisma
} sqlite-interactive
];
meta.timeout = 60;
}
'' ''
mkdir $out mkdir $out
cd $out cd $out
if [ "${prismaMajorVersion}" != "${enginesMajorVersion}" ]; then if [ "${prismaMajorVersion}" != "${enginesMajorVersion}" ]; then
echo "nodePackages.prisma in version ${prismaMajorVersion} and prisma-engines in ${enginesMajorVersion}. Major versions must match." echo "prisma in version ${prismaMajorVersion} and prisma-engines in ${enginesMajorVersion}. Major versions must match."
exit 1 exit 1
fi fi

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "proto"; pname = "proto";
version = "0.38.3"; version = "0.40.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "moonrepo"; owner = "moonrepo";
repo = "proto"; repo = "proto";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-o/du9XmiS7U5ypm6osQtVTjrJY60iLCkJ4DWCYOeIoY="; hash = "sha256-GpTNU/kaxo9BgMh5FdeJghpENIuC7Tdy+K1uXcPIQuY=";
}; };
cargoHash = "sha256-Z0XPouvv6eR9eKLQurI/UGSiRZyGUo/x1c/XbcJlO5A="; cargoHash = "sha256-CjdIjJ6Nvckihp3mo86lzmqJD1aXSwKoyrLWMhOVy8w=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration darwin.apple_sdk.frameworks.SystemConfiguration

View File

@ -33,10 +33,10 @@
let let
# Keep these separate so the update script can regex them # Keep these separate so the update script can regex them
rpcs3GitVersion = "16857-1c16ada67"; rpcs3GitVersion = "16875-3b36df48e";
rpcs3Version = "0.0.32-16857-1c16ada67"; rpcs3Version = "0.0.32-16875-3b36df48e";
rpcs3Revision = "1c16ada670bb396e98b33ec4510c1b3efb534724"; rpcs3Revision = "3b36df48e9682f257d4eb4151b7b7c390f952858";
rpcs3Hash = "sha256-uEk7svLCE/jsiyg6NnINZcqltE8QS9gXOEXpWZfbDF8="; rpcs3Hash = "sha256-rGRMIbLwUYTC11ErJMYreinZbckIwxGJ9WXdySQ9j28=";
inherit (qt6Packages) qtbase qtmultimedia wrapQtAppsHook qtwayland; inherit (qt6Packages) qtbase qtmultimedia wrapQtAppsHook qtwayland;
in in

View File

@ -3,18 +3,18 @@
, fetchFromGitHub , fetchFromGitHub
}: }:
buildGoModule { buildGoModule rec {
pname = "spirit"; pname = "spirit";
version = "0-unstable-2024-05-24"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cashapp"; owner = "cashapp";
repo = "spirit"; repo = "spirit";
rev = "a384d903db9586d2610f06319bd67814dad678a5"; rev = "v${version}-prerelease";
hash = "sha256-oybvdVSG9XvBk4j+a+R8CIrEmzZ+gV0Chysq/sr2sws="; hash = "sha256-e0Eu7BeOwZA8UKwonuuOde1idzaIMtprWya7nxgqyjs=";
}; };
vendorHash = "sha256-iTU45Ce5Mb09MyJTzqueyO0F9wV39l106Lkj50oYDvc="; vendorHash = "sha256-es1PGgLoE3DklnQziRjWmY7f6NNVd24L2JiuLkol6HI=";
subPackages = [ "cmd/spirit" ]; subPackages = [ "cmd/spirit" ];

View File

@ -168,7 +168,6 @@
, "prebuild-install" , "prebuild-install"
, "prettier" , "prettier"
, "prettier-plugin-toml" , "prettier-plugin-toml"
, "prisma"
, "@prisma/language-server" , "@prisma/language-server"
, "pscid" , "pscid"
, "pulp" , "pulp"

View File

@ -8707,51 +8707,6 @@ let
sha512 = "j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ=="; sha512 = "j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==";
}; };
}; };
"@prisma/debug-5.17.0" = {
name = "_at_prisma_slash_debug";
packageName = "@prisma/debug";
version = "5.17.0";
src = fetchurl {
url = "https://registry.npmjs.org/@prisma/debug/-/debug-5.17.0.tgz";
sha512 = "l7+AteR3P8FXiYyo496zkuoiJ5r9jLQEdUuxIxNCN1ud8rdbH3GTxm+f+dCyaSv9l9WY+29L9czaVRXz9mULfg==";
};
};
"@prisma/engines-5.17.0" = {
name = "_at_prisma_slash_engines";
packageName = "@prisma/engines";
version = "5.17.0";
src = fetchurl {
url = "https://registry.npmjs.org/@prisma/engines/-/engines-5.17.0.tgz";
sha512 = "+r+Nf+JP210Jur+/X8SIPLtz+uW9YA4QO5IXA+KcSOBe/shT47bCcRMTYCbOESw3FFYFTwe7vU6KTWHKPiwvtg==";
};
};
"@prisma/engines-version-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053" = {
name = "_at_prisma_slash_engines-version";
packageName = "@prisma/engines-version";
version = "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053";
src = fetchurl {
url = "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053.tgz";
sha512 = "tUuxZZysZDcrk5oaNOdrBnnkoTtmNQPkzINFDjz7eG6vcs9AVDmA/F6K5Plsb2aQc/l5M2EnFqn3htng9FA4hg==";
};
};
"@prisma/fetch-engine-5.17.0" = {
name = "_at_prisma_slash_fetch-engine";
packageName = "@prisma/fetch-engine";
version = "5.17.0";
src = fetchurl {
url = "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.17.0.tgz";
sha512 = "ESxiOaHuC488ilLPnrv/tM2KrPhQB5TRris/IeIV4ZvUuKeaicCl4Xj/JCQeG9IlxqOgf1cCg5h5vAzlewN91Q==";
};
};
"@prisma/get-platform-5.17.0" = {
name = "_at_prisma_slash_get-platform";
packageName = "@prisma/get-platform";
version = "5.17.0";
src = fetchurl {
url = "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.17.0.tgz";
sha512 = "UlDgbRozCP1rfJ5Tlkf3Cnftb6srGrEQ4Nm3og+1Se2gWmCZ0hmPIi+tQikGDUVLlvOWx3Gyi9LzgRP+HTXV9w==";
};
};
"@prisma/prisma-schema-wasm-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053" = { "@prisma/prisma-schema-wasm-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053" = {
name = "_at_prisma_slash_prisma-schema-wasm"; name = "_at_prisma_slash_prisma-schema-wasm";
packageName = "@prisma/prisma-schema-wasm"; packageName = "@prisma/prisma-schema-wasm";
@ -81407,31 +81362,6 @@ in
bypassCache = true; bypassCache = true;
reconstructLock = true; reconstructLock = true;
}; };
prisma = nodeEnv.buildNodePackage {
name = "prisma";
packageName = "prisma";
version = "5.17.0";
src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-5.17.0.tgz";
sha512 = "m4UWkN5lBE6yevqeOxEvmepnL5cNPEjzMw2IqDB59AcEV6w7D8vGljDLd1gPFH+W6gUxw9x7/RmN5dCS/WTPxA==";
};
dependencies = [
sources."@prisma/debug-5.17.0"
sources."@prisma/engines-5.17.0"
sources."@prisma/engines-version-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053"
sources."@prisma/fetch-engine-5.17.0"
sources."@prisma/get-platform-5.17.0"
];
buildInputs = globalBuildInputs;
meta = {
description = "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.";
homepage = "https://www.prisma.io";
license = "Apache-2.0";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
"@prisma/language-server" = nodeEnv.buildNodePackage { "@prisma/language-server" = nodeEnv.buildNodePackage {
name = "_at_prisma_slash_language-server"; name = "_at_prisma_slash_language-server";
packageName = "@prisma/language-server"; packageName = "@prisma/language-server";

View File

@ -268,33 +268,6 @@ final: prev: {
}; };
}); });
# To update prisma, please first update prisma-engines to the latest
# version. Then change the correct hash to this package. The PR should hold
# two commits: one for the engines and the other one for the node package.
prisma = prev.prisma.override rec {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
inherit (pkgs.prisma-engines) version;
src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz";
hash = "sha256-TlwKCuDQRFM6+Hhx9eFCfXbtLZq6RwBTIFCWzE4D8N8=";
};
postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \
--set PRISMA_SCHEMA_ENGINE_BINARY ${prisma-engines}/bin/schema-engine \
--set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \
--set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node \
--set PRISMA_FMT_BINARY ${prisma-engines}/bin/prisma-fmt
'';
passthru.tests = {
simple-execution = pkgs.callPackage ./package-tests/prisma.nix {
inherit (final) prisma;
};
};
};
pulp = prev.pulp.override { pulp = prev.pulp.override {
# tries to install purescript # tries to install purescript
npmFlags = builtins.toString [ "--ignore-scripts" ]; npmFlags = builtins.toString [ "--ignore-scripts" ];

View File

@ -12,7 +12,6 @@
pyarrow, pyarrow,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
pythonAtLeast,
sqlalchemy, sqlalchemy,
thrift, thrift,
requests, requests,
@ -25,9 +24,7 @@ buildPythonPackage rec {
version = "3.3.0"; version = "3.3.0";
format = "pyproject"; format = "pyproject";
# Depends on thrift that at the moment do not work in Python 3.12 disabled = pythonOlder "3.7";
# see PR 328415 fix this.
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "databricks"; owner = "databricks";

View File

@ -416,7 +416,7 @@ dependencies = [
"serde", "serde",
"serde_bytes", "serde_bytes",
"serde_json", "serde_json",
"time 0.3.25", "time",
"uuid", "uuid",
] ]
@ -520,30 +520,23 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "cfg_aliases" name = "cfg_aliases"
version = "0.1.1" version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "cfg_aliases"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77e53693616d3075149f4ead59bdeecd204ac6b8192d8969757601b74bddf00f"
[[package]] [[package]]
name = "chrono" name = "chrono"
version = "0.4.26" version = "0.4.38"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
dependencies = [ dependencies = [
"android-tzdata", "android-tzdata",
"iana-time-zone", "iana-time-zone",
"js-sys", "js-sys",
"num-traits", "num-traits",
"serde", "serde",
"time 0.1.43",
"wasm-bindgen", "wasm-bindgen",
"winapi", "windows-targets 0.52.0",
] ]
[[package]] [[package]]
@ -677,6 +670,16 @@ dependencies = [
"unreachable", "unreachable",
] ]
[[package]]
name = "concat-idents"
version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f76990911f2267d837d9d0ad060aa63aaad170af40904b29461734c339030d4d"
dependencies = [
"quote",
"syn 2.0.48",
]
[[package]] [[package]]
name = "connection-string" name = "connection-string"
version = "0.2.0" version = "0.2.0"
@ -1028,9 +1031,12 @@ dependencies = [
[[package]] [[package]]
name = "deranged" name = "deranged"
version = "0.3.7" version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
dependencies = [
"powerfmt",
]
[[package]] [[package]]
name = "derivative" name = "derivative"
@ -1935,6 +1941,9 @@ dependencies = [
"console", "console",
"lazy_static", "lazy_static",
"linked-hash-map", "linked-hash-map",
"pest",
"pest_derive",
"serde",
"similar", "similar",
"yaml-rust", "yaml-rust",
] ]
@ -2234,9 +2243,9 @@ dependencies = [
[[package]] [[package]]
name = "lsp-types" name = "lsp-types"
version = "0.91.1" version = "0.95.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2368312c59425dd133cb9a327afee65be0a633a8ce471d248e2202a48f8f68ae" checksum = "8e34d33a8e9b006cd3fc4fe69a921affa097bae4bb65f76271f4644f9a334365"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"serde", "serde",
@ -2645,7 +2654,7 @@ dependencies = [
"smallvec", "smallvec",
"subprocess", "subprocess",
"thiserror", "thiserror",
"time 0.3.25", "time",
"uuid", "uuid",
] ]
@ -2817,6 +2826,12 @@ dependencies = [
"num-traits", "num-traits",
] ]
[[package]]
name = "num-conv"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
[[package]] [[package]]
name = "num-integer" name = "num-integer"
version = "0.1.45" version = "0.1.45"
@ -3331,6 +3346,12 @@ dependencies = [
"uuid", "uuid",
] ]
[[package]]
name = "powerfmt"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
[[package]] [[package]]
name = "ppv-lite86" name = "ppv-lite86"
version = "0.2.17" version = "0.2.17"
@ -3593,11 +3614,13 @@ dependencies = [
"bit-vec", "bit-vec",
"byteorder", "byteorder",
"bytes", "bytes",
"cfg_aliases 0.1.1", "cfg_aliases",
"chrono", "chrono",
"concat-idents",
"connection-string", "connection-string",
"crosstarget-utils", "crosstarget-utils",
"either", "either",
"expect-test",
"futures", "futures",
"getrandom 0.2.11", "getrandom 0.2.11",
"hex", "hex",
@ -4258,7 +4281,7 @@ name = "request-handlers"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"cfg_aliases 0.2.0", "cfg_aliases",
"codspeed-criterion-compat", "codspeed-criterion-compat",
"connection-string", "connection-string",
"dmmf", "dmmf",
@ -4724,9 +4747,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.183" version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
@ -4753,9 +4776,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.183" version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -5082,6 +5105,7 @@ dependencies = [
"bigdecimal", "bigdecimal",
"chrono", "chrono",
"cuid", "cuid",
"expect-test",
"futures", "futures",
"itertools 0.12.0", "itertools 0.12.0",
"once_cell", "once_cell",
@ -5424,9 +5448,9 @@ dependencies = [
[[package]] [[package]]
name = "tiberius" name = "tiberius"
version = "0.11.7" version = "0.11.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66303a42b7c5daffb95c10cd8f3007a9c29b3e90128cf42b3738f58102aa2516" checksum = "091052ba8f20c1e14f85913a5242a663a09d17ff4c0137b9b1f0735cb3c5dabc"
dependencies = [ dependencies = [
"async-native-tls", "async-native-tls",
"async-trait", "async-trait",
@ -5456,22 +5480,14 @@ dependencies = [
[[package]] [[package]]
name = "time" name = "time"
version = "0.1.43" version = "0.3.36"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "time"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea"
dependencies = [ dependencies = [
"deranged", "deranged",
"itoa", "itoa",
"num-conv",
"powerfmt",
"serde", "serde",
"time-core", "time-core",
"time-macros", "time-macros",
@ -5479,16 +5495,17 @@ dependencies = [
[[package]] [[package]]
name = "time-core" name = "time-core"
version = "0.1.1" version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
[[package]] [[package]]
name = "time-macros" name = "time-macros"
version = "0.2.11" version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
dependencies = [ dependencies = [
"num-conv",
"time-core", "time-core",
] ]
@ -5842,7 +5859,7 @@ dependencies = [
"sharded-slab", "sharded-slab",
"smallvec", "smallvec",
"thread_local", "thread_local",
"time 0.3.25", "time",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-log", "tracing-log",
@ -6080,12 +6097,13 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.4.1" version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
dependencies = [ dependencies = [
"getrandom 0.2.11", "getrandom 0.2.11",
"serde", "serde",
"wasm-bindgen",
] ]
[[package]] [[package]]

View File

@ -9,18 +9,18 @@
, stdenv , stdenv
}: }:
# Updating this package will force an update for nodePackages.prisma. The # Updating this package will force an update for prisma. The
# version of prisma-engines and nodePackages.prisma must be the same for them to # version of prisma-engines and prisma must be the same for them to
# function correctly. # function correctly.
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "prisma-engines"; pname = "prisma-engines";
version = "5.16.1"; version = "5.18.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "prisma"; owner = "prisma";
repo = "prisma-engines"; repo = "prisma-engines";
rev = version; rev = version;
hash = "sha256-uJJX5lI0YFXygWLeaOuYxjgyswJcjSujPcqHn1aKn8M="; hash = "sha256-ucAOz00dBgX2Bb63ueaBbyu1XtVQD+96EncUyo7STwA=";
}; };
# Use system openssl. # Use system openssl.
@ -44,6 +44,12 @@ rustPlatform.buildRustPackage rec {
protobuf protobuf
] ++ lib.optionals stdenv.isDarwin [ Security ]; ] ++ lib.optionals stdenv.isDarwin [ Security ];
# FIXME: Workaround Rust 1.80 support by updating time to 0.3.36
# https://github.com/prisma/prisma-engines/issues/4989
postPatch = ''
ln -sfn ${./Cargo.lock} Cargo.lock
'';
preBuild = '' preBuild = ''
export OPENSSL_DIR=${lib.getDev openssl} export OPENSSL_DIR=${lib.getDev openssl}
export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib export OPENSSL_LIB_DIR=${lib.getLib openssl}/lib
@ -83,7 +89,7 @@ rustPlatform.buildRustPackage rec {
# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example # Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example
# At example's `flake.nix` shellHook, notice the requirement of defining environment variables for prisma, it's values will show on `prisma --version`. # At example's `flake.nix` shellHook, notice the requirement of defining environment variables for prisma, it's values will show on `prisma --version`.
# Read the example's README: https://github.com/pimeys/nix-prisma-example/blob/main/README.md # Read the example's README: https://github.com/pimeys/nix-prisma-example/blob/main/README.md
# Prisma requires 2 packages, `prisma-engines` and `nodePackages.prisma`, to be at *exact* same versions. # Prisma requires 2 packages, `prisma-engines` and `prisma`, to be at *exact* same versions.
# Certify at `package.json` that dependencies "@prisma/client" and "prisma" are equal, meaning no caret (`^`) in version. # Certify at `package.json` that dependencies "@prisma/client" and "prisma" are equal, meaning no caret (`^`) in version.
# Configure NPM to use exact version: `npm config set save-exact=true` # Configure NPM to use exact version: `npm config set save-exact=true`
# Delete `package-lock.json`, delete `node_modules` directory and run `npm install`. # Delete `package-lock.json`, delete `node_modules` directory and run `npm install`.

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "crispy-doom"; pname = "crispy-doom";
version = "6.0"; version = "7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fabiangreffrath"; owner = "fabiangreffrath";
repo = pname; repo = pname;
rev = "${pname}-${version}"; rev = "${pname}-${version}";
sha256 = "sha256-s/TAg0Di8Pkdjhk38c8OanmngjLqA8iEPweVRf1qwQI="; sha256 = "sha256-+rNZsb4GAjzNcIU5xZGBpmP+nXNOP16oVg68nfecMrw=";
}; };
postPatch = '' postPatch = ''

View File

@ -3,7 +3,7 @@
buildNpmPackage, buildNpmPackage,
vips, vips,
pkg-config, pkg-config,
nodePackages, prisma,
src, src,
version, version,
nixosTests, nixosTests,
@ -28,7 +28,7 @@ buildNpmPackage {
buildInputs = [ vips ]; buildInputs = [ vips ];
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
nodePackages.prisma prisma
]; ];
npmDepsHash = "sha256-btjvX+2krSc0/bJqeLcVTqHBVWqiTFipp3MidO9wApY="; npmDepsHash = "sha256-btjvX+2krSc0/bJqeLcVTqHBVWqiTFipp3MidO9wApY=";

View File

@ -21,15 +21,15 @@ let
}.${stdenv.hostPlatform.system} or unsupported; }.${stdenv.hostPlatform.system} or unsupported;
hash = { hash = {
aarch64-darwin = "sha256-oYcvfqOHhN4xZc7XbnP+5oTUVRkA8Bww/Afmrr/bCLY="; aarch64-darwin = "sha256-AIec1ac3BKDI3Qw6v93yCrIfgF9vU4p5EhOABdCjWyE=";
aarch64-linux = "sha256-/pATypGVLSCVdAEXOOHMfemL/k3aMxSlY5KGGQlD5oc="; aarch64-linux = "sha256-1Ew2XHkjllK3gl0JjsnxdpecpX8ehxrHE8txAvQBVx4=";
x86_64-darwin = "sha256-7PymLnqhCiF2v6bkAGNJWnXmdRUxRXTXgag848pdKIk="; x86_64-darwin = "sha256-5qk/dioGpgUi9Ck+/X++s/dxxBoezEGwu6iD8e+cXYk=";
x86_64-linux = "sha256-mEUfnYdnX2JE9mz15ESUtxYxRlmjCApdI0DuVWzHWLc="; x86_64-linux = "sha256-KjulbI36KQr5qpHrwPevG+DI16/sTsbU1/Wprfp05J4=";
}.${stdenv.hostPlatform.system} or unsupported; }.${stdenv.hostPlatform.system} or unsupported;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
inherit pname; inherit pname;
version = "1.21.2.4649"; version = "1.22.0.4670";
src = fetchurl { src = fetchurl {
url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz"; url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.master.${version}.${os}-core-${arch}.tar.gz";

File diff suppressed because it is too large Load Diff

View File

@ -13,21 +13,20 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "qdrant"; pname = "qdrant";
version = "1.10.1"; version = "1.11.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "qdrant"; owner = "qdrant";
repo = "qdrant"; repo = "qdrant";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-H1b275dVZGjkvXCV/zHDQtIrJiFMc7tmxbHh3B1+nPE="; sha256 = "sha256-ngDxabfs5cPu04Hn1V10qF1ryi100jzp5MmvPrkOD3k=";
}; };
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"quantization-0.1.0" = "sha256-xqcwn9NmCKEulh4CTV6bwhPOlDgQt8EZaQbqdDjxgNA="; "quantization-0.1.0" = "sha256-xqcwn9NmCKEulh4CTV6bwhPOlDgQt8EZaQbqdDjxgNA=";
"tonic-0.9.2" = "sha256-ZlcDUZy/FhxcgZE7DtYhAubOq8DMSO17T+TCmXar1jE="; "wal-0.1.2" = "sha256-QcyS0v7O1BziVT3oahebpq+u4l5JGaujCaRIPdmsJl4=";
"wal-0.1.2" = "sha256-YjOXYg8dnYsb+Zl6xUkAccjZZn3tyf3fR/kWTfUjlgg=";
}; };
}; };

View File

@ -19,16 +19,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "broot"; pname = "broot";
version = "1.42.0"; version = "1.43.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Canop"; owner = "Canop";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Lv521aC9uIsuAdEEt7TteK/XbgQ1GsH6AA7hSOBsTBI="; hash = "sha256-x6PDewUCcy8uf0unG8FiePrP1FKbgvjx/NhkodYva00=";
}; };
cargoHash = "sha256-jhgnTXeq/7S2Iy8YVHmS/F7zbYSX6W/iXFJzz8SPeV0="; cargoHash = "sha256-6SeOd4yNLFqkm47ELqmqaLl0BZS1+gVKHjphdcFdtoY=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View File

@ -1,7 +1,6 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, asciidoc , asciidoc
, cmake , cmake
, docbook_xsl , docbook_xsl
@ -15,25 +14,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lastpass-cli"; pname = "lastpass-cli";
version = "1.3.6"; version = "1.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lastpass"; owner = "lastpass";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ntUBwZ0bVkkpvWK/jQBkLNpCYEDI14/ki0cLwYpEWXk="; sha256 = "sha256-F/E8Y9aSkx5fhra+ppVsO/NXP28RF+QoGBzUccTfjRQ=";
}; };
patches = [
# Pull fix pending upstream inclusion for -fno-common toolchains:
# https://github.com/lastpass/lastpass-cli/pull/576
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/lastpass/lastpass-cli/commit/e3311cebdb29a3267843cf656a32f01c5062897e.patch";
sha256 = "1yjx2p98nb3n8ywc9lhf2zal5fswawb5i6lgnicdin23zngff5l8";
})
];
nativeBuildInputs = [ asciidoc cmake docbook_xsl pkg-config ]; nativeBuildInputs = [ asciidoc cmake docbook_xsl pkg-config ];
buildInputs = [ buildInputs = [
@ -57,6 +46,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/lastpass/lastpass-cli"; homepage = "https://github.com/lastpass/lastpass-cli";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ ]; maintainers = with maintainers; [ vinylen ];
}; };
} }

View File

@ -4263,11 +4263,6 @@ with pkgs;
brutespray = callPackage ../tools/security/brutespray { }; brutespray = callPackage ../tools/security/brutespray { };
breakpointHook = assert stdenv.buildPlatform.isLinux;
makeSetupHook {
name = "breakpoint-hook";
} ../build-support/setup-hooks/breakpoint-hook.sh;
btrfs-progs = callPackage ../tools/filesystems/btrfs-progs { }; btrfs-progs = callPackage ../tools/filesystems/btrfs-progs { };
btrfs-snap = callPackage ../tools/filesystems/btrfs-snap { }; btrfs-snap = callPackage ../tools/filesystems/btrfs-snap { };