Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 29, 2024
2 parents 7938165 + 7fee7ae commit 49c87f2
Show file tree
Hide file tree
Showing 50 changed files with 328 additions and 152 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/hardware/video/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ in
driver causes it to provide its own framebuffer device, which can cause
Wayland compositors to work when they otherwise wouldn't.
'' // {
default = lib.versionAtLeast nvidia_x11.version "535";
defaultText = lib.literalExpression "lib.versionAtLeast nvidia_x11.version \"535\"";
default = lib.versionAtLeast cfg.package.version "535";
defaultText = lib.literalExpression "lib.versionAtLeast cfg.package.version \"535\"";
};

prime.nvidiaBusId = lib.mkOption {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
fetchFromGitHub,
melpaBuild,
prop-menu,
gitUpdater,
}:

melpaBuild rec {
pname = "idris2-mode";
let
version = "1.1";
in
melpaBuild {
pname = "idris2-mode";
inherit version;

src = fetchFromGitHub {
owner = "idris-community";
Expand All @@ -20,10 +24,12 @@ melpaBuild rec {
prop-menu
];

passthru.updateScript = gitUpdater { };

meta = {
homepage = "https://github.com/idris-community/idris2-mode";
description = "Emacs mode for editing Idris 2 code";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ wuyoli ];
maintainers = with lib.maintainers; [ wuyoli AndersonTorres ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@
"spdx": "MPL-2.0",
"vendorHash": "sha256-oDMKf39uNMO9/kyiZ1IuZlj2yIF1q5Z3wewxEBh3yso="
},
"bitwarden": {
"hash": "sha256-+zuKZBwoOSp3HIdxmK1FInE33/1D5nX2N7zYBCtRvHA=",
"homepage": "https://registry.terraform.io/providers/maxlaverse/bitwarden",
"owner": "maxlaverse",
"repo": "terraform-provider-bitwarden",
"rev": "v0.8.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-u9ICJtPZveRrK5BOthvFDGkNcUiA0/Hb39KM0eIhUVI="
},
"brightbox": {
"hash": "sha256-pwFbCP+qDL/4IUfbPRCkddkbsEEeAu7Wp12/mDL0ABA=",
"homepage": "https://registry.terraform.io/providers/brightbox/brightbox",
Expand Down
82 changes: 53 additions & 29 deletions pkgs/by-name/im/imhex/package.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
{ lib
, stdenv
, cmake
, llvm
, fetchFromGitHub
, mbedtls
, gtk3
, pkg-config
, capstone
, dbus
, libGLU
, glfw3
, file
, perl
, python3
, jansson
, curl
, fmt_8
, nlohmann_json
, yara
, rsync
{
lib,
stdenv,
cmake,
llvm,
fetchFromGitHub,
mbedtls,
gtk3,
pkg-config,
capstone,
dbus,
libGLU,
libGL,
glfw3,
file,
perl,
python3,
jansson,
curl,
fmt_8,
nlohmann_json,
yara,
rsync,
autoPatchelfHook,
}:

let
version = "1.33.2";
patterns_version = "1.33.2";
version = "1.35.3";
patterns_version = "1.35.3";

patterns_src = fetchFromGitHub {
name = "ImHex-Patterns-source-${patterns_version}";
owner = "WerWolv";
repo = "ImHex-Patterns";
rev = "ImHex-v${patterns_version}";
hash = "sha256-5a6aFT8R8vMzPS+Y+fcDV5+olhioEpLjdMqa7qOyGsw=";
hash = "sha256-h86qoFMSP9ehsXJXOccUK9Mfqe+DVObfSRT4TCtK0rY=";
};

in
Expand All @@ -38,14 +42,23 @@ stdenv.mkDerivation rec {
inherit version;

src = fetchFromGitHub {
name = "ImHex-source-${version}";
fetchSubmodules = true;
owner = "WerWolv";
repo = pname;
rev = "v${version}";
hash = "sha256-8Ehpk0TjE4itQ7D9Nx74plYwABVufuYmxfxyuSqak1c=";
repo = "ImHex";
rev = "refs/tags/v${version}";
hash = "sha256-8vhOOHfg4D9B9yYgnGZBpcjAjuL4M4oHHax9ad5PJtA=";
};

nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ];
nativeBuildInputs = [
autoPatchelfHook
cmake
llvm
python3
perl
pkg-config
rsync
];

buildInputs = [
capstone
Expand All @@ -62,6 +75,14 @@ stdenv.mkDerivation rec {
yara
];

# autoPatchelfHook only searches for *.so and *.so.*, and won't find *.hexpluglib
# however, we will append to RUNPATH ourselves
autoPatchelfIgnoreMissingDeps = [ "*.hexpluglib" ];
appendRunpaths = [
(lib.makeLibraryPath [ libGL ])
"${placeholder "out"}/lib/imhex/plugins"
];

cmakeFlags = [
"-DIMHEX_OFFLINE_BUILD=ON"
"-DUSE_SYSTEM_CAPSTONE=ON"
Expand All @@ -82,7 +103,10 @@ stdenv.mkDerivation rec {
description = "Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM";
homepage = "https://github.com/WerWolv/ImHex";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ kashw2 cafkafk ];
maintainers = with maintainers; [
kashw2
cafkafk
];
platforms = platforms.linux;
};
}
21 changes: 15 additions & 6 deletions pkgs/by-name/le/lexical/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@
beamPackages,
fetchFromGitHub,
elixir,
nix-update-script,
testers,
lexical,
}:

beamPackages.mixRelease rec {
pname = "lexical";
version = "0.6.1";
version = "0.7.0";

src = fetchFromGitHub {
owner = "lexical-lsp";
repo = "lexical";
rev = "refs/tags/v${version}";
hash = "sha256-gDiNjtYeEGoYoyoNmPh73EuYCvY36y9lUyLasbFrFgs=";
hash = "sha256-veIFr8oovEhukwkGzj02pdc6vN1FCXGz1kn4FAcMALQ=";
};

mixFodDeps = beamPackages.fetchMixDeps {
inherit pname version src;

hash = "sha256-xihxPfdLPr5jWFfcX2tccFUl7ND1mi9u8Dn28k6lGVA=";
hash = "sha256-pqghYSBeDHfeZclC7jQU0FbadioTZ6uT3+InEUSW3rY=";
};

installPhase = ''
Expand All @@ -36,11 +39,17 @@ beamPackages.mixRelease rec {
makeWrapper "$out/libexec/start_lexical.sh" "$out/bin/lexical" --set RELEASE_COOKIE lexical
'';

meta = with lib; {
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = lexical; };
};

meta = {
description = "Lexical is a next-generation elixir language server";
homepage = "https://github.com/lexical-lsp/lexical";
license = licenses.asl20;
maintainers = with maintainers; [ GaetanLepage ];
changelog = "https://github.com/lexical-lsp/lexical/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "lexical";
platforms = beamPackages.erlang.meta.platforms;
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/sk/sketchybar-app-font/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sketchybar-app-font";
version = "2.0.19";
version = "2.0.20";

src = fetchFromGitHub {
owner = "kvndrsslr";
repo = "sketchybar-app-font";
rev = "v2.0.19";
hash = "sha256-4D3ONeGSvFYdeD3alzXlDxyLh6EyIC+lr4A6t7YWBaw=";
rev = "v2.0.20";
hash = "sha256-vWOVPllygKFeJe3aDOnXKdfIq9foL2V/sr1kj4VBhbc=";
};

pnpmDeps = pnpm.fetchDeps {
Expand Down
12 changes: 6 additions & 6 deletions pkgs/desktops/deepin/apps/deepin-draw/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

stdenv.mkDerivation rec {
pname = "deepin-draw";
version = "6.0.5";
version = "7.0.2";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-WeubXsshN4tUlIwEHTxHXv1L2dvJ2DZ6qtSPyiVtc98=";
hash = "sha256-WeubXsshN4tUlIwEHTxHXv1L2dvJ2DZ6qtSPyiVtc98=";
};

postPatch = ''
Expand All @@ -47,12 +47,12 @@ stdenv.mkDerivation rec {

strictDeps = true;

meta = with lib; {
meta = {
description = "Lightweight drawing tool for users to freely draw and simply edit images";
mainProgram = "deepin-draw";
homepage = "https://github.com/linuxdeepin/deepin-draw";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.deepin.members;
};
}
28 changes: 14 additions & 14 deletions pkgs/desktops/deepin/apps/deepin-screen-recorder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
, dtkwidget
, qt5integration
, dde-qt-dbus-factory
, dde-dock
, qtbase
, qtmultimedia
, qtx11extras
Expand All @@ -27,22 +26,27 @@

stdenv.mkDerivation rec {
pname = "deepin-screen-recorder";
version = "unstable-2023-07-10";
version = "6.0.6";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = "e8ee1e8330e2f3923e22acc952a0bd01bee94ad1";
hash = "sha256-QHV3hSALXI4e31YBDXRSRgT8b/J8gwm024bzlPWu2FA=";
rev = version;
hash = "sha256-nE+axTUxWCcgrxQ5y2cjkVswW2rwv/We0m7XgB4shko=";
};

patches = [ ./dont_use_libPath.diff ];
patches = [
./dont_use_libPath.diff
];

# disable dock plugins, it's part of dde-shell now
postPatch = ''
substituteInPlace screen_shot_recorder.pro \
--replace-fail " src/dde-dock-plugins" ""
(
shopt -s globstar
substituteInPlace **/*.pro **/*.service **/*.desktop \
--replace "/usr/" "$out/"
--replace-quiet "/usr/" "$out/"
)
'';

Expand All @@ -56,7 +60,6 @@ stdenv.mkDerivation rec {
buildInputs = [
dtkwidget
dde-qt-dbus-factory
dde-dock
qtbase
qtmultimedia
qtx11extras
Expand All @@ -78,9 +81,6 @@ stdenv.mkDerivation rec {
gst-plugins-good
]);

# Fix build failure on dtk 5.6.20
env.NIX_CFLAGS_COMPILE = "-std=c++14";

# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"
Expand All @@ -91,11 +91,11 @@ stdenv.mkDerivation rec {
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';

meta = with lib; {
meta = {
description = "Screen recorder application for dde";
homepage = "https://github.com/linuxdeepin/deepin-screen-recorder";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = lib.teams.deepin.members;
};
}
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/anthropic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

buildPythonPackage rec {
pname = "anthropic";
version = "0.28.1";
version = "0.31.2";
pyproject = true;

disabled = pythonOlder "3.8";
Expand All @@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "anthropics";
repo = "anthropic-sdk-python";
rev = "refs/tags/v${version}";
hash = "sha256-n5Vmi2frUdSbrmulopwUlIO+blkf7cANoKTaTFZQdjw=";
hash = "sha256-cKXOIVpF+CZ542JX9flQYKSrdYkSVeNESUztB6yaATQ=";
};

build-system = [
Expand Down Expand Up @@ -71,6 +71,7 @@ buildPythonPackage rec {
disabledTestPaths = [
# Test require network access
"tests/api_resources"
"tests/lib/test_bedrock.py"
];

pytestFlagsArray = [
Expand Down
Loading

0 comments on commit 49c87f2

Please sign in to comment.