Skip to content

Commit

Permalink
Merge branch 'NixOS:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
prinzdezibel authored Dec 10, 2024
2 parents 06796c0 + b93b330 commit 60e6d80
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 44 deletions.
3 changes: 3 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@
[Prisma ORM upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6)
for more information.

- `zf` was updated to 0.10.2, which includes breaking changes from the [0.10.0 release](https://github.com/natecraddock/zf/releases/tag/0.10.0).
`zf` no longer does Unicode normalization of the input and no longer supports terminal escape sequences in the `ZF_PROMPT` environment variable.

<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

## Other Notable Changes {#sec-release-25.05-notable-changes}
Expand Down
7 changes: 7 additions & 0 deletions nixos/modules/system/boot/plymouth.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ let
# See: https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/106
mkdir -p $out/share/plymouth/themes/spinfinity
ln -s $logo $out/share/plymouth/themes/spinfinity/header-image.png
# Logo for catppuccin (two-step) theme
for flavour in mocha macchiato latte frappe
do
mkdir -p $out/share/plymouth/themes/catppuccin-"$flavour"
ln -s $logo $out/share/plymouth/themes/catppuccin-"$flavour"/header-image.png
done
'';

themesEnv = pkgs.buildEnv {
Expand Down
10 changes: 5 additions & 5 deletions pkgs/by-name/pd/pdfium-binaries/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
stdenv,
}:
let
version = "6872";
version = "6886";
src =
let
inherit (stdenv.hostPlatform) system;
Expand All @@ -16,10 +16,10 @@ let
aarch64-darwin = "mac-arm64";
};
hash = selectSystem {
x86_64-linux = "sha256-JhAW1Ot4ncLiEz/Y83D/capJ+H46GybYnWHpMChX6F0=";
aarch64-linux = "sha256-/8o+v8fIXYK8N7xdC14/fWk3LOr13xyjadMXJgploek=";
x86_64-darwin = "sha256-nVu3JhvjnqhCpNDSBzzZA1PHbT2y5b+kEeu4ZPqgf4Q=";
aarch64-darwin = "sha256-IyoeuNno+Y8nLi1u9tjl75ZJiULrnKyShe3oaSY9GF4=";
x86_64-linux = "sha256-8o2PgbyHqU1ST2clx2NRB6/E1eBWjuyx2oIVvc1/ujI=";
aarch64-linux = "sha256-SUxtX7NMK+sMi5Fybc2P+bNrXET0TTBJTUhsMw0eBTc=";
x86_64-darwin = "sha256-p4lHxr1Do3pLKXn2bOt8gh2R5KHPr4HpAM9hphFUimU=";
aarch64-darwin = "sha256-Eb9I17GcuBaMAVKI9K0Rf/iD+nhBFDgYhWth46yU0xE=";
};
in
fetchzip {
Expand Down
51 changes: 47 additions & 4 deletions pkgs/by-name/zf/zf/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 15 additions & 10 deletions pkgs/by-name/zf/zf/package.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ lib
, stdenv
, fetchFromGitHub
, installShellFiles
, testers
, zig_0_13
, callPackage
{
lib,
stdenv,
fetchFromGitHub,
installShellFiles,
testers,
zig_0_13,
callPackage,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "zf";
version = "0.9.2";
version = "0.10.2";

src = fetchFromGitHub {
owner = "natecraddock";
repo = "zf";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-8KfzsDG9sZ/jMOusz2ydt3oytp891vKOpCUlPAwS8TE=";
hash = "sha256-Rsl8gAfVMeF5CLyPSrtzdgSCvEwPnBwHT4BOF9JQYYo=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -43,7 +44,11 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/natecraddock/zf/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ dit7ya figsoda mmlb ];
maintainers = with lib.maintainers; [
dit7ya
figsoda
mmlb
];
mainProgram = "zf";
};
})
4 changes: 2 additions & 2 deletions pkgs/development/ocaml-modules/mdx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

buildDunePackage rec {
pname = "mdx";
version = "2.4.1";
version = "2.5.0";

minimalOCamlVersion = "4.08";

src = fetchurl {
url = "https://github.com/realworldocaml/mdx/releases/download/${version}/mdx-${version}.tbz";
hash = "sha256-GkDMkcxVPe0KIMmNQ0NUlTvbdZ7Mka02u7mn3QQSrxM=";
hash = "sha256-wtpY19UYLxXARvsyC7AsFmAtLufLmfNJ4/SEHCY2UCk=";
};

nativeBuildInputs = [ cppo ];
Expand Down
30 changes: 30 additions & 0 deletions pkgs/development/ocaml-modules/mirage-crypto/rng-eio.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
buildDunePackage,
mirage-crypto,
mirage-crypto-rng,
dune-configurator,
eio,
eio_main,
ohex,
}:

buildDunePackage rec {
pname = "mirage-crypto-rng-eio";

inherit (mirage-crypto) version src;

doCheck = true;
checkInputs = [
eio_main
ohex
];

buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
mirage-crypto
mirage-crypto-rng
eio
];

meta = mirage-crypto-rng.meta;
}
30 changes: 8 additions & 22 deletions pkgs/development/python-modules/pysvn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,28 @@
apr,
aprutil,
bash,
e2fsprogs,
expat,
gcc,
neon,
glibcLocales,
openssl,
pycxx,
subversion,
}:

buildPythonPackage rec {
pname = "pysvn";
version = "1.9.22";
format = "other";
version = "1.9.23";
pyproject = false;

src = fetchurl {
url = "mirror://sourceforge/project/pysvn/pysvn/V${version}/pysvn-${version}.tar.gz";
hash = "sha256-KfLg9tuuKpXxJoniD002kDXGCTwOZ9jurCoPrWMRo7g=";
hash = "sha256-ABru1nng1RaYfZwe0Z0NxE90rU/J2h/BhzUnvgrasCk=";
};

patches = [ ./replace-python-first.patch ];

buildInputs =
[
bash
subversion
apr
aprutil
expat
neon
openssl
]
++ lib.optionals stdenv.hostPlatform.isLinux [ e2fsprogs ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];
buildInputs = [
subversion
apr
aprutil
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];

preConfigure = ''
cd Source
Expand All @@ -56,8 +44,6 @@ buildPythonPackage rec {
--svn-bin-dir=${subversion.out}/bin
'';

nativeCheckInputs = [ glibcLocales ];

checkPhase = ''
runHook preCheck
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,8 @@ let

mirage-crypto-rng-async = callPackage ../development/ocaml-modules/mirage-crypto/rng-async.nix { };

mirage-crypto-rng-eio = callPackage ../development/ocaml-modules/mirage-crypto/rng-eio.nix { };

mirage-crypto-rng-lwt = callPackage ../development/ocaml-modules/mirage-crypto/rng-lwt.nix { };

mirage-crypto-rng-mirage = callPackage ../development/ocaml-modules/mirage-crypto/rng-mirage.nix { };
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12629,7 +12629,7 @@ self: super: with self; {
pysvg-py3 = callPackage ../development/python-modules/pysvg-py3 { };

pysvn = callPackage ../development/python-modules/pysvn {
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
inherit (pkgs) bash subversion apr aprutil;
};

pyswitchbee = callPackage ../development/python-modules/pyswitchbee { };
Expand Down

0 comments on commit 60e6d80

Please sign in to comment.