Merge staging-next into staging

Changed files
+979 -259
maintainers
nixos
doc
manual
release-notes
modules
tests
pkgs
applications
audio
monkeys-audio
mympd
editors
neovim
vscode
extensions
misc
clipcat
kaufkauflist
nwg-bar
tuxclocker
networking
cluster
kubectl-cnpg
nerdctl
opentofu
instant-messengers
msmtp
mullvad-vpn
science
chemistry
electronics
logic
alt-ergo
robotics
mujoco
version-management
gitkraken
video
obs-studio
virtualization
nixpacks
by-name
an
anime4k
na
nautilus-open-in-blackbox
or
orchard
pa
passes
so
soco-cli
tu
tuxclocker-nvidia-plugin
tuxclocker-plugins
tuxclocker-plugins-with-unfree
ui
zb
zbus-xmlgen
data
icons
numix-icon-theme
numix-icon-theme-circle
numix-icon-theme-square
desktops
lomiri
development
trust-store
services
mediascanner2
development
compilers
mlkit
libraries
libzim
nanoflann
nghttp3
ngtcp2
utf8cpp
lua-modules
mobile
python-modules
bitarray
mayim
mujoco
pglast
tools
kubedock
language-servers
millet
neocmakelsp
misc
saleae-logic-2
mod
parsing
rust
cargo-hack
web
games
servers
lidarr
mautrix-whatsapp
misc
navidrome
mqtt
mosquitto
oxigraph
web-apps
matomo
tools
archivers
peazip
filesystems
mount-zip
misc
mutagen-compose
nix
nixdoc
package-management
security
nmap-formatter
top-level
+9
maintainers/maintainer-list.nix
···
githubId = 8214542;
name = "Nicolò Balzarotti";
+
nicolas-goudry = {
+
email = "goudry.nicolas@gmail.com";
+
github = "nicolas-goudry";
+
githubId = 8753998;
+
name = "Nicolas Goudry";
+
keys = [{
+
fingerprint = "21B6 A59A 4E89 0B1B 83E3 0CDB 01C8 8C03 5450 9AA9";
+
}];
+
};
nicoo = {
email = "nicoo@debian.org";
github = "nbraud";
-1
maintainers/scripts/luarocks-packages.csv
···
mpack,,,,,,
moonscript,https://github.com/leafo/moonscript.git,dev-1,,,,arobyn
nui.nvim,,,,,,mrcjkb
-
nvim-client,https://github.com/neovim/lua-client.git,,,,,
nvim-cmp,https://github.com/hrsh7th/nvim-cmp,,,,,
penlight,https://github.com/lunarmodules/Penlight.git,,,,,alerque
plenary.nvim,https://github.com/nvim-lua/plenary.nvim.git,,,,5.1,
+2
nixos/doc/manual/release-notes/rl-2405.section.md
···
- [Clevis](https://github.com/latchset/clevis), a pluggable framework for automated decryption, used to unlock encrypted devices in initrd. Available as [boot.initrd.clevis.enable](#opt-boot.initrd.clevis.enable).
+
- [TuxClocker](https://github.com/Lurkki14/tuxclocker), a hardware control and monitoring program. Available as [programs.tuxclocker](#opt-programs.tuxclocker.enable).
+
## Backward Incompatibilities {#sec-release-24.05-incompatibilities}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+1
nixos/modules/module-list.nix
···
./services/misc/tautulli.nix
./services/misc/tiddlywiki.nix
./services/misc/tp-auto-kbbl.nix
+
./services/misc/tuxclocker.nix
./services/misc/tzupdate.nix
./services/misc/uhub.nix
./services/misc/weechat.nix
+71
nixos/modules/services/misc/tuxclocker.nix
···
+
{ config, pkgs, lib, ... }:
+
+
with lib;
+
+
let
+
cfg = config.programs.tuxclocker;
+
in
+
{
+
options.programs.tuxclocker = {
+
enable = mkEnableOption (lib.mdDoc ''
+
TuxClocker, a hardware control and monitoring program
+
'');
+
+
enableAMD = mkEnableOption (lib.mdDoc ''
+
AMD GPU controls.
+
Sets the `amdgpu.ppfeaturemask` kernel parameter to 0xfffd7fff to enable all TuxClocker controls
+
'');
+
+
enabledNVIDIADevices = mkOption {
+
type = types.listOf types.int;
+
default = [ ];
+
example = [ 0 1 ];
+
description = lib.mdDoc ''
+
Enable NVIDIA GPU controls for a device by index.
+
Sets the `Coolbits` Xorg option to enable all TuxClocker controls.
+
'';
+
};
+
+
useUnfree = mkOption {
+
type = types.bool;
+
default = false;
+
example = true;
+
description = lib.mdDoc ''
+
Whether to use components requiring unfree dependencies.
+
Disabling this allows you to get everything from the binary cache.
+
'';
+
};
+
};
+
+
config = let
+
package = if cfg.useUnfree then pkgs.tuxclocker else pkgs.tuxclocker-without-unfree;
+
in
+
mkIf cfg.enable {
+
environment.systemPackages = [
+
package
+
];
+
+
services.dbus.packages = [
+
package
+
];
+
+
# MSR is used for some features
+
boot.kernelModules = [ "msr" ];
+
+
# https://download.nvidia.com/XFree86/Linux-x86_64/430.14/README/xconfigoptions.html#Coolbits
+
services.xserver.config = let
+
configSection = (i: ''
+
Section "Device"
+
Driver "nvidia"
+
Option "Coolbits" "31"
+
Identifier "Device-nvidia[${toString i}]"
+
EndSection
+
'');
+
in
+
concatStrings (map configSection cfg.enabledNVIDIADevices);
+
+
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/include/amd_shared.h#n207
+
# Enable everything modifiable in TuxClocker
+
boot.kernelParams = mkIf cfg.enableAMD [ "amdgpu.ppfeaturemask=0xfffd7fff" ];
+
};
+
}
+1 -1
nixos/tests/nixos-rebuild-specialisations.nix
···
virtualisation = {
cores = 2;
-
memorySize = 2048;
+
memorySize = 4096;
};
};
};
+2 -2
pkgs/applications/audio/monkeys-audio/default.nix
···
}:
stdenv.mkDerivation (finalAttrs: {
-
version = "10.28";
+
version = "10.30";
pname = "monkeys-audio";
src = fetchzip {
url = "https://monkeysaudio.com/files/MAC_${
builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip";
-
sha256 = "sha256-9EFZvD3CicT68hBcc/fS73zonQKDwbV/iNY0CbBmhtE=";
+
sha256 = "sha256-vTpfHw58WRRjS/h7FVYjYwHSqoXAF08i8Q/i9xI+9Io=";
stripRoot = false;
};
nativeBuildInputs = [
+2 -2
pkgs/applications/audio/mympd/default.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "mympd";
-
version = "13.0.0";
+
version = "13.0.5";
src = fetchFromGitHub {
owner = "jcorporation";
repo = "myMPD";
rev = "v${finalAttrs.version}";
-
sha256 = "sha256-cYoGjge2VtU+QqIURGd/EpkSQ4fhvsdnYZYyESAd56U=";
+
sha256 = "sha256-9TOQoef5aVHFeDc0y3k6SCHBeKON5ueU7275HAmPw9M=";
};
nativeBuildInputs = [
-1
pkgs/applications/editors/neovim/default.nix
···
luabitop
mpack
] ++ lib.optionals doCheck [
-
nvim-client
luv
coxpcall
busted
+2 -2
pkgs/applications/editors/vscode/extensions/default.nix
···
mktplcRef = {
name = "uiua-vscode";
publisher = "uiua-lang";
-
version = "0.0.26";
-
sha256 = "sha256-EKWThidMgbd+a4Vw4SQo988ggVbCTnCakohvq3/mZQ0=";
+
version = "0.0.27";
+
sha256 = "sha256-wEY1FZjgiQJ7VrJGZX0SgZqz/14v//jxgrqdafLjIfM=";
};
meta = {
description = "VSCode language extension for Uiua";
+7 -16
pkgs/applications/misc/clipcat/default.nix
···
, fetchFromGitHub
, rustPlatform
, protobuf
-
, xvfb-run
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "clipcat";
-
version = "0.14.0";
+
version = "0.15.0";
src = fetchFromGitHub {
owner = "xrelkd";
repo = pname;
rev = "v${version}";
-
hash = "sha256-Q9uGufIfqRLk3YJjaEEyu29JP8vSwUCe4ch9tf6Vz9g=";
+
hash = "sha256-NuljH6cqgdtTJDkNv4w44s1UM4/R1gmpVyWpCzCJ3DU=";
};
-
cargoHash = "sha256-9TPj4W+BSpHlOWkbiV7jNgjiYJjjw9j2c3o8vesrJeI=";
+
cargoHash = "sha256-5+qa9/QGZyZBaO2kbvpP7Ybs1EXIO1MlPFm0PDTNqCQ=";
nativeBuildInputs = [
protobuf
installShellFiles
];
-
nativeCheckInputs = [
-
xvfb-run
+
checkFlags = [
+
# Some test cases interact with X11, skip them
+
"--skip=test_x11_clipboard"
+
"--skip=test_x11_primary"
];
-
-
useNextest = true;
-
-
# cargo-nextest help us retry the failed test cases
-
NEXTEST_RETRIES = 5;
-
-
# Some test cases interact with X11, we use xvfb-run here
-
checkPhase = ''
-
xvfb-run --auto-servernum cargo nextest run --release --workspace --no-fail-fast --no-capture
-
'';
postInstall = ''
for cmd in clipcatd clipcatctl clipcat-menu clipcat-notify; do
+2 -2
pkgs/applications/misc/kaufkauflist/default.nix
···
};
in buildNpmPackage rec {
pname = "kaufkauflist";
-
version = "3.0.0";
+
version = "3.1.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "kaufkauflist";
rev = "v${version}";
-
hash = "sha256-W/FlHLZYYG/s9NdAqm0OJHlpTZtEG4iaegc4iOnAwWk=";
+
hash = "sha256-gIwJtfausORMfmZONhSOZ1DRW5CSH+cLDCNy3j+u6d0=";
};
npmDepsHash = "sha256-d1mvC72ugmKLNStoemUr8ISCUYjyo9EDWdWUCD1FMiM=";
+3 -3
pkgs/applications/misc/nwg-bar/default.nix
···
buildGoModule rec {
pname = "nwg-bar";
-
version = "0.1.4";
+
version = "0.1.5";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-kqLQwqZ2RPSKNdw1yzKUfqSe8hQcJe/6/8UzTT/Gz/8=";
+
sha256 = "sha256-e64qCthZfGeFIe/g4Bu342d/C46qzJRBdxzzP6rM408=";
};
patches = [ ./fix-paths.patch ];
···
substituteInPlace tools.go --subst-var out
'';
-
vendorHash = "sha256-vdDlPsjfHl7w1ufosLYquHAKOvkolNBr04bt+OQBlFE=";
+
vendorHash = "sha256-YMpq9pgA3KjQMcw7JDwEDbHZ5h3N7ziFVIGvQ+xA3Ds=";
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
+66
pkgs/applications/misc/tuxclocker/default.nix
···
+
{ lib
+
, stdenv
+
, boost
+
, fetchFromGitHub
+
, git
+
, makeWrapper
+
, meson
+
, ninja
+
, pkg-config
+
, python3
+
, qtbase
+
, qtcharts
+
, tuxclocker-plugins
+
, wrapQtAppsHook
+
}:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "tuxclocker";
+
version = "1.4.0";
+
+
src = fetchFromGitHub {
+
owner = "Lurkki14";
+
repo = "tuxclocker";
+
fetchSubmodules = true;
+
rev = "${finalAttrs.version}";
+
hash = "sha256-8dtuZXBWftXNQpqYgNQOayPGfvEIu9QfbqDShfkt1qA=";
+
};
+
+
# Meson doesn't find boost without these
+
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
+
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
+
+
nativeBuildInputs = [
+
git
+
makeWrapper
+
meson
+
ninja
+
pkg-config
+
wrapQtAppsHook
+
];
+
+
buildInputs = [
+
boost
+
qtbase
+
qtcharts
+
];
+
+
postInstall = ''
+
wrapProgram "$out/bin/tuxclockerd" \
+
--prefix "TEXTDOMAINDIR" : "${tuxclocker-plugins}/share/locale" \
+
--prefix "TUXCLOCKER_PLUGIN_PATH" : "${tuxclocker-plugins}/lib/tuxclocker/plugins" \
+
--prefix "PYTHONPATH" : "${python3.pkgs.hwdata}/${python3.sitePackages}"
+
'';
+
+
mesonFlags = [
+
"-Dplugins=false"
+
];
+
+
meta = with lib; {
+
description = "Qt overclocking tool for GNU/Linux";
+
homepage = "https://github.com/Lurkki14/tuxclocker";
+
license = licenses.gpl3Only;
+
maintainers = with maintainers; [ lurkki ];
+
platforms = platforms.linux;
+
};
+
})
+3 -3
pkgs/applications/networking/cluster/kubectl-cnpg/default.nix
···
buildGoModule rec {
pname = "kubectl-cnpg";
-
version = "1.21.0";
+
version = "1.21.1";
src = fetchFromGitHub {
owner = "cloudnative-pg";
repo = "cloudnative-pg";
rev = "v${version}";
-
hash = "sha256-FRSypaZex55ABE+e23kvNZFTTn6Z8AEy8ag3atwMdEk=";
+
hash = "sha256-xDjDBbnYR0PnSrF/vr+HXVGMoba9NmE/uMX/DRm+CVE=";
};
-
vendorHash = "sha256-mirnieBrrVwRccJDgelZvSfQaAVlTsttOh3nJBN6ev0=";
+
vendorHash = "sha256-NqQGqvvwLi6niey9Mi9hJSRYrRXE4Dj4VWiMu5wUXXw=";
subPackages = [ "cmd/kubectl-cnpg" ];
+3 -3
pkgs/applications/networking/cluster/nerdctl/default.nix
···
buildGoModule rec {
pname = "nerdctl";
-
version = "1.7.1";
+
version = "1.7.2";
src = fetchFromGitHub {
owner = "containerd";
repo = pname;
rev = "v${version}";
-
hash = "sha256-jjYSvY7NT9G/tcsM+9qHnsL81QKItyVMZZWuD2mpln0=";
+
hash = "sha256-6YMDGvNl1uNMWR1xTPRjYGwaKXC5c4oUy88VRY2Bedw=";
};
-
vendorHash = "sha256-O48QzyQLkt7T9j+CKQG8TcHlmtS+ykoMoCamsEswPjk=";
+
vendorHash = "sha256-tXLuOZUoMhVfhhYxnxNw+nYofhEFMKI1b94lVPySd3E=";
nativeBuildInputs = [ makeWrapper installShellFiles ];
+2 -2
pkgs/applications/networking/cluster/opentofu/default.nix
···
let
package = buildGoModule rec {
pname = "opentofu";
-
version = "1.6.0-beta4";
+
version = "1.6.0-beta5";
src = fetchFromGitHub {
owner = "opentofu";
repo = "opentofu";
rev = "v${version}";
-
hash = "sha256-AFy7xg1UwVWlFZjelYhxfkhj4Tk93uVvF1i3PHa2jEM=";
+
hash = "sha256-RHAhftoqGs9ZoO+NGvZ0AAvT5UWRKzV7cHX1/qVCAMU=";
};
vendorHash = "sha256-kSm5RZqQRgbmPaKt5IWmuMhHwAu+oJKTX1q1lbE7hWk=";
+2 -2
pkgs/applications/networking/instant-messengers/neosay/default.nix
···
buildGoModule rec {
pname = "neosay";
-
version = "1.0.0";
+
version = "1.0.1";
src = fetchFromGitHub {
owner = "donuts-are-good";
repo = "neosay";
rev = "v${version}";
-
hash = "sha256-Uwz6Y26AtzWXLFgJY0WVD0HBb+vbMeeMKt8gCk6viec=";
+
hash = "sha256-2tFjvAobDpBh1h0ejdtqxDsC+AqyneN+xNssOJNfEbk=";
};
vendorHash = "sha256-w0aZnel5Obq73UXcG9wmO9t/7qQTE8ru656u349cvzQ=";
+2 -2
pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-aarch64.nix
···
callPackage ./generic.nix { } rec {
pname = "signal-desktop";
dir = "Signal";
-
version = "6.40.0";
+
version = "6.42.0";
url = "https://github.com/0mniteck/Signal-Desktop-Mobian/raw/${version}/builds/release/signal-desktop_${version}_arm64.deb";
-
hash = "sha256-3Pi0c+CGcJR1M4ll51m+B5PmGIcIjjlc0qa9b8rkMeU=";
+
hash = "sha256-kr8FM+EAtL/7TrgJlI33oDd4CPGMJ+F2PpQCR4OL6j4=";
}
+2 -2
pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-beta.nix
···
callPackage ./generic.nix {} rec {
pname = "signal-desktop-beta";
dir = "Signal Beta";
-
version = "6.40.0-beta.2";
+
version = "6.43.0-beta.1";
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop-beta/signal-desktop-beta_${version}_amd64.deb";
-
hash = "sha256-pfedkxbZ25DFgz+/N7ZEb9LwKrHuoMM+Zi+Tc21QPsg=";
+
hash = "sha256-7UlfpOWAalJjZjAJLa2CL3HdR2LFlE1/5sdec5Sj/tg=";
}
+1
pkgs/applications/networking/msmtp/default.nix
···
license = licenses.gpl3Plus;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
+
mainProgram = "msmtp";
};
binaries = stdenv.mkDerivation {
+3 -3
pkgs/applications/networking/mullvad-vpn/default.nix
···
systemd
];
-
version = "2023.5";
+
version = "2023.6";
selectSystem = attrs: attrs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
···
};
hash = selectSystem {
-
x86_64-linux = "sha256-FpVruI80PmpBo2JrMvgvOg7ou6LceTeit9HbWKgcPa4=";
-
aarch64-linux = "sha256-NlYh8K5Xbad4xSoZ02yC5fh3SrQzyNyS9uoA73REcpo=";
+
x86_64-linux = "sha256-IhE93NXX8iwlvso+ei9wbVyJJLtkjrZf8qB43AZre+4=";
+
aarch64-linux = "sha256-HRAGDps0Cf7qOWTS7die9uouxMpAaM83t1Ixz7ElF6g=";
};
in
+2 -2
pkgs/applications/science/chemistry/jmol/default.nix
···
};
in
stdenv.mkDerivation rec {
-
version = "16.1.45";
+
version = "16.1.47";
pname = "jmol";
src = let
baseVersion = "${lib.versions.major version}.${lib.versions.minor version}";
in fetchurl {
url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz";
-
hash = "sha256-rLq0QrY1M0OptmRZ/dKUVssREnH1im9Ti89AbpsiFtg=";
+
hash = "sha256-3hsH+RkPPoViKp1bc/88GDVSG8jf9hiPKPkUfe9PIkk=";
};
patchPhase = ''
+2 -2
pkgs/applications/science/electronics/nvc/default.nix
···
stdenv.mkDerivation rec {
pname = "nvc";
-
version = "1.11.0";
+
version = "1.11.1";
src = fetchFromGitHub {
owner = "nickg";
repo = "nvc";
rev = "r${version}";
-
hash = "sha256-95vIyBQ38SGpI+gnDqK1MRRzOT6uiYjDr1c//folqZ8=";
+
hash = "sha256-aBH3TtPFuJXtVvGTJcGJev5DYVwqjUAM9cf5PatJq9Y=";
};
nativeBuildInputs = [
+2 -2
pkgs/applications/science/logic/alt-ergo/default.nix
···
-
{ fetchurl, fetchpatch, lib, ocamlPackages }:
+
{ darwin, fetchurl, lib, ocamlPackages, stdenv }:
let
pname = "alt-ergo";
···
inherit pname version src;
-
nativeBuildInputs = [ ocamlPackages.menhir ];
+
nativeBuildInputs = [ ocamlPackages.menhir ] ++ lib.optionals stdenv.isDarwin [ darwin.sigtool ];
buildInputs = [ alt-ergo-parsers ] ++ (with ocamlPackages; [ cmdliner dune-site ]);
meta = {
+8 -6
pkgs/applications/science/robotics/mujoco/default.nix
···
benchmark = fetchFromGitHub {
owner = "google";
repo = "benchmark";
-
rev = "344117638c8ff7e239044fd0fa7085839fc03021";
-
hash = "sha256-gztnxui9Fe/FTieMjdvfJjWHjkImtlsHn6fM1FruyME=";
+
rev = "e45585a4b8e75c28479fa4107182c28172799640";
+
hash = "sha256-pgHvmRpPd99ePUVRsi7WXLVSZngZ5q6r1vWW4mdGvxY=";
};
ccd = fetchFromGitHub {
owner = "danfis";
···
eigen3 = fetchFromGitLab {
owner = "libeigen";
repo = "eigen";
-
rev = "e8515f78ac098329ab9f8cab21c87caede090a3f";
-
hash = "sha256-HXKtFJsKGpug+wNPjYynTuyaG0igo3oG4rFQktveh1g=";
+
rev = "454f89af9d6f3525b1df5f9ef9c86df58bf2d4d3";
+
hash = "sha256-a9QAnv6vIM8a9Bn8ZmfeMT0+kbtb0QGxM0+m5xwIqm8=";
};
googletest = fetchFromGitHub {
owner = "google";
···
in stdenv.mkDerivation rec {
pname = "mujoco";
-
version = "3.0.1";
+
version = "3.1.0";
+
# Bumping version? Make sure to look though the MuJoCo's commit
+
# history for bumped dependency pins!
src = fetchFromGitHub {
owner = "google-deepmind";
repo = pname;
rev = version;
-
hash = "sha256-UXE+7KDti8RarpoJoo9Ei3TgW/Qdnj3ASRo8uTWhGrU=";
+
hash = "sha256-a8h30psoAlj9dI4j8IfY3WzWjY4MrRosGbvgt79s1BQ=";
};
patches = [ ./mujoco-system-deps-dont-fetch.patch ];
+5 -5
pkgs/applications/version-management/gitkraken/default.nix
···
let
pname = "gitkraken";
-
version = "9.9.2";
+
version = "9.10.0";
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
srcs = {
x86_64-linux = fetchzip {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
-
sha256 = "sha256-UfzHkgqxEaSsoiDwFLsyIBW2min9AvSBrLPJ2MlKh3U=";
+
hash = "sha256-JVeJY0VUNyIeR/IQcfoLBN0I1WQNFy7PpCjzk5bPv/Q=";
};
x86_64-darwin = fetchzip {
url = "https://release.axocdn.com/darwin/GitKraken-v${version}.zip";
-
sha256 = "sha256-ble0n+giM8xmuSewBVdj+RuT2093rW0taNzsyQLO92I=";
+
hash = "sha256-npc+dwHH0tlVKkAZxmGwpoiHXeDn0VHkivqbwoJsI7M=";
};
aarch64-darwin = fetchzip {
url = "https://release.axocdn.com/darwin-arm64/GitKraken-v${version}.zip";
-
sha256 = "sha256-QYhYzjqbCO0/pRDK7c5jYifj+/UY7SLpRqQUQ3LBFkE=";
+
hash = "sha256-fszsGdNKcVgKdv97gBBf+fSODzjKbOBB4MyCvWzm3CA=";
};
};
···
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = builtins.attrNames srcs;
-
maintainers = with maintainers; [ xnwdd evanjs arkivm ];
+
maintainers = with maintainers; [ xnwdd evanjs arkivm nicolas-goudry ];
mainProgram = "gitkraken";
};
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-vertical-canvas.nix
···
stdenv.mkDerivation rec {
pname = "obs-vertical-canvas";
-
version = "1.3.0";
+
version = "1.3.1";
src = fetchFromGitHub {
owner = "Aitum";
repo = "obs-vertical-canvas";
rev = version;
-
sha256 = "sha256-gDM2S/ygN58iodfO5d34LYUclkzf+nAIBWp+wFeWWik=";
+
sha256 = "sha256-kJJepKUH/tc6iV/zFDtrAa4bM9Gaqc9M7IItytknkGA=";
};
nativeBuildInputs = [ cmake ];
+3 -3
pkgs/applications/virtualization/nixpacks/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "nixpacks";
-
version = "1.19.0";
+
version = "1.20.0";
src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-yeZGhE+ImWXW3HPpAo+E1GOSEwPr7yK78XVmCocGqH4=";
+
sha256 = "sha256-EaJYuapTWzVD80UyhzjP1q1SCCNmUozf+hUl4wBgC14=";
};
-
cargoHash = "sha256-xqKYd80PCM7Rnj+9dV2XjigE4sweOnL4HfOQiOYzCEQ=";
+
cargoHash = "sha256-Vh5mdxxROVthDUzK+PRhl9AY5jcmvhEXP5UqOeqOm6o=";
# skip test due FHS dependency
doCheck = false;
+32
pkgs/by-name/an/anime4k/package.nix
···
+
{ fetchFromGitHub
+
, lib
+
, stdenvNoCC
+
}:
+
+
stdenvNoCC.mkDerivation (finalAttrs: {
+
pname = "anime4k";
+
version = "4.0.1";
+
+
src = fetchFromGitHub {
+
owner = "bloc97";
+
repo = "Anime4k";
+
rev = "v${finalAttrs.version}";
+
hash = "sha256-OQWJWcDpwmnJJ/kc4uEReaO74dYFlxNQwf33E5Oagb0=";
+
};
+
+
installPhase = ''
+
runHook preInstall
+
+
install -Dm644 glsl/*/*.glsl -t $out
+
+
runHook postInstall
+
'';
+
+
meta = with lib; {
+
description = "A high-quality real time upscaler for anime";
+
homepage = "https://github.com/bloc97/Anime4K";
+
license = licenses.mit;
+
maintainers = with maintainers; [ surfaceflinger ];
+
platforms = platforms.all;
+
};
+
})
+35
pkgs/by-name/na/nautilus-open-in-blackbox/package.nix
···
+
{ python3, fetchFromGitHub, gnome, stdenv, lib }:
+
stdenv.mkDerivation rec {
+
pname = "nautilus-open-in-blackbox";
+
version = "0.1.1";
+
+
src = fetchFromGitHub {
+
owner = "ppvan";
+
repo = "nautilus-open-in-blackbox";
+
rev = "refs/tags/${version}";
+
hash = "sha256-5rvh3qNalpjamcBVQrnAW6GxhwPPlRxP5h045YDqvrM=";
+
};
+
+
# The Orignal Source code tries to execute `/usr/bin/blackbox` which is not valid in NixOS
+
# This patch replaces the call with `blackbox`
+
patches = [ ./paths.patch ];
+
+
buildInputs = [
+
gnome.nautilus-python
+
python3.pkgs.pygobject3
+
];
+
+
installPhase = ''
+
runHook preInstall
+
install -Dm555 ./nautilus-open-in-blackbox.py -t $out/share/nautilus-python/extensions
+
runHook postInstall
+
'';
+
+
meta = with lib; {
+
description = "Extension for nautilus, which adds an context-entry for opening in blackbox";
+
license = licenses.gpl3Plus;
+
maintainers = with maintainers; [ blankparticle ];
+
homepage = "https://github.com/ppvan/nautilus-open-in-blackbox";
+
platforms = platforms.linux;
+
};
+
}
+23
pkgs/by-name/na/nautilus-open-in-blackbox/paths.patch
···
+
diff --git a/nautilus-open-in-blackbox.py b/nautilus-open-in-blackbox.py
+
index 9a43f90..0a5b632 100755
+
--- a/nautilus-open-in-blackbox.py
+
+++ b/nautilus-open-in-blackbox.py
+
@@ -78,17 +78,10 @@ class BlackBoxNautilus(GObject.GObject, Nautilus.MenuProvider):
+
+
return item
+
+
- def is_native(self):
+
- return shutil.which("blackbox") == "/usr/bin/blackbox"
+
-
+
def _nautilus_run(self, menu, path):
+
"""'Open with BlackBox 's menu item callback."""
+
print("Openning:", path)
+
- args = None
+
- if self.is_native():
+
- args = args = ["blackbox", "-w", path]
+
- else:
+
- args = ["/usr/bin/flatpak", "run", TERMINAL_NAME, "-w", path]
+
+ args = ["blackbox", "-w", path]
+
+
subprocess.Popen(args, cwd=path)
+
+3 -3
pkgs/by-name/or/orchard/package.nix
···
buildGoModule rec {
pname = "orchard";
-
version = "0.14.3";
+
version = "0.15.0";
src = fetchFromGitHub {
owner = "cirruslabs";
repo = pname;
rev = version;
-
hash = "sha256-hQP48druIwkVVKeC1TKq+DEGOJOmkendc3Ij9ft+uDQ=";
+
hash = "sha256-9hxfRiZ3V65wvh8n1SGeTzNdjdoEfRtyFOv4+f/u+O8=";
# 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;
···
'';
};
-
vendorHash = "sha256-opPxsCukXcLcrf/sD9AW1iIYOK5BmTLnc/QGUvzVLwg=";
+
vendorHash = "sha256-LBvd8qah+v0y3dHadSs69/y6pr8TyZ0nDJgHR+8qlEo=";
nativeBuildInputs = [ installShellFiles ];
+2 -2
pkgs/by-name/pa/passes/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "passes";
-
version = "0.8";
+
version = "0.9";
src = fetchFromGitHub {
owner = "pablo-s";
repo = "passes";
rev = "v${finalAttrs.version}";
-
hash = "sha256-SIJLBVWyW9+Hzb6ebfUnBfUuvNmYBm9ojKrnFOS3BGc=";
+
hash = "sha256-RfoqIyqc9zwrWZ5RLhQl+6vTccbCTwtDcMlnWPCDOag=";
};
postPatch = ''
+14
pkgs/by-name/tu/tuxclocker-nvidia-plugin/no-cpu-plugin.patch
···
+
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
+
index cdd3b5b..a5a2174 100644
+
--- a/src/plugins/meson.build
+
+++ b/src/plugins/meson.build
+
@@ -63,9 +63,3 @@ if all_nvidia_linux_libs
+
install : true,
+
link_with : libtuxclocker)
+
endif
+
-
+
-shared_library('cpu', 'CPU.cpp', 'Utils.cpp',
+
- include_directories : [incdir, fplus_inc],
+
- install_dir : get_option('libdir') / 'tuxclocker' / 'plugins',
+
- install : true,
+
- link_with : libtuxclocker)
+34
pkgs/by-name/tu/tuxclocker-nvidia-plugin/package.nix
···
+
{ lib
+
, stdenv
+
, boost
+
, libX11
+
, libXext
+
, linuxPackages
+
, openssl
+
, tuxclocker-plugins
+
}:
+
+
stdenv.mkDerivation {
+
pname = "tuxclocker-nvidia-plugin";
+
+
inherit (tuxclocker-plugins) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR nativeBuildInputs;
+
+
buildInputs = [
+
boost
+
libX11
+
libXext
+
linuxPackages.nvidia_x11
+
linuxPackages.nvidia_x11.settings.libXNVCtrl
+
openssl
+
];
+
+
# Build doesn't have a way to disable building the CPU plugin, which is already
+
# provided by 'tuxclocker-plugins'
+
patches = [ ./no-cpu-plugin.patch ];
+
+
mesonFlags = [
+
"-Ddaemon=false"
+
"-Dgui=false"
+
"-Drequire-nvidia=true"
+
];
+
}
+16
pkgs/by-name/tu/tuxclocker-plugins-with-unfree/package.nix
···
+
{ symlinkJoin
+
, tuxclocker-nvidia-plugin
+
, tuxclocker-plugins
+
}:
+
+
symlinkJoin rec {
+
inherit (tuxclocker-plugins) version meta;
+
+
pname = "tuxclocker-plugins-with-unfree";
+
name = "${pname}-${version}";
+
+
paths = [
+
tuxclocker-nvidia-plugin
+
tuxclocker-plugins
+
];
+
}
+42
pkgs/by-name/tu/tuxclocker-plugins/package.nix
···
+
{ lib
+
, stdenv
+
, boost
+
, cmake
+
, gettext
+
, git
+
, libdrm
+
, meson
+
, ninja
+
, openssl
+
, pkg-config
+
, python3
+
, tuxclocker
+
}:
+
+
stdenv.mkDerivation {
+
inherit (tuxclocker) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR;
+
+
pname = "tuxclocker-plugins";
+
+
nativeBuildInputs = [
+
gettext
+
git
+
meson
+
ninja
+
pkg-config
+
(python3.withPackages(p: [ p.hwdata ]))
+
];
+
+
buildInputs = [
+
boost
+
libdrm
+
openssl
+
];
+
+
mesonFlags = [
+
"-Ddaemon=false"
+
"-Dgui=false"
+
"-Drequire-amd=true"
+
"-Drequire-python-hwdata=true"
+
];
+
}
+4 -4
pkgs/by-name/ui/uiua/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "uiua";
-
version = "0.6.1";
+
version = "0.7.0";
src = fetchFromGitHub {
owner = "uiua-lang";
repo = "uiua";
rev = version;
-
hash = "sha256-/yeLsuwEKw6+jBKd7CAnR9RuVaKwXjVpcvO3v0FaAck=";
+
hash = "sha256-QQgwUXWro2CQjUsVuaZghNUPwSm1kNr5YgLL3SMgCPw=";
};
-
cargoHash = "sha256-4tR1n96s91EFZLO4RIBpNKLjOSbGrBIApJrS60RBuQQ=";
+
cargoHash = "sha256-DaKIzadivG6KGXUVP8LbHhjExY87xwsGESqiWANJxjw=";
nativeBuildInputs = lib.optionals stdenv.isDarwin [
rustPlatform.bindgenHook
···
'';
meta = {
-
changelog = "https://github.com/uiua-lang/uiua/releases/tag/${src.rev}";
+
changelog = "https://github.com/uiua-lang/uiua/blob/${src.rev}/changelog.md";
description = "A stack-oriented array programming language with a focus on simplicity, beauty, and tacit code";
longDescription = ''
Uiua combines the stack-oriented and array-oriented paradigms in a single
+28
pkgs/by-name/zb/zbus-xmlgen/package.nix
···
+
{ lib, rustPlatform, fetchCrate, makeBinaryWrapper, rustfmt }:
+
+
rustPlatform.buildRustPackage rec {
+
pname = "zbus_xmlgen";
+
version = "3.1.1";
+
+
src = fetchCrate {
+
inherit pname version;
+
hash = "sha256-vaefyfasOLFFYWPjSJFgjIFkvnRiJVe/GLYUQxUYlt0=";
+
};
+
+
cargoHash = "sha256-WXJ49X4B2aNy1zPbTllIzRhZJvF+RwfQ0Hhm/D+LQfk=";
+
+
nativeBuildInputs = [ makeBinaryWrapper ];
+
+
postInstall = ''
+
wrapProgram $out/bin/zbus-xmlgen \
+
--prefix PATH : ${lib.makeBinPath [ rustfmt ]}
+
'';
+
+
meta = with lib; {
+
homepage = "https://crates.io/crates/zbus_xmlgen";
+
description = "D-Bus XML interface Rust code generator";
+
mainProgram = "zbus-xmlgen";
+
maintainers = with maintainers; [ qyliss ];
+
license = licenses.mit;
+
};
+
}
+2 -2
pkgs/data/icons/numix-icon-theme-circle/default.nix
···
stdenvNoCC.mkDerivation rec {
pname = "numix-icon-theme-circle";
-
version = "23.11.11";
+
version = "23.12.10";
src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
-
sha256 = "sha256-sIC5GYROj53vrMRdKKEHprGP+jHZqgz2lbPPFIVuj74=";
+
sha256 = "sha256-DZmjSMJ1I+Ir/Hz/fmsw36dFSp5S3YF024nJLb/Xxig=";
};
nativeBuildInputs = [ gtk3 ];
+2 -2
pkgs/data/icons/numix-icon-theme-square/default.nix
···
stdenvNoCC.mkDerivation rec {
pname = "numix-icon-theme-square";
-
version = "23.11.11";
+
version = "23.12.10";
src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
-
sha256 = "sha256-yu9ufr1l21l6v8bRXLJcVkpBD0fDIlgePbStTLH+CDc=";
+
sha256 = "sha256-kNO0YHHapoIKAosGvCMUEhjP6FkD/CRNhrv5D3dxgoI=";
};
nativeBuildInputs = [ gtk3 ];
+2 -2
pkgs/data/icons/numix-icon-theme/default.nix
···
stdenvNoCC.mkDerivation rec {
pname = "numix-icon-theme";
-
version = "23.11.20";
+
version = "23.12.02";
src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
-
sha256 = "sha256-jH3bzwyiDRovrH8GyJhwMJRHM5du8ek4leKnFSO8vAo=";
+
sha256 = "sha256-ks2JJROSYzeDqq7i6Y4iJAB994ZRcDOGGRcCL3Dt1zI=";
};
nativeBuildInputs = [
+2
pkgs/desktops/lomiri/default.nix
···
gmenuharness = callPackage ./development/gmenuharness { };
libusermetrics = callPackage ./development/libusermetrics { };
lomiri-api = callPackage ./development/lomiri-api { };
+
trust-store = callPackage ./development/trust-store { };
u1db-qt = callPackage ./development/u1db-qt { };
#### QML / QML-related
···
biometryd = callPackage ./services/biometryd { };
hfd-service = callPackage ./services/hfd-service { };
lomiri-app-launch = callPackage ./development/lomiri-app-launch { };
+
mediascanner2 = callPackage ./services/mediascanner2 { };
};
in
lib.makeScope libsForQt5.newScope packages
+119
pkgs/desktops/lomiri/development/trust-store/default.nix
···
+
{ stdenv
+
, lib
+
, fetchFromGitLab
+
, testers
+
, boost
+
, cmake
+
, cmake-extras
+
, dbus
+
, dbus-cpp
+
, doxygen
+
, gettext
+
, glog
+
, graphviz
+
, gtest
+
, libapparmor
+
, newt
+
, pkg-config
+
, process-cpp
+
, properties-cpp
+
, qtbase
+
, qtdeclarative
+
}:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "trust-store";
+
version = "unstable-2023-10-17";
+
+
src = fetchFromGitLab {
+
owner = "ubports";
+
repo = "development/core/trust-store";
+
rev = "7aa7ab5b7f3843e24c13ae6d9b8607455296d60e";
+
hash = "sha256-j+4FZzbG3qh1pGRapFuuMiwT4Lv9P6Ji9/3Z0uGvXmw=";
+
};
+
+
outputs = [
+
"out"
+
"dev"
+
"doc"
+
"bin"
+
];
+
+
postPatch = ''
+
# pkg-config patching hook expects prefix variable
+
substituteInPlace data/trust-store.pc.in \
+
--replace 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
+
+
substituteInPlace src/core/trust/terminal_agent.h \
+
--replace '/bin/whiptail' '${lib.getExe' newt "whiptail"}'
+
'' + lib.optionalString (!finalAttrs.doCheck) ''
+
sed -i CMakeLists.txt -e '/add_subdirectory(tests)/d'
+
'';
+
+
strictDeps = true;
+
+
nativeBuildInputs = [
+
cmake
+
doxygen
+
gettext
+
graphviz
+
pkg-config
+
];
+
+
buildInputs = [
+
boost
+
cmake-extras
+
dbus-cpp
+
glog
+
libapparmor
+
newt
+
process-cpp
+
properties-cpp
+
qtbase
+
qtdeclarative
+
];
+
+
nativeCheckInputs = [
+
dbus
+
];
+
+
checkInputs = [
+
gtest
+
];
+
+
dontWrapQtApps = true;
+
+
cmakeFlags = [
+
# Requires mirclient API, unavailable in Mir 2.x
+
# https://gitlab.com/ubports/development/core/trust-store/-/issues/2
+
"-DTRUST_STORE_MIR_AGENT_ENABLED=OFF"
+
"-DTRUST_STORE_ENABLE_DOC_GENERATION=ON"
+
];
+
+
# Not working
+
# - remote_agent_test cases using unix domain socket fail to do *something*, with std::system_error "Invalid argument" + follow-up "No such file or directory".
+
# potentially something broken/missing on our end
+
# - dbus_test hangs indefinitely waiting for a std::future, not provicient enough to debug this.
+
# same hang on upstream CI
+
doCheck = false;
+
+
preCheck = ''
+
export XDG_DATA_HOME=$TMPDIR
+
'';
+
+
# Starts & talks to DBus
+
enableParallelChecking = false;
+
+
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
+
meta = with lib; {
+
description = "Common implementation of a trust store to be used by trusted helpers";
+
homepage = "https://gitlab.com/ubports/development/core/trust-store";
+
license = licenses.lgpl3Only;
+
maintainers = teams.lomiri.members;
+
platforms = platforms.linux;
+
pkgConfigModules = [
+
"trust-store"
+
];
+
};
+
})
+122
pkgs/desktops/lomiri/services/mediascanner2/default.nix
···
+
{ stdenv
+
, lib
+
, fetchFromGitLab
+
, gitUpdater
+
, testers
+
, boost
+
, cmake
+
, cmake-extras
+
, dbus
+
, dbus-cpp
+
, gdk-pixbuf
+
, glib
+
, gst_all_1
+
, gtest
+
, libapparmor
+
, libexif
+
, pkg-config
+
, properties-cpp
+
, qtbase
+
, qtdeclarative
+
, shared-mime-info
+
, sqlite
+
, taglib
+
, udisks
+
, wrapQtAppsHook
+
}:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "mediascanner2";
+
version = "0.115";
+
+
src = fetchFromGitLab {
+
owner = "ubports";
+
repo = "development/core/mediascanner2";
+
rev = finalAttrs.version;
+
hash = "sha256-UEwFe65VB2asxQhuWGEAVow/9rEvZxry4dd2/60fXN4=";
+
};
+
+
outputs = [
+
"out"
+
"dev"
+
];
+
+
postPatch = ''
+
substituteInPlace src/qml/MediaScanner.*/CMakeLists.txt \
+
--replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
+
+
# Lomiri desktop doesn't identify itself under Canonical's name anymore
+
substituteInPlace src/daemon/scannerdaemon.cc \
+
--replace 'Unity8' 'Lomiri'
+
'';
+
+
strictDeps = true;
+
+
nativeBuildInputs = [
+
cmake
+
gst_all_1.gstreamer # GST_PLUGIN_SYSTEM_PATH_1_0 setup hook
+
pkg-config
+
wrapQtAppsHook
+
];
+
+
buildInputs = [
+
boost
+
cmake-extras
+
dbus
+
dbus-cpp
+
gdk-pixbuf
+
glib
+
libapparmor
+
libexif
+
properties-cpp
+
qtbase
+
qtdeclarative
+
shared-mime-info
+
sqlite
+
taglib
+
udisks
+
] ++ (with gst_all_1; [
+
gstreamer
+
gst-plugins-base
+
gst-plugins-good
+
]);
+
+
checkInputs = [
+
gtest
+
];
+
+
cmakeFlags = [
+
"-DENABLE_TESTS=${lib.boolToString finalAttrs.doCheck}"
+
];
+
+
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
+
+
preCheck = ''
+
export QT_PLUGIN_PATH=${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
+
export XDG_DATA_DIRS=${shared-mime-info}/share:$XDG_DATA_DIRS
+
'';
+
+
preFixup = ''
+
qtWrapperArgs+=(
+
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
+
--prefix XDG_DATA_DIRS : ${shared-mime-info}/share
+
)
+
'';
+
+
passthru = {
+
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
+
updateScript = gitUpdater { };
+
};
+
+
meta = with lib; {
+
description = "Media scanner service & access library";
+
homepage = "https://gitlab.com/ubports/development/core/mediascanner2";
+
license = licenses.gpl3Only;
+
maintainers = teams.lomiri.members;
+
mainProgram = "mediascanner-service-2.0";
+
platforms = platforms.linux;
+
pkgConfigModules = [
+
"mediascanner-2.0"
+
];
+
};
+
})
+2 -2
pkgs/development/compilers/mlkit/default.nix
···
stdenv.mkDerivation rec {
pname = "mlkit";
-
version = "4.7.5";
+
version = "4.7.7";
src = fetchFromGitHub {
owner = "melsman";
repo = "mlkit";
rev = "v${version}";
-
sha256 = "sha256-LAlJCAF8nyXVUlkOEdcoxq5bZn1bd7dqwx6PxOxJRsM=";
+
sha256 = "sha256-XwyZpv80keMhwPm/kvhwrMQg04E8IFjt0UMl9Ocxtyc=";
};
nativeBuildInputs = [ autoreconfHook mlton ];
+2 -2
pkgs/development/libraries/libzim/default.nix
···
stdenv.mkDerivation rec {
pname = "libzim";
-
version = "9.0.0";
+
version = "9.1.0";
src = fetchFromGitHub {
owner = "openzim";
repo = pname;
rev = "refs/tags/${version}";
-
hash = "sha256-K1S2MiugUeqCfPq0Oclmghb9064xrsKgUEVjFCJHt0U=";
+
hash = "sha256-yWnW/+CaQwbemrNLzvQpXw5yvW2Q6LtwDgvA58+fVUs=";
};
nativeBuildInputs = [
+2 -2
pkgs/development/libraries/nanoflann/default.nix
···
}:
stdenv.mkDerivation (finalAttrs: {
-
version = "1.5.1";
+
version = "1.5.3";
pname = "nanoflann";
src = fetchFromGitHub {
owner = "jlblancoc";
repo = "nanoflann";
rev = "v${finalAttrs.version}";
-
hash = "sha256-ozFYqEq6PSe1C6Lc13Szxt8+sUTTlbXrmMgb8cvX04I=";
+
hash = "sha256-cTi3Q+SUSNQkSgi2K7nPqfqEQFMkbchbn2+pE2ol9xQ=";
};
nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/nghttp3/default.nix
···
stdenv.mkDerivation rec {
pname = "nghttp3";
-
version = "1.0.0";
+
version = "1.1.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
-
hash = "sha256-mw0zI7528lvEZlv+/KuST7PWjuu37p/+EGGsjIEto2Q=";
+
hash = "sha256-B/5r0mRpOEi5DQ7OUAAcDmAm1nnak6qNz4qjDrzWlDc=";
};
outputs = [ "out" "dev" "doc" ];
+2 -2
pkgs/development/libraries/ngtcp2/default.nix
···
stdenv.mkDerivation rec {
pname = "ngtcp2";
-
version = "1.0.0";
+
version = "1.1.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
-
hash = "sha256-dnYIRcNGTIzETu2OjTJa0IWB1+xttdGFKRBmMkTwrXk=";
+
hash = "sha256-z6lvtfO5XL/bZgbE+Sak+32QzjEhAdOnkpIO731h+bk=";
};
outputs = [ "out" "dev" "doc" ];
+2 -10
pkgs/development/libraries/utf8cpp/default.nix
···
stdenv.mkDerivation rec {
pname = "utf8cpp";
-
version = "3.2.5";
+
version = "4.0.3";
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
rev = "v${version}";
fetchSubmodules = true;
-
sha256 = "sha256-cWiGggn2GP25K/8eopvnFPq6iwcBteNI3i9Lo1Sr+ig=";
+
hash = "sha256-oUr476HMBYzX64x28Kcudw0B1BVqLUPVVdRzRe82AOc=";
};
-
cmakeFlags = [
-
"-DCMAKE_INSTALL_LIBDIR=lib"
-
];
-
nativeBuildInputs = [ cmake ];
-
-
# Tests fail on darwin, probably due to a bug in the test framework:
-
# https://github.com/nemtrif/utfcpp/issues/84
-
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = "https://github.com/nemtrif/utfcpp";
+1
pkgs/development/lua-modules/aliases.nix
···
lpty = throw "lpy was removed because broken and unmaintained "; # added 2023-10-14
cyrussasl = throw "cyrussasl was removed because broken and unmaintained "; # added 2023-10-18
nlua-nvim = throw "nlua-nvim was removed, use neodev-nvim instead"; # added 2023-12-16
+
nvim-client = throw "nvim-client was removed because it is now part of neovim"; # added 2023-12-17
}
-20
pkgs/development/lua-modules/generated-packages.nix
···
};
}) {};
-
nvim-client = callPackage({ buildLuarocksPackage, coxpcall, fetchurl, lua, luaOlder, luv, mpack }:
-
buildLuarocksPackage {
-
pname = "nvim-client";
-
version = "0.2.4-1";
-
-
src = fetchurl {
-
url = "https://github.com/neovim/lua-client/archive/0.2.4-1.tar.gz";
-
sha256 = "0sk1lmj0r7pyj9k3p6n0wqjbd95br44ansz0ck3amp6ql8f9kprf";
-
};
-
-
disabled = (luaOlder "5.1");
-
propagatedBuildInputs = [ coxpcall lua luv mpack ];
-
-
meta = {
-
homepage = "https://github.com/neovim/lua-client";
-
description = "Lua client to Nvim";
-
license.fullName = "Apache";
-
};
-
}) {};
-
nvim-cmp = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder }:
buildLuarocksPackage {
pname = "nvim-cmp";
+24 -13
pkgs/development/mobile/androidenv/emulate-app.nix
···
{ composeAndroidPackages, stdenv, lib, runtimeShell }:
-
{ name, app ? null
+
{ name
+
, app ? null
, platformVersion ? "33"
, abiVersion ? "armeabi-v7a"
, systemImageType ? "default"
-
, enableGPU ? false
-
, extraAVDFiles ? []
+
, enableGPU ? false # Enable GPU acceleration. It's deprecated, instead use `configOptions` below.
+
, configOptions ? (
+
# List of options to add in config.ini
+
lib.optionalAttrs enableGPU
+
(lib.warn
+
"enableGPU argument is deprecated and will be removed; use configOptions instead"
+
{ "hw.gpu.enabled" = "yes"; }
+
)
+
)
+
, extraAVDFiles ? [ ]
, package ? null
, activity ? null
, androidUserHome ? null
, avdHomeDir ? null # Support old variable with non-standard naming!
, androidAvdHome ? avdHomeDir
-
, sdkExtraArgs ? {}
+
, deviceName ? "device"
+
, sdkExtraArgs ? { }
, androidAvdFlags ? null
, androidEmulatorFlags ? null
}:
···
export ANDROID_SERIAL="emulator-$port"
# Create a virtual android device for testing if it does not exist
-
if [ "$(${sdk}/bin/avdmanager list avd | grep 'Name: device')" = "" ]
+
if [ "$(${sdk}/bin/avdmanager list avd | grep 'Name: ${deviceName}')" = "" ]
then
# Create a virtual android device
-
yes "" | ${sdk}/bin/avdmanager create avd --force -n device -k "system-images;android-${platformVersion};${systemImageType};${abiVersion}" -p $ANDROID_AVD_HOME $NIX_ANDROID_AVD_FLAGS
+
yes "" | ${sdk}/bin/avdmanager create avd --force -n ${deviceName} -k "system-images;android-${platformVersion};${systemImageType};${abiVersion}" -p $ANDROID_AVD_HOME/${deviceName}.avd $NIX_ANDROID_AVD_FLAGS
-
${lib.optionalString enableGPU ''
-
# Enable GPU acceleration
-
echo "hw.gpu.enabled=yes" >> $ANDROID_AVD_HOME/device.avd/config.ini
-
''}
+
${builtins.concatStringsSep "\n" (
+
lib.mapAttrsToList (configKey: configValue: ''
+
echo "${configKey} = ${configValue}" >> $ANDROID_AVD_HOME/${deviceName}.avd/config.ini
+
'') configOptions
+
)}
${lib.concatMapStrings (extraAVDFile: ''
-
ln -sf ${extraAVDFile} $ANDROID_AVD_HOME/device.avd
+
ln -sf ${extraAVDFile} $ANDROID_AVD_HOME/${deviceName}.avd
'') extraAVDFiles}
fi
# Launch the emulator
echo "\nLaunch the emulator"
-
$ANDROID_SDK_ROOT/emulator/emulator -avd device -no-boot-anim -port $port $NIX_ANDROID_EMULATOR_FLAGS &
+
$ANDROID_SDK_ROOT/emulator/emulator -avd ${deviceName} -no-boot-anim -port $port $NIX_ANDROID_EMULATOR_FLAGS &
# Wait until the device has completely booted
-
echo "Waiting until the emulator has booted the device and the package manager is ready..." >&2
+
echo "Waiting until the emulator has booted the ${deviceName} and the package manager is ready..." >&2
${sdk}/libexec/android-sdk/platform-tools/adb -s emulator-$port wait-for-device
+1
pkgs/development/mobile/androidenv/examples/shell-with-emulator.nix
···
androidComposition = androidEnv.composeAndroidPackages sdkArgs;
androidEmulator = androidEnv.emulateApp {
name = "android-sdk-emulator-demo";
+
configOptions = { "hw.keyboard" = "yes"; };
sdkExtraArgs = sdkArgs;
};
androidSdk = androidComposition.androidsdk;
+2 -2
pkgs/development/python-modules/bitarray/default.nix
···
buildPythonPackage rec {
pname = "bitarray";
-
version = "2.8.3";
+
version = "2.8.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-4VWHsr3xjTLrO6JfX1pRvt0NwGsxEqTFPated1O8ZYg=";
+
hash = "sha256-t1ZP0hjMRHn38BBtNB4Jb3iQe0eGWu7/cCyAffGSfAE=";
};
checkPhase = ''
+66
pkgs/development/python-modules/mayim/default.nix
···
+
{ lib
+
, buildPythonPackage
+
, fetchFromGitHub
+
, setuptools
+
, wheel
+
+
, psycopg
+
, aiosqlite
+
, asyncmy
+
+
# test
+
, pytest-asyncio
+
+
, pytestCheckHook
+
}:
+
+
buildPythonPackage rec {
+
pname = "mayim";
+
version = "1.1.0";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "ahopkins";
+
repo = "mayim";
+
rev = "refs/tags/v${version}";
+
hash = "sha256-nb0E9kMEJUihaCp8RnqGh0nSyDQo50eL1C4K5lBPlPQ=";
+
};
+
+
nativeBuildInputs = [
+
setuptools
+
wheel
+
];
+
+
postPatch = ''
+
substituteInPlace pyproject.toml \
+
--replace "--cov=src --cov-append --cov-report term-missing" ""
+
'';
+
+
passthru.optional-dependencies = {
+
postgres = [
+
psycopg
+
] ++ psycopg.optional-dependencies.pool;
+
mysql = [
+
asyncmy
+
];
+
sqlite = [
+
aiosqlite
+
];
+
};
+
+
nativeCheckInputs = [
+
pytestCheckHook
+
pytest-asyncio
+
] ++ (with passthru.optional-dependencies; [postgres mysql sqlite]);
+
+
pythonImportsCheck = [
+
"mayim"
+
];
+
+
meta = with lib; {
+
description = "Asynchronous SQL hydrator";
+
homepage = "https://github.com/ahopkins/mayim";
+
license = licenses.mit;
+
maintainers = with maintainers; [ huyngo ];
+
};
+
}
+6 -7
pkgs/development/python-modules/mujoco/default.nix
···
buildPythonPackage rec {
pname = "mujoco";
-
version = "3.0.1";
+
version = "3.1.0";
pyproject = true;
···
# in the project's CI.
src = fetchPypi {
inherit pname version;
-
hash = "sha256-pftecOk4q19qKBHs9hBBVenI+SgJg9VT7vc6NKuiY0s=";
+
hash = "sha256-rZNVihIuvNJnQWqA5tV9DG5r3/LttWNW6fN2js+fDb8=";
};
nativeBuildInputs = [ cmake setuptools ];
···
env.MUJOCO_PATH = "${mujoco}";
env.MUJOCO_PLUGIN_PATH = "${mujoco}/lib";
-
env.MUJOCO_CMAKE_ARGS = "-DMUJOCO_SIMULATE_USE_SYSTEM_GLFW=ON";
+
env.MUJOCO_CMAKE_ARGS = lib.concatStringsSep " " [
+
"-DMUJOCO_SIMULATE_USE_SYSTEM_GLFW=ON"
+
"-DMUJOCO_PYTHON_USE_SYSTEM_PYBIND11=ON"
+
];
preConfigure =
-
# Use system packages for pybind
-
''
-
${perl}/bin/perl -0777 -i -pe "s/(findorfetch\(.{3}USE_SYSTEM_PACKAGE.{3})(OFF)(.{3}PACKAGE_NAME.{3}pybind11.*\))/\1ON\3/gms" mujoco/CMakeLists.txt
-
'' +
# Use non-system eigen3, lodepng, abseil: Remove mirror info and prefill
# dependency directory. $build from setuptools.
(let
+2 -2
pkgs/development/python-modules/pglast/default.nix
···
buildPythonPackage rec {
pname = "pglast";
-
version = "5.5";
+
version = "5.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-yz6Q+Vt7ZuT9NaxuQQA+BH7U6Efaim7No6GJmnOQo1o=";
+
hash = "sha256-WHFc8rXzdcRrp1U6tAuepQYagFYo8+0WQr8783w/Ql8=";
};
propagatedBuildInputs = [
+3 -3
pkgs/development/tools/kubedock/default.nix
···
buildGoModule rec {
pname = "kubedock";
-
version = "0.14.1";
+
version = "0.15.0";
src = fetchFromGitHub {
owner = "joyrex2001";
repo = "kubedock";
rev = version;
-
hash = "sha256-xjt/RqvkOHTSTZwNgxmlUeYndPW9jwUE1knLyNXDxaE=";
+
hash = "sha256-UCoQm/lg8QRwsK2riJyHmCLg+Ash8Pg+6Va1RVemdt0=";
};
-
vendorHash = "sha256-4X4v40c4J5SPwj53Zk+j+A9k0RkHGwqz128E+FnLr1c=";
+
vendorHash = "sha256-mkzj+8c1MJgPHohSjSj7OW+xoYvI9Qoj3cXJ1iRDeWc=";
# config.Build not defined as it would break r-ryantm
ldflags = [
+43 -37
pkgs/development/tools/language-servers/millet/Cargo.lock
···
[[package]]
name = "analysis"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"config",
"diagnostic",
···
[[package]]
name = "chain-map"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"str-util",
···
[[package]]
name = "cm-syntax"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"lex-util",
"paths",
···
[[package]]
name = "config"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"serde",
···
[[package]]
name = "cov-mark"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"once_cell",
···
[[package]]
name = "input"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"cm-syntax",
"config",
···
[[package]]
name = "lang-srv"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"analysis",
"anyhow",
···
[[package]]
name = "lex-util"
-
version = "0.14.0"
+
version = "0.14.2"
[[package]]
name = "libc"
···
[[package]]
name = "millet-cli"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"analysis",
"codespan-reporting",
···
[[package]]
name = "millet-ls"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"anyhow",
"env_logger",
···
[[package]]
name = "mlb-hir"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"paths",
···
[[package]]
name = "mlb-statics"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"config",
"diagnostic",
···
[[package]]
name = "mlb-syntax"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"lex-util",
"paths",
···
[[package]]
name = "panic-hook"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"better-panic",
]
···
[[package]]
name = "slash-var-path"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"str-util",
···
[[package]]
name = "sml-comment"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"sml-syntax",
]
[[package]]
name = "sml-dynamics"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"fmt-util",
···
[[package]]
name = "sml-dynamics-tests"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"config",
"pretty_assertions",
···
[[package]]
name = "sml-file"
-
version = "0.14.0"
+
version = "0.14.2"
[[package]]
name = "sml-file-syntax"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"config",
"elapsed",
···
[[package]]
name = "sml-fixity"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"once_cell",
···
[[package]]
name = "sml-hir"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"la-arena",
"sml-lab",
···
[[package]]
name = "sml-hir-lower"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"config",
"cov-mark",
···
"sml-path",
"sml-syntax",
"str-util",
+
"text-size-util",
[[package]]
name = "sml-lab"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"str-util",
[[package]]
name = "sml-lex"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"cov-mark",
"diagnostic",
"lex-util",
"sml-syntax",
+
"text-size-util",
+
"token",
[[package]]
···
[[package]]
name = "sml-naive-fmt"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"sml-comment",
"sml-syntax",
+
"text-size-util",
[[package]]
name = "sml-namespace"
-
version = "0.14.0"
+
version = "0.14.2"
[[package]]
name = "sml-parse"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"diagnostic",
"event-parse",
···
"sml-fixity",
"sml-syntax",
"str-util",
+
"text-size-util",
+
"token",
[[package]]
name = "sml-path"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"str-util",
[[package]]
name = "sml-scon"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"num-bigint",
"num-traits",
···
[[package]]
name = "sml-statics"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"chain-map",
"config",
···
[[package]]
name = "sml-statics-types"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"chain-map",
"code-h2-md-map",
···
[[package]]
name = "sml-symbol-kind"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"sml-namespace",
"sml-statics-types",
···
[[package]]
name = "sml-syntax"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"code-h2-md-map",
"fast-hash",
···
[[package]]
name = "sml-ty-var-scope"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"fast-hash",
"sml-hir",
···
[[package]]
name = "tests"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"analysis",
"cm-syntax",
···
[[package]]
name = "xtask"
-
version = "0.14.0"
+
version = "0.14.2"
dependencies = [
"anyhow",
"flate2",
+2 -2
pkgs/development/tools/language-servers/millet/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "millet";
-
version = "0.14.0";
+
version = "0.14.2";
src = fetchFromGitHub {
owner = "azdavis";
repo = pname;
rev = "v${version}";
-
hash = "sha256-dTYnJofXzpkfXfS4RoJHqXEMlPKW5w1z+X39rL+VoQE=";
+
hash = "sha256-UtdkflM9ftmSVQI4CF0PAlLlbQ9l0EHF5SzJL4sU08Q=";
};
cargoLock = {
+3 -3
pkgs/development/tools/language-servers/neocmakelsp/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
-
version = "0.6.11";
+
version = "0.6.17";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
-
hash = "sha256-ZLZGPigZSrW2C909Kc8t0U3+5sWRGkhT820fl+k37x4=";
+
hash = "sha256-0Rc5oPm6BAjPmoRHUO3gVivbQt2p2y62VbT5NIzHtpI=";
};
-
cargoHash = "sha256-dONoaLX2nlnJIjnRPSgQ5oHWqWw632nSpoWUOiU0w58=";
+
cargoHash = "sha256-7ifdmW9JBjz0jxpltn5gFa60oNsB4daA6cXCLnBne7o=";
meta = with lib; {
description = "A cmake lsp based on tower-lsp and treesitter";
+2 -2
pkgs/development/tools/misc/saleae-logic-2/default.nix
···
{ lib, fetchurl, makeDesktopItem, appimageTools }:
let
name = "saleae-logic-2";
-
version = "2.4.12";
+
version = "2.4.13";
src = fetchurl {
url = "https://downloads.saleae.com/logic2/Logic-${version}-linux-x64.AppImage";
-
hash = "sha256-QqGtozLZtrS5UgnLmsKWxqbcTykLhlossVxuN4WNYzo=";
+
hash = "sha256-0GIZQKQDY3arDUlxjQKWOHDB3j76xVwkx5H+8q+d0Rc=";
};
desktopItem = makeDesktopItem {
inherit name;
+2 -2
pkgs/development/tools/mod/default.nix
···
buildGoModule rec {
pname = "mod";
-
version = "0.7.0";
+
version = "0.7.1";
src = fetchFromGitHub {
owner = "marwan-at-work";
repo = "mod";
rev = "v${version}";
-
sha256 = "sha256-ZFAjiTCmx9o/rUa1vK1Fmz6sE695zzlexTyWJO05M6k=";
+
sha256 = "sha256-QkLARUN/NiN0D6VEhosdFJSce6DP+sWRWFwAEocZaOQ=";
};
vendorHash = "sha256-5A4W99wcuXMWH0s+uykBWuKCxo8wr3GbTpUKj+Ql0os=";
+12 -2
pkgs/development/tools/parsing/antlr/4.nix
···
mkAntlr = {
version, sourceSha256, jarSha256,
extraCppBuildInputs ? [],
-
extraCppCmakeFlags ? []
+
extraCppCmakeFlags ? [],
+
extraPatches ? [ ]
}: rec {
source = fetchFromGitHub {
owner = "antlr";
···
pname = "antlr-runtime-cpp";
inherit version;
src = source;
-
sourceRoot = "${source.name}/runtime/Cpp";
+
+
patches = extraPatches;
outputs = [ "out" "dev" "doc" ];
···
lib.optional stdenv.isDarwin CoreFoundation ++
extraCppBuildInputs;
+
cmakeDir = "../runtime/Cpp";
+
cmakeFlags = extraCppCmakeFlags;
meta = with lib; {
···
jarSha256 = "0dnz2x54kigc58bxnynjhmr5iq49f938vj6p50gdir1xdna41kdg";
extraCppBuildInputs = [ utf8cpp ]
++ lib.optional stdenv.isLinux libuuid;
+
extraCppCmakeFlags = [
+
"-DCMAKE_CXX_FLAGS='-I${lib.getDev utf8cpp}/include/utf8cpp'"
+
];
+
extraPatches = [
+
./utf8cpp.patch
+
];
}).antlr;
antlr4_8 = (mkAntlr {
+15
pkgs/development/tools/parsing/antlr/utf8cpp.patch
···
+
diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt
+
index c8b16c6cf..e8da7960d 100644
+
--- a/runtime/Cpp/runtime/CMakeLists.txt
+
+++ b/runtime/Cpp/runtime/CMakeLists.txt
+
@@ -40,8 +40,8 @@ find_package(utf8cpp QUIET)
+
set(INSTALL_utf8cpp FALSE)
+
+
if (utf8cpp_FOUND)
+
- target_link_libraries(antlr4_shared utf8cpp)
+
- target_link_libraries(antlr4_static utf8cpp)
+
+ target_link_libraries(antlr4_shared utf8cpp::utf8cpp)
+
+ target_link_libraries(antlr4_static utf8cpp::utf8cpp)
+
else()
+
+
# older utf8cpp doesn't define the package above
+3 -3
pkgs/development/tools/rust/cargo-hack/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "cargo-hack";
-
version = "0.6.14";
+
version = "0.6.15";
src = fetchCrate {
inherit pname version;
-
hash = "sha256-RWYCESNNrB4eZGHGbbXAZJ+NhrRY5rImoAG7OFRPHZ0=";
+
hash = "sha256-yjaX4lqUj9aZPkRuiJC3yBwXvfvd+Okr87Ia2IQvxfM=";
};
-
cargoHash = "sha256-YRNIFNiFPK7/RgdUSDA+UPJ9wooyqi32+pzshW+ajSU=";
+
cargoHash = "sha256-6ogeqVN2V38N7mNBjimjNv/KK2JtV4aa5AorRfYMBx8=";
# some necessary files are absent in the crate version
doCheck = false;
+5 -5
pkgs/development/web/bun/default.nix
···
}:
stdenvNoCC.mkDerivation rec {
-
version = "1.0.17";
+
version = "1.0.18";
pname = "bun";
src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
···
sources = {
"aarch64-darwin" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip";
-
hash = "sha256-0zZJ3GYYwJOv3/CmvUHYI1GdJXf3/7ujGpEf+dn/tlI=";
+
hash = "sha256-z3C6V8jG/et+CizWHHx6zN56JBe4QBhEKbDQgx67dmc=";
};
"aarch64-linux" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip";
-
hash = "sha256-lscEZki4sMHFAeZJwBTksdBUXOmZ6EEu1YFoedBr5bs=";
+
hash = "sha256-xnFN1Kiaerot6ieMqf5fvyq826vE4KpM57r/7wz4C7o=";
};
"x86_64-darwin" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip";
-
hash = "sha256-wY0d8JiBtfSZ8xQQjhwdSs4PPtjZp7JnxQf9cSp2T3Q=";
+
hash = "sha256-cNfTiMSdeCINchtRtAA1Lv4vVmrxwhLQNUe+96UFYp4=";
};
"x86_64-linux" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip";
-
hash = "sha256-JvzOC/2JxA7K7J0+2l+Bq0FVSrt7llZNE/wkM58nMXY=";
+
hash = "sha256-qwqgaU3zYiuer4tI4JiSsZd94IO6xn+dSjJZkM70WP4=";
};
};
updateScript = writeShellScript "update-bun" ''
+11 -2
pkgs/games/vvvvvv/default.nix
···
rev = version;
sha256 = "sha256-sLNO4vkmlirsqJmCV9YWpyNnIiigU1KMls7rOgWgSmQ=";
};
-
sourceRoot = "${src.name}/desktop_version";
+
+
patches = [
+
./utf8cpp.patch
+
];
+
dataZip = fetchurl {
url = "https://thelettervsixtim.es/makeandplay/data.zip";
name = "data.zip";
···
# Help CMake find SDL_mixer.h
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2_mixer}/include/SDL2";
-
cmakeFlags = [ "-DBUNDLE_DEPENDENCIES=OFF" ] ++ lib.optional makeAndPlay "-DMAKEANDPLAY=ON";
+
cmakeDir = "../desktop_version";
+
+
cmakeFlags = [
+
"-DBUNDLE_DEPENDENCIES=OFF"
+
"-DCMAKE_CXX_FLAGS='-I${lib.getDev utf8cpp}/include/utf8cpp'"
+
] ++ lib.optional makeAndPlay "-DMAKEANDPLAY=ON";
desktopItems = [
(makeDesktopItem {
+13
pkgs/games/vvvvvv/utf8cpp.patch
···
+
diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt
+
index 7405c122..68ba40e3 100644
+
--- a/desktop_version/CMakeLists.txt
+
+++ b/desktop_version/CMakeLists.txt
+
@@ -296,7 +296,7 @@ if(BUNDLE_DEPENDENCIES)
+
else()
+
find_package(utf8cpp CONFIG)
+
+
- target_link_libraries(VVVVVV physfs tinyxml2 utf8cpp lodepng-static)
+
+ target_link_libraries(VVVVVV physfs tinyxml2 utf8cpp::utf8cpp lodepng-static)
+
endif()
+
+
# SDL2 Dependency (Detection pulled from FAudio)
+4 -4
pkgs/servers/lidarr/default.nix
···
x86_64-darwin = "x64";
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
hash = {
-
x64-linux_hash = "sha256-qiI6+uiDBwY+UkqWyYqySfdOilJ87GyAojY6a5NrHNY=";
-
arm64-linux_hash = "sha256-CXbZjVIF8JL+bOzUvnaDzpDn+DK9D1g6HnmdvEDR/S8=";
-
x64-osx_hash = "sha256-t58xYrootKjavdyZp37KByyQa0CwSkl+DLxZuGYV9qs=";
+
x64-linux_hash = "sha256-TqwVWV3kfBTqGYf6PT9H0E9YiG/AfLWEViKocVrhZuU=";
+
arm64-linux_hash = "sha256-aCaUZgnk4rnhEV3hDVZx1Bfz+PteefGeGvEdoKXGxxg=";
+
x64-osx_hash = "sha256-4O3H2gsH2Q3V9xY1fIMzkaU0qSEg3CF89chnrMdCmdk=";
}."${arch}-${os}_hash";
in stdenv.mkDerivation rec {
pname = "lidarr";
-
version = "1.4.5.3639";
+
version = "2.0.7.3849";
src = fetchurl {
url = "https://github.com/lidarr/Lidarr/releases/download/v${version}/Lidarr.master.${version}.${os}-core-${arch}.tar.gz";
+1 -1
pkgs/servers/lidarr/update.sh
···
sed -i "s/version = \"[0-9.]*\";/version = \"$1\";/g" "$dirname/default.nix"
}
-
currentVersion=$(cd $dirname && nix eval --raw -f ../../.. radarr.version)
+
currentVersion=$(cd $dirname && nix eval --raw -f ../../.. lidarr.version)
latestTag=$(curl https://api.github.com/repos/Lidarr/Lidarr/releases/latest | jq -r ".tag_name")
latestVersion="$(expr $latestTag : 'v\(.*\)')"
+3 -3
pkgs/servers/mautrix-whatsapp/default.nix
···
buildGoModule rec {
pname = "mautrix-whatsapp";
-
version = "0.10.4";
+
version = "0.10.5";
src = fetchFromGitHub {
owner = "mautrix";
repo = "whatsapp";
rev = "v${version}";
-
hash = "sha256-uouxOXvVbUNRHM83JearPhMTZQtMPEBfWvsVb7QJSO8=";
+
hash = "sha256-bn9nUTtpaEkzF2SEdCcKG27WQDL7xsgfgA/72wElQqA=";
};
buildInputs = [ olm ];
-
vendorHash = "sha256-dgaI/gpngCcVRVK8SK6ac1hmc7/aYLJCnW2CCYRDXy0=";
+
vendorHash = "sha256-PDUSjza+0SDanQwKYQRuLzsiA/sHjRnG0xpzlzhkm+U=";
doCheck = false;
+4 -3
pkgs/servers/misc/navidrome/default.nix
···
{ buildGoModule
+
, buildPackages
, fetchFromGitHub
, fetchNpmDeps
, lib
···
buildGoModule rec {
pname = "navidrome";
-
version = "0.50.1";
+
version = "0.50.2";
src = fetchFromGitHub {
owner = "navidrome";
repo = "navidrome";
rev = "v${version}";
-
hash = "sha256-mbjc5fznJZmZrY1Rd+57ABN55Hyzg1XqZR/qwtesRIg=";
+
hash = "sha256-SZ9wVOHtmkrWfYGA0hNCXag2Yp17glOQpBsEQRK6Npg=";
};
vendorHash = "sha256-PKj2zJhGR1yETLZ4as35cuwil3vfyFKfkKF/32YdAt8=";
···
};
nativeBuildInputs = [
-
makeWrapper
+
buildPackages.makeWrapper
nodejs
npmHooks.npmConfigHook
pkg-config
+10 -8
pkgs/servers/mqtt/mosquitto/default.nix
···
, openssl
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
+
, uthash
, fetchpatch
, nixosTests
}:
···
substituteInPlace man/$f.xsl \
--replace http://docbook.sourceforge.net/release/xsl/current ${docbook_xsl}/share/xml/docbook-xsl
done
-
-
# the manpages are not generated when using cmake
-
pushd man
-
make
-
popd
'';
outputs = [ "out" "dev" "lib" ];
···
libuv
libwebsockets'
openssl
+
uthash
] ++ lib.optional withSystemd systemd;
cmakeFlags = [
-
"-DWITH_THREADING=ON"
-
"-DWITH_WEBSOCKETS=ON"
-
] ++ lib.optional withSystemd "-DWITH_SYSTEMD=ON";
+
(lib.cmakeBool "WITH_BUNDLED_DEPS" false)
+
(lib.cmakeBool "WITH_WEBSOCKETS" true)
+
(lib.cmakeBool "WITH_SYSTEMD" withSystemd)
+
];
+
+
postFixup = ''
+
sed -i "s|^prefix=.*|prefix=$lib|g" $dev/lib/pkgconfig/*.pc
+
'';
passthru.tests = {
inherit (nixosTests) mosquitto;
+3 -3
pkgs/servers/oxigraph/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "oxigraph";
-
version = "0.3.21";
+
version = "0.3.22";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-SjAsSWpjNK4XxbYEw6A8n+hchVyzJd0bx1rAqchmw4w=";
+
sha256 = "sha256-zwUiUDWdrmLF+Qj9Jy6JGXHaBskRnm+pMKW2GKGGeN8=";
fetchSubmodules = true;
};
-
cargoHash = "sha256-fDU7RF9TArSQFb6DP/Ltu9Fls2rzhXeBI/jVh5QuKUI=";
+
cargoHash = "sha256-O9/YvvFOaZ1F7HYO/AplWLz1vw0hysJEvGketk8zb9w=";
nativeBuildInputs = [
rustPlatform.bindgenHook
+4 -4
pkgs/servers/web-apps/matomo/default.nix
···
let
versions = {
matomo = {
-
version = "4.15.1";
-
hash = "sha256-XnfiprGLqFQqPk30gcAVLdBZ3pYMSdBPfnicm7V1PSc=";
+
version = "4.16.0";
+
hash = "sha256-OFZT4195WTWw2XNAyGiNixW6hSNKC3IyBpa5kM9PCVk=";
};
matomo-beta = {
version = "5.0.0";
# `beta` examples: "b1", "rc1", null
# when updating: use null if stable version is >= latest beta or release candidate
-
beta = "rc3";
-
hash = "sha256-Q5GB4i0ew6+tr8Bsm9PYkzJ8U6DmVPwG2QCi8CTge5E=";
+
beta = "rc9";
+
hash = "sha256-OXxJCEXcrl6UXYh+jbNqLQGYphrSjxaOAZg3AZVPAqs=";
};
};
common = pname: { version, hash, beta ? null }:
+2 -2
pkgs/tools/archivers/peazip/default.nix
···
stdenv.mkDerivation rec {
pname = "peazip";
-
version = "9.4.0";
+
version = "9.6.0";
src = fetchFromGitHub {
owner = "peazip";
repo = pname;
rev = version;
-
hash = "sha256-to5VhuTomw33WRWrtSIMF/SD+KVXsUKmSrJ84BNatqw=";
+
hash = "sha256-75EkVRx6bX1ZZzeNSR7IvKNjTA5NvzFzUJdORiAVHBo=";
};
sourceRoot = "${src.name}/peazip-sources";
+6 -6
pkgs/tools/audio/soco-cli/default.nix pkgs/by-name/so/soco-cli/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "soco-cli";
-
version = "0.4.55";
+
version = "0.4.73";
format = "setuptools";
disabled = python3.pythonOlder "3.6";
-
src = fetchFromGitHub rec {
+
src = fetchFromGitHub {
owner = "avantrec";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-zdu1eVtVBTYa47KjGc5fqKN6olxp98RoLGT2sNCfG9E=";
+
hash = "sha256-WxBwHjh5tCXclQXqrHrpvZdcQU93RObteAfZyyVvKf0=";
};
propagatedBuildInputs = with python3.pkgs; [
···
"soco_cli"
];
-
meta = with lib; {
+
meta = {
description = "Command-line interface to control Sonos sound systems";
homepage = "https://github.com/avantrec/soco-cli";
-
license = with licenses; [ asl20 ];
-
maintainers = with maintainers; [ fab ];
+
license = with lib.licenses; [ asl20 ];
mainProgram = "sonos";
+
maintainers = with lib.maintainers; [ fab ];
};
}
+2 -2
pkgs/tools/filesystems/mount-zip/default.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "mount-zip";
-
version = "1.0.11";
+
version = "1.0.12";
src = fetchFromGitHub {
owner = "google";
repo = "mount-zip";
rev = "v${finalAttrs.version}";
-
hash = "sha256-67GaZdmDuUc8ixeRP86xA/+n1PRqwwIEe7JK9OZGUC8=";
+
hash = "sha256-bsuGEgCrU7Gxd9oAiI39AYT9aiXufrI9CniTCfa6LCY=";
};
nativeBuildInputs = [ boost gcc icu pandoc pkg-config ];
+3 -3
pkgs/tools/misc/mutagen-compose/default.nix
···
buildGoModule rec {
pname = "mutagen-compose";
-
version = "0.17.2";
+
version = "0.17.4";
src = fetchFromGitHub {
owner = "mutagen-io";
repo = pname;
rev = "v${version}";
-
hash = "sha256-FEUVRDGVYYpgNSOSSR9hyUyz9mP8B8qWy3MnTtuE3fQ=";
+
hash = "sha256-arvDV1AlhrXfndoXGd7jn6O9ZAc1+7hq30QpYPLhpJw=";
};
-
vendorHash = "sha256-u4vRQjqBSsugEcBzteV7yOTizbXGpCH+M/zAvdWusK0=";
+
vendorHash = "sha256-wqenEPTRsZvQscXv+/eVEFVk8Fd1/Aj3QcBSZzpkmGA=";
doCheck = false;
+3 -3
pkgs/tools/nix/nixdoc/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "nixdoc";
-
version = "2.6.0";
+
version = "2.7.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nixdoc";
rev = "v${version}";
-
sha256 = "sha256-g1PBPpvK3kg0bJEDXsifVgcl3+v54q08Ae3nZ4cJ+Xs=";
+
sha256 = "sha256-0cyKI8KHFsMXYca3hzbqxmBpxGdhl4/i183kfUQr8pg=";
};
-
cargoHash = "sha256-E5SJfwGfy1DcLC0cF/5FTbVEJs/WYb2KO+OdOo2fgQk=";
+
cargoHash = "sha256-9dqjNExxLDgVsu14yDQOJP1qxKy2ACiUH+pbX77iT70=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.Security ];
+3 -3
pkgs/tools/package-management/apx/default.nix
···
buildGoModule rec {
pname = "apx";
-
version = "2.0.0";
+
version = "2.1.0";
src = fetchFromGitHub {
owner = "Vanilla-OS";
repo = pname;
rev = "v${version}";
-
hash = "sha256-3CelqEntpfld0n+Ewg7NCkowVjgCf5b6StfSkYbgV5k=";
+
hash = "sha256-spxZgc1krs8AhOhAZmqGj/yiXzMUefcFFKg/xFpdWj8=";
};
vendorHash = null;
···
postPatch = ''
substituteInPlace config/apx.json \
-
--replace "/usr/share/apx/distrobox" "${distrobox}/bin/distrobox" \
+
--replace "/usr/share/apx/distrobox/distrobox" "${distrobox}/bin/distrobox" \
--replace "/usr/share/apx" "$out/bin/apx"
substituteInPlace settings/config.go \
--replace "/usr/share/apx/" "$out/share/apx/"
+3 -3
pkgs/tools/security/nmap-formatter/default.nix
···
buildGoModule rec {
pname = "nmap-formatter";
-
version = "2.1.4";
+
version = "2.1.6";
src = fetchFromGitHub {
owner = "vdjagilev";
repo = pname;
rev = "v${version}";
-
hash = "sha256-M0IV7pgJyCxwfWRnJeMevFFsvaXTRfjXoGRsMngt7Pk=";
+
hash = "sha256-40ix4D/f63Q5cqVmBvpSmbK2KNXiYLdv/xXBNPJXfac=";
};
-
vendorHash = "sha256-Wx07tSHr5LKPdO3BQ3tGMxzxYP9jBnH3JQ8/yrvwX1U=";
+
vendorHash = "sha256-OUhvQwC7EJF7CIM7NHCs0TqRTZHTiDupkfYREPaxpXo=";
meta = with lib; {
description = "Tool that allows you to convert nmap output";
+6 -2
pkgs/top-level/all-packages.nix
···
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
-
soco-cli = callPackage ../tools/audio/soco-cli { };
-
sofia_sip = callPackage ../development/libraries/sofia-sip {
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
···
tut = callPackage ../applications/misc/tut { };
+
+
tuxclocker = libsForQt5.callPackage ../applications/misc/tuxclocker {
+
tuxclocker-plugins = tuxclocker-plugins-with-unfree;
+
};
+
+
tuxclocker-without-unfree = libsForQt5.callPackage ../applications/misc/tuxclocker { };
tuxedo-rs = callPackage ../os-specific/linux/tuxedo-rs { };
+2
pkgs/top-level/python-packages.nix
···
inherit (self) buildPythonPackage pythonOlder pythonAtLeast pyface pygments numpy packaging vtk traitsui envisage apptools pyqt5;
};
+
mayim = callPackage ../development/python-modules/mayim { };
+
mbddns = callPackage ../development/python-modules/mbddns { };
mbstrdecoder = callPackage ../development/python-modules/mbstrdecoder { };