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 Oct 8, 2024
2 parents df769e8 + 6322590 commit 3997afd
Show file tree
Hide file tree
Showing 23 changed files with 160 additions and 62 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12586,6 +12586,12 @@
githubId = 2486026;
name = "Luca Fulchir";
};
lukts30 = {
email = "[email protected]";
github = "lukts30";
githubId = 24390575;
name = "lukts30";
};
luleyleo = {
email = "[email protected]";
github = "luleyleo";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/clightning/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, automake
, gettext
, libtool
, lowdown
, lowdown-unsandboxed
, protobuf
, unzip
, which
Expand All @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
# when building on darwin we need cctools to provide the correct libtool
# as libwally-core detects the host as darwin and tries to add the -static
# option to libtool, also we have to add the modified gsed package.
nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown protobuf py3 unzip which ]
nativeBuildInputs = [ autoconf autogen automake gettext libtool lowdown-unsandboxed protobuf py3 unzip which ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools darwin.autoSignDarwinBinariesHook ];

buildInputs = [ gmp libsodium sqlite zlib jq ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/br/bruno/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ let
in
buildNpmPackage' rec {
pname = "bruno";
version = "1.30.1";
version = "1.32.1";

src = fetchFromGitHub {
owner = "usebruno";
repo = "bruno";
rev = "v${version}";
hash = "sha256-9dH79ytqkZcdgUMbTa32VHKr2dHiNsJu6GawDtRsJx0=";
hash = "sha256-n/3zNS3aME7ZSoJ7TQ7gqVod469g7PGTsLcdNIwB09Y=";

postFetch = ''
${lib.getExe npm-lockfile-fix} $out/package-lock.json
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/ce/certspotter/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, fetchFromGitHub
, buildGoModule
, lowdown
, lowdown-unsandboxed
}:

buildGoModule rec {
Expand All @@ -19,7 +19,7 @@ buildGoModule rec {

ldflags = [ "-s" "-w" ];

nativeBuildInputs = [ lowdown ];
nativeBuildInputs = [ lowdown-unsandboxed ];

postInstall = ''
cd man
Expand Down
4 changes: 4 additions & 0 deletions pkgs/by-name/li/libcaca/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ stdenv.mkDerivation rec {

configureFlags = [
(if x11Support then "--enable-x11" else "--disable-x11")
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
# Suppresses a build failure building Cocoa support due to accessing private ivar `_running`,
# which no longer available.
(lib.enableFeature false "cocoa")
];

env.NIX_CFLAGS_COMPILE = lib.optionalString (!x11Support) "-DX_DISPLAY_MISSING";
Expand Down
67 changes: 47 additions & 20 deletions pkgs/by-name/li/libnbd/package.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
{ lib
, stdenv
, fetchurl
, bash-completion
, pkg-config
, perl
, buildPythonBindings ? false, python3
, libxml2
, fuse
, fuse3
, gnutls
{
lib,
stdenv,
fetchurl,
bash-completion,
pkg-config,
perl,
buildPythonBindings ? false,
buildOcamlBindings ? false,
ocamlPackages,
python3,
libxml2,
fuse,
fuse3,
gnutls,
autoreconfHook,
}:

lib.throwIf (buildOcamlBindings && !lib.versionAtLeast ocamlPackages.ocaml.version "4.05")
"OCaml binding are not available for OCaml < 4.05"

stdenv.mkDerivation rec {
pname = "libnbd";
version = "1.20.2";
Expand All @@ -20,12 +28,21 @@ stdenv.mkDerivation rec {
hash = "sha256-7DgviwGPPLccTPvomyH+0CMknXmR2wENsxpXD97OP84=";
};

nativeBuildInputs = [
bash-completion
pkg-config
perl
]
++ lib.optionals buildPythonBindings [ python3 ];
nativeBuildInputs =
[
bash-completion
pkg-config
perl
autoreconfHook
]
++ lib.optionals buildPythonBindings [ python3 ]
++ lib.optionals buildOcamlBindings (
with ocamlPackages;
[
findlib
ocaml
]
);

buildInputs = [
fuse
Expand All @@ -34,7 +51,14 @@ stdenv.mkDerivation rec {
libxml2
];

configureFlags = lib.optionals buildPythonBindings [ "--with-python-installdir=${placeholder "out"}/${python3.sitePackages}" ];
postPatch = lib.optionalString buildOcamlBindings ''
substituteInPlace ocaml/Makefile.am \
--replace-fail '$(DESTDIR)$(OCAMLLIB)' '$(out)/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib'
'';

configureFlags = lib.optionals buildPythonBindings [
"--with-python-installdir=${placeholder "out"}/${python3.sitePackages}"
];

installFlags = [ "bashcompdir=$(out)/share/bash-completion/completions" ];

Expand Down Expand Up @@ -63,10 +87,13 @@ stdenv.mkDerivation rec {
- Shell (nbdsh) for command line and scripting.
'';
license = with licenses; lgpl21Plus;
maintainers = with maintainers; [ AndersonTorres humancalico ];
maintainers = with maintainers; [
AndersonTorres
humancalico
];
platforms = with platforms; linux;
};
}
# TODO: package the 1.6-stable version too
# TODO: git version needs ocaml
# TODO: bindings for go and ocaml
# TODO: bindings for go
6 changes: 3 additions & 3 deletions pkgs/by-name/pi/picom-pijulius/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
}:
picom.overrideAttrs (previousAttrs: {
pname = "picom-pijulius";
version = "8.2-unstable-2024-09-27";
version = "8.2-unstable-2024-10-05";

src = fetchFromGitHub {
owner = "pijulius";
repo = "picom";
rev = "d1d5a32d9ac125e1db1c2235834060fd0535b262";
hash = "sha256-1ycxVHaWpqGD1GuWQ8dpKrbmSSSQS8CoaY56wM18bWk=";
rev = "9977760e5ace3b17453e3cd89d14bc0f8de5b5f9";
hash = "sha256-lqmZqEmD/+qZg+8UOOGJB6L0FdUuZFN5qBdL593RC/A=";
};

buildInputs = (previousAttrs.buildInputs or [ ]) ++ [ pcre ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/re/renovate/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ let
in
stdenv'.mkDerivation (finalAttrs: {
pname = "renovate";
version = "38.93.1";
version = "38.105.2";

src = fetchFromGitHub {
owner = "renovatebot";
repo = "renovate";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-4NvFS4WWdV3Csuv28/wq6EvB+in5bo1N4Fn602bi4rE=";
hash = "sha256-gF8bxzNF1AUJJDxFdNfa+sr/TP0S4uLCXyu3tjRuBjc=";
};

postPatch = ''
Expand All @@ -43,7 +43,7 @@ stdenv'.mkDerivation (finalAttrs: {

pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-cjk7PS4DUAgmg+mLUaWJFTjQv2GcPdr1VchNRjJgqsk=";
hash = "sha256-zTbwivYqNeArgwA6tePe2vExKoT/iLV3TS5ag8PlRgQ=";
};

env.COREPACK_ENABLE_STRICT = 0;
Expand Down
30 changes: 30 additions & 0 deletions pkgs/by-name/rh/rhsrvany/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "rhsrvany";
version = "1.1";

src = fetchFromGitHub {
owner = "rwmjones";
repo = "rhsrvany";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-eeEiAdm7NO5fFYKtHQbeBq4RhP8Xwgw2p2Wkm+n0EWM=";
};

strictDeps = true;

nativeBuildInputs = [ autoreconfHook ];

meta = {
description = "Free equivalent of Windows \"srvany\" program for turning any Windows program or script into a service";
homepage = "https://github.com/rwmjones/rhsrvany";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ lukts30 ];
platforms = lib.platforms.windows;
};
})
11 changes: 6 additions & 5 deletions pkgs/by-name/st/stalwart-mail/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchpatch,
pkg-config,
protobuf,
bzip2,
Expand All @@ -26,7 +25,7 @@ let
# See upstream issue for rocksdb 9.X support
# https://github.com/stalwartlabs/mail-server/issues/407
rocksdb = rocksdb_8_11;
version = "0.10.2";
version = "0.10.3";
in
rustPlatform.buildRustPackage {
pname = "stalwart-mail";
Expand All @@ -36,11 +35,11 @@ rustPlatform.buildRustPackage {
owner = "stalwartlabs";
repo = "mail-server";
rev = "refs/tags/v${version}";
hash = "sha256-wH26uwaYzfqiamiJ/oosVEiTfCOItwVGbHdRh6Ykpgk=";
hash = "sha256-xpNSMZWWiFU6OOooAD7ENzOggqYHdU88baPsXnovpXU=";
fetchSubmodules = true;
};

cargoHash = "sha256-1AFDyZpkcvFzWBczMAPfajmhBmVl4ou4JdKnrK2KlQI=";
cargoHash = "sha256-qiKfHrxQ4TSSomDLlPJ2+GOEri/ZuMCvUNdxRVoplgg=";

nativeBuildInputs = [
pkg-config
Expand Down Expand Up @@ -142,14 +141,16 @@ rustPlatform.buildRustPackage {
# Failed to read system DNS config: io error: No such file or directory (os error 2)
"--skip=smtp::inbound::auth::auth"
# Failed to read system DNS config: io error: No such file or directory (os error 2)
"--skip=smtp::inbound::antispam::antispam"
# Failed to read system DNS config: io error: No such file or directory (os error 2)
"--skip=smtp::inbound::vrfy::vrfy_expn"
];

doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);

passthru = {
webadmin = callPackage ./webadmin.nix { };
update-script = nix-update-script { };
updateScript = nix-update-script { };
tests.stalwart-mail = nixosTests.stalwart-mail;
};

Expand Down
11 changes: 8 additions & 3 deletions pkgs/by-name/st/stalwart-mail/webadmin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
trunk-ng,
tailwindcss,
fetchNpmDeps,
nix-update-script,
nodejs,
npmHooks,
llvmPackages,
Expand All @@ -15,13 +16,13 @@

rustPlatform.buildRustPackage rec {
pname = "webadmin";
version = "0.1.15";
version = "0.1.17";

src = fetchFromGitHub {
owner = "stalwartlabs";
repo = "webadmin";
rev = "refs/tags/v${version}";
hash = "sha256-YglpdxZT5CyFLla6uXTKPtq9EbA9SEQacyR9KNToYT0=";
hash = "sha256-kMfdCb2dwoVd9G1uZw2wcfaAAPt6obFfWQbbXG/MDB4=";
};

npmDeps = fetchNpmDeps {
Expand All @@ -30,7 +31,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-na1HEueX8w7kuDp8LEtJ0nD1Yv39cyk6sEMpS1zix2s=";
};

cargoHash = "sha256-piZ+oLL8FqS8Ishi7byYfdedkszreGuxI56pTLcYXn4=";
cargoHash = "sha256-0Urr0MsmenFqg25lZAzg7LgJ/NkZHINoOWtPad7G6GE=";

postPatch = ''
# Using local tailwindcss for compilation
Expand Down Expand Up @@ -60,6 +61,10 @@ rustPlatform.buildRustPackage rec {
zip -r $out/webadmin.zip *
'';

passthru = {
updateScript = nix-update-script { };
};

meta = with lib; {
description = "Secure & modern all-in-one mail server Stalwart (webadmin module)";
homepage = "https://github.com/stalwartlabs/webadmin";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

buildPythonPackage rec {
pname = "langgraph-checkpoint-postgres";
version = "1.0.6";
version = "2.0.0";
pyproject = true;

disabled = pythonOlder "3.10";
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langgraph";
rev = "refs/tags/checkpointpostgres==${version}";
hash = "sha256-F9sgZQQBFs5hDUsaR5BI9ERve9L8LTUvEKOgyz5ioqY=";
hash = "sha256-piBWr6F1YWML9D8+Bk4KvReQJhgb1Z7Xf5q8bcVUeEQ=";
};

postgresqlTestSetupPost = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

buildPythonPackage rec {
pname = "langgraph-checkpoint-sqlite";
version = "1.0.3";
version = "2.0.0";
pyproject = true;

disabled = pythonOlder "3.9";
Expand All @@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langgraph";
rev = "refs/tags/checkpointsqlite==${version}";
hash = "sha256-/pHJtK691anqn2It4ZstCGXJS0JGtdKZvqS9f3ly+FQ=";
hash = "sha256-aG7kHdlOkrjfYcdDWwCum0mQvWNMlF2CcEDlkzbv4Zw=";
};

sourceRoot = "${src.name}/libs/checkpoint-sqlite";
Expand Down
Loading

0 comments on commit 3997afd

Please sign in to comment.