Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-11-02 12:01:08 +00:00 committed by GitHub
commit 677e25fcd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 5191 additions and 5315 deletions

View File

@ -3,8 +3,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
let let
# This is copied into the installer image, so it's important that it is filtered # This is copied into the installer image, so it's important that it is filtered
# to avoid including a large .git directory. # to avoid including a large .git directory.
@ -27,38 +25,40 @@ let
if [ ! -e $out/nixos/nixpkgs ]; then if [ ! -e $out/nixos/nixpkgs ]; then
ln -s . $out/nixos/nixpkgs ln -s . $out/nixos/nixpkgs
fi fi
${optionalString (config.system.nixos.revision != null) '' ${lib.optionalString (config.system.nixos.revision != null) ''
echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision
''} ''}
echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision
''; '';
in in
{ {
# Pin the nixpkgs flake in the installer to our cleaned up nixpkgs source. options.system.installer.channel.enable = (lib.mkEnableOption "bundling NixOS/Nixpkgs channel in the installer") // { default = true; };
# FIXME: this might be surprising and is really only needed for offline installations, config = lib.mkIf config.system.installer.channel.enable {
# see discussion in https://github.com/NixOS/nixpkgs/pull/204178#issuecomment-1336289021 # Pin the nixpkgs flake in the installer to our cleaned up nixpkgs source.
nix.registry.nixpkgs.to = { # FIXME: this might be surprising and is really only needed for offline installations,
type = "path"; # see discussion in https://github.com/NixOS/nixpkgs/pull/204178#issuecomment-1336289021
path = "${channelSources}/nixos"; nix.registry.nixpkgs.to = {
}; type = "path";
path = "${channelSources}/nixos";
};
# Provide the NixOS/Nixpkgs sources in /etc/nixos. This is required # Provide the NixOS/Nixpkgs sources in /etc/nixos. This is required
# for nixos-install. # for nixos-install.
boot.postBootCommands = mkAfter boot.postBootCommands = lib.mkAfter
'' ''
if ! [ -e /var/lib/nixos/did-channel-init ]; then if ! [ -e /var/lib/nixos/did-channel-init ]; then
echo "unpacking the NixOS/Nixpkgs sources..." echo "unpacking the NixOS/Nixpkgs sources..."
mkdir -p /nix/var/nix/profiles/per-user/root mkdir -p /nix/var/nix/profiles/per-user/root
${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/per-user/root/channels \ ${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/per-user/root/channels \
-i ${channelSources} --quiet --option build-use-substitutes false \ -i ${channelSources} --quiet --option build-use-substitutes false \
${optionalString config.boot.initrd.systemd.enable "--option sandbox false"} # There's an issue with pivot_root ${lib.optionalString config.boot.initrd.systemd.enable "--option sandbox false"} # There's an issue with pivot_root
mkdir -m 0700 -p /root/.nix-defexpr mkdir -m 0700 -p /root/.nix-defexpr
ln -s /nix/var/nix/profiles/per-user/root/channels /root/.nix-defexpr/channels ln -s /nix/var/nix/profiles/per-user/root/channels /root/.nix-defexpr/channels
mkdir -m 0755 -p /var/lib/nixos mkdir -m 0755 -p /var/lib/nixos
touch /var/lib/nixos/did-channel-init touch /var/lib/nixos/did-channel-init
fi fi
''; '';
};
} }

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pocket-casts"; pname = "pocket-casts";
version = "0.6.0"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "felicianotech"; owner = "felicianotech";
repo = "pocket-casts-desktop-app"; repo = "pocket-casts-desktop-app";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-WMv2G4b7kYnWy0pz8YyI2eTdefs1mtWau+HQLiRygjE="; sha256 = "sha256-d4uVeHy4/91Ki6Wk6GlOt2lcK6U+M7fOryiOYA7q/x4=";
}; };
desktopItems = [ desktopItems = [

View File

@ -15,12 +15,12 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mkgmap"; pname = "mkgmap";
version = "4914"; version = "4916";
src = fetchsvn { src = fetchsvn {
url = "https://svn.mkgmap.org.uk/mkgmap/mkgmap/trunk"; url = "https://svn.mkgmap.org.uk/mkgmap/mkgmap/trunk";
rev = version; rev = version;
sha256 = "sha256-aA5jGW6GTo2OvFZ/uPA4KpS+SjNB/tRGwgj1oM7zywU="; sha256 = "sha256-Ok6s1DaTZBcYtkHA7WAxjGz0HycvFqBpkwZIirc+dFU=";
}; };
patches = [ patches = [

View File

@ -1,14 +1,14 @@
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }: { branch ? "stable", callPackage, fetchurl, lib, stdenv }:
let let
versions = if stdenv.isLinux then { versions = if stdenv.isLinux then {
stable = "0.0.32"; stable = "0.0.33";
ptb = "0.0.51"; ptb = "0.0.53";
canary = "0.0.171"; canary = "0.0.173";
development = "0.0.1"; development = "0.0.1";
} else { } else {
stable = "0.0.281"; stable = "0.0.282";
ptb = "0.0.82"; ptb = "0.0.84";
canary = "0.0.320"; canary = "0.0.329";
development = "0.0.2"; development = "0.0.2";
}; };
version = versions.${branch}; version = versions.${branch};
@ -16,15 +16,15 @@ let
x86_64-linux = { x86_64-linux = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
hash = "sha256-XeGDKRKnvDyl0AWm9Vs/PDeIfAq/FL9AsjLt+dNg1HQ="; hash = "sha256-UVgufPNIS7fa3VDzjCWwgK3xxmqNivq461qWLgirClc=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
hash = "sha256-VlvGZ5qy61zse0mhvrROYwr0C94Zy1Kh4D4dp+sJTN0="; hash = "sha256-g2NhwkfNi5Yf+n9vHq/MJ0kylPF3MPocgF/zYfCvoZM=";
}; };
canary = fetchurl { canary = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
hash = "sha256-NcmV+DPI5hfNdBUgoaOLsjG32QfjF+x7f01B6PR10Vc="; hash = "sha256-YFjGUAaZMy1JhtKhAqLbfYTKQSgS9TKWqR078cERNUI=";
}; };
development = fetchurl { development = fetchurl {
url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";
@ -34,15 +34,15 @@ let
x86_64-darwin = { x86_64-darwin = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg";
hash = "sha256-Qxh9K0u99xfsVPJyAD3bFeZPxBXg2EeDyM+rbF80EC8="; hash = "sha256-3WeC+4W9+tpXNXqETorQfnE1HZWCqRkBqW0JM7whRCw=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
hash = "sha256-U99FiR3IUL8saGtVrWblWqsCIJc0rK5ZMII9/BL5H7w="; hash = "sha256-e2gvjXUw0Yx8UY6utg1SdX8/buewuVYPl5I8fS3QtrI=";
}; };
canary = fetchurl { canary = fetchurl {
url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg";
hash = "sha256-7fPlb4x116HIXEJr1G7wVHriOQu6/2u69SpbU9qxHNw="; hash = "sha256-B4LPFts+sx8GpZp9iRbwapUYrK4c9unH+mAoODGqDgU=";
}; };
development = fetchurl { development = fetchurl {
url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg"; url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg";

View File

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-xwin"; pname = "cargo-xwin";
version = "0.14.8"; version = "0.14.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-cross"; owner = "rust-cross";
repo = "cargo-xwin"; repo = "cargo-xwin";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-VhpqmGhGBqB20ZteIwbd0GCIUltBGfBw7XF9lH7witA="; hash = "sha256-y2hlzewDWYxkKhr77JB3lkYo5hexcdmPiCRbXLtnolM=";
}; };
cargoHash = "sha256-e5QyaiQKlIzBwJE781BrhdVINacw0iniPywIsoMlCGg="; cargoHash = "sha256-uIFjWgoNCU5kUX4i1Law/YE0TmFLOi6V3Y4b9BpQlI4=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security

View File

@ -17,16 +17,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "eza"; pname = "eza";
version = "0.15.1"; version = "0.15.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "eza-community"; owner = "eza-community";
repo = "eza"; repo = "eza";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-GovkmMjxHWP9nl0z1LwQrIgT6TkMaYY1wEwAABAYNK0="; hash = "sha256-bEuzA67bBueHgKTpj+CsX7fZMc9RMV4cc7KOVqJfT7M=";
}; };
cargoHash = "sha256-7mhGAXfrHfOKdcnCPtYNbNGRVCfVHni80zEAUATPRLk="; cargoHash = "sha256-JL31KVZrKPNlJzB3tyLheXZ3qVcm0HtAVuccehGkM0c=";
nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ];
buildInputs = [ zlib ] buildInputs = [ zlib ]

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, buildNpmPackage
, fetchFromGitHub
, python3
, darwin
, libsecret
, pkg-config
}:
let
version = "0.0.14";
in
buildNpmPackage {
pname = "tailwindcss-language-server";
inherit version;
src = fetchFromGitHub {
owner = "tailwindlabs";
repo = "tailwindcss-intellisense";
rev = "@tailwindcss/language-server@v${version}";
hash = "sha256-EE1Gd0cmcJmyleoXVNtMJ8IKYpQIzRf2F42HOORHbwo=";
};
makeCacheWritable = true;
npmDepsHash = "sha256-gQgGIo/cS0P1B5lSmNpd8WOgucf3RbRk1YOvMXNbxb0=";
npmWorkspace = "packages/tailwindcss-language-server";
buildInputs = [ libsecret ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security AppKit ]);
nativeBuildInputs = [ python3 pkg-config ];
meta = with lib; {
description = "Intelligent Tailwind CSS tooling for Visual Studio Code";
homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense";
license = licenses.mit;
maintainers = with maintainers; [ happysalada];
mainProgram = "tailwindcss-language-server";
platforms = platforms.all;
};
}

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl, pkg-config { lib, stdenv, fetchurl, pkg-config
, systemd ? null , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,12 +13,12 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ systemd ]; buildInputs = lib.optionals withSystemd [ systemd ];
configureFlags = [ configureFlags = [
"--enable-rfc3195" "--enable-rfc3195"
"--enable-stdlog" "--enable-stdlog"
(if systemd != null then "--enable-journal" else "--disable-journal") (if withSystemd then "--enable-journal" else "--disable-journal")
"--enable-man-pages" "--enable-man-pages"
]; ];

File diff suppressed because it is too large Load Diff

View File

@ -1,26 +1,46 @@
{ lib, fetchPypi, buildPythonPackage { lib
, agate, openpyxl, xlrd, olefile, pytestCheckHook , fetchPypi
, buildPythonPackage
, agate
, openpyxl
, xlrd
, olefile
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "agate-excel"; pname = "agate-excel";
version = "0.2.5"; version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "62315708433108772f7f610ca769996b468a4ead380076dbaf6ffe262831b153"; hash = "sha256-IfrbPmQnGh4OMEiWJl16UUfI6X/UWj/p6J2+3Y2DzuM=";
}; };
propagatedBuildInputs = [ agate openpyxl xlrd olefile ]; propagatedBuildInputs = [
agate
openpyxl
xlrd
olefile
];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "agate" ]; pythonImportsCheck = [
"agate"
];
meta = with lib; { meta = with lib; {
description = "Adds read support for excel files to agate"; description = "Adds read support for excel files to agate";
homepage = "https://github.com/wireservice/agate-excel"; homepage = "https://github.com/wireservice/agate-excel";
license = licenses.mit; changelog = "https://github.com/wireservice/agate-excel/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ]; maintainers = with maintainers; [ vrthra ];
}; };
} }

View File

@ -6,20 +6,24 @@
, pylsqpack , pylsqpack
, pyopenssl , pyopenssl
, pytestCheckHook , pytestCheckHook
, pythonOlder
, service-identity
, setuptools , setuptools
, wheel , wheel
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioquic-mitmproxy"; pname = "aioquic-mitmproxy";
version = "0.9.20.3"; version = "0.9.21.1";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "meitinger"; owner = "meitinger";
repo = "aioquic_mitmproxy"; repo = "aioquic_mitmproxy";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-VcIbtrcA0dBEE52ZD90IbXoh6L3wDUbr2kFJikts6+w="; hash = "sha256-eD3eICE9jS1jyqMgWwcv6w3gkR0EyGcKwgSXhasXNeA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,6 +36,7 @@ buildPythonPackage rec {
cryptography cryptography
pylsqpack pylsqpack
pyopenssl pyopenssl
service-identity
]; ];
nativeCheckInputs = [ nativeCheckInputs = [

View File

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiosmb"; pname = "aiosmb";
version = "0.4.9"; version = "0.4.10";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ELB0VeowRbd8yZ0m28KeRY3IcCEL+wmOxiqaZhYXHdk="; hash = "sha256-uN5lbhuPt9axp2ZTTxDgHuDRwlQjXANEkGPgQJL1o90=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiowaqi"; pname = "aiowaqi";
version = "2.1.0"; version = "3.0.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "joostlek"; owner = "joostlek";
repo = "python-waqi"; repo = "python-waqi";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-wwpktevEh/ukb9ByV660BePyqYU49/W+lIcgXuEBcuQ="; hash = "sha256-FHpZVY7TFjk+2YNBejEwSdYWK41V9bti1JxpWivemw4=";
}; };
postPatch = '' postPatch = ''

View File

@ -1,27 +1,37 @@
{ lib { lib
, absl-py
, buildPythonPackage , buildPythonPackage
, etils , pythonOlder
, fetchPypi
, importlib-resources
, python , python
, fetchPypi
, absl-py
, etils
, importlib-resources
, typing-extensions , typing-extensions
, zipp , zipp
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "array-record"; pname = "array-record";
version = "0.4.1"; version = "0.5.0";
format = "wheel"; format = "wheel";
disabled = python.pythonVersion != "3.10"; # As of 2023-10-31, PyPI includes wheels for Python 3.9, 3.10, and 3.11.
disabled = pythonOlder "3.9";
src = fetchPypi { src = let
pyShortVersion = "cp${builtins.replaceStrings ["."] [""] python.pythonVersion}";
in fetchPypi {
inherit version format; inherit version format;
pname = "array_record"; pname = "array_record";
dist = "py310"; dist = pyShortVersion;
python = "py310"; python = pyShortVersion;
hash = "sha256-agyO1v36ryzs09XGucE+EWrTKZZJYRyP0YTWRVf7q6g="; abi = pyShortVersion;
platform = "manylinux_2_17_x86_64.manylinux2014_x86_64";
hash = {
cp39 = "sha256-BzMOVue7E1S1+5+XTcPELko81ujc9MbmqLhNsU7pqO0=";
cp310 = "sha256-eUD9pQu9GsbV8MPD1MiF3Ihr+zYioSOo6P15hYIwPYo=";
cp311 = "sha256-rAmkI3EIZPYiXrxFowfDC0Gf3kRw0uX0i6Kx6Zu+hNM=";
}.${pyShortVersion};
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aw-core"; pname = "aw-core";
version = "0.5.15"; version = "0.5.16";
format = "pyproject"; format = "pyproject";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "ActivityWatch"; owner = "ActivityWatch";
repo = "aw-core"; repo = "aw-core";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-3cz79gSkmbGtCKnLGA4HGG5dLu7QB4ZtMnNGrSYB17U="; sha256 = "sha256-7xT7bOGzH5G4WpgNo8pDyiQqX0dWNLNHpgssozUa9kQ=";
}; };
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";

View File

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "awscrt"; pname = "awscrt";
version = "0.19.3"; version = "0.19.7";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-UMIzuGZBff/7szG3CuO3oHZOfY4WcYqW9mUAGFBWLvA="; hash = "sha256-t/LwioUTZ0fNrJUlx83HG1ytmLW64gH6W17Gd2UXets=";
}; };
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [

View File

@ -1,30 +1,29 @@
{ lib { lib
, buildPythonPackage
, fetchPypi
, msrest
, azure-common , azure-common
, azure-mgmt-core , azure-mgmt-core
, buildPythonPackage
, fetchPypi
, isodate
, pythonOlder , pythonOlder
, typing-extensions , typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-search"; pname = "azure-mgmt-search";
version = "9.0.0"; version = "9.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; hash = "sha256-U7xu6tsJdNIfEguyG7Xmgn321lDhc0dGD9g+LWiINZk=";
hash = "sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
azure-common azure-common
azure-mgmt-core azure-mgmt-core
msrest isodate
] ++ lib.optionals (pythonOlder "3.8") [ ] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions typing-extensions
]; ];
@ -39,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "This is the Microsoft Azure Search Management Client Library"; description = "This is the Microsoft Azure Search Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python"; homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-search_${version}/sdk/search/azure-mgmt-search/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ maxwilson ]; maintainers = with maintainers; [ maxwilson ];
}; };

View File

@ -3,24 +3,29 @@
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
, simpleeval , simpleeval
, wcmatch , wcmatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "casbin"; pname = "casbin";
version = "1.32.0"; version = "1.33.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = "casbin";
repo = "pycasbin"; repo = "pycasbin";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-voabnGdtYci6rV5aLSdEAD3sWEva1tjJSm0EwpjdTj8="; hash = "sha256-/0yYU33zMtC6Pjm4yyQNavMDoI+5uC2zZci5IL/EY7Q=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
simpleeval simpleeval
wcmatch wcmatch

View File

@ -2,28 +2,40 @@
, aiohttp , aiohttp
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, hatchling
, pythonOlder , pythonOlder
, voluptuous
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "evohome-async"; pname = "evohome-async";
version = "0.3.15"; version = "0.4.3";
disabled = pythonOlder "3.7"; pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zxdavb"; owner = "zxdavb";
repo = pname; repo = "evohome-async";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-/dZRlcTcea26FEpw/XDItKh4ncr/eEFQcdfIE2KIMo8="; hash = "sha256-GDrDOwB/cgry3eRNx8IMiBoLu5xLTnG5ByuuwnWA7DY=";
}; };
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
voluptuous
]; ];
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "evohomeasync2" ];
pythonImportsCheck = [
"evohomeasync2"
];
meta = with lib; { meta = with lib; {
description = "Python client for connecting to Honeywell's TCC RESTful API"; description = "Python client for connecting to Honeywell's TCC RESTful API";

View File

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hahomematic"; pname = "hahomematic";
version = "2023.10.14"; version = "2023.11.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "danielperna84"; owner = "danielperna84";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-P3JDXoxDfolgHN4dgHJqojWbWb88vbvgYhYv2B/myKY="; hash = "sha256-QslmtmS7zrc0Vbq4XEzbx1XaeL0SuhNjyT3OPlCCf04=";
}; };
postPatch = '' postPatch = ''

View File

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "py-nextbusnext"; pname = "py-nextbusnext";
version = "1.0.0"; version = "1.0.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ViViDboarder"; owner = "ViViDboarder";
repo = "py_nextbus"; repo = "py_nextbus";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-044VDg7bQNNnRGiPZW9gwo3Bzq0LPYKTrd3EgmBOcGA="; hash = "sha256-iJPbRhXgA1AIkyf3zGZ9tuFAw8h6oyBbh7Ln/y72fyQ=";
}; };
nativeCheckInputs = [ nativeCheckInputs = [

View File

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysigma"; pname = "pysigma";
version = "0.10.5"; version = "0.10.6";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "SigmaHQ"; owner = "SigmaHQ";
repo = "pySigma"; repo = "pySigma";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-iiE6XHj5632sBlivUHz7HiNRjNpEh+OMqcJ65o2km6I="; hash = "sha256-CmIhNZraDawiiKg6WuHUVRMwXSVEizg1KEv7o2ZP1Hc=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -8,16 +8,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-fsutil"; pname = "python-fsutil";
version = "0.10.0"; version = "0.11.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fabiocaccamo"; owner = "fabiocaccamo";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-bHnCa7laDYi424czCGCPZuomqEOAeihjDTTW35ZTiac="; hash = "sha256-8d/cjD7dcA4/bKZtQUjgUPVgfZdjl+ibOFRpC9dyybA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -9,16 +9,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "moon"; pname = "moon";
version = "1.15.0"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "moonrepo"; owner = "moonrepo";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-qFfCYgnCSePbE/YSMP3Ib1X/wTZQvTI0k7A+KNL6q0g="; hash = "sha256-FPhUGFumbO28rPWNDTrUNqMx0ppbotp9z6u8cCEHu/g=";
}; };
cargoHash = "sha256-DpNaAuorbpguSPneuWw0DVZQF+QbXOCW6VWwtfYVqkw="; cargoHash = "sha256-hak0xMV6MSqM88bNY+2C5B5YlRWlZ+dDYu50pYEDsmI=";
env = { env = {
RUSTFLAGS = "-C strip=symbols"; RUSTFLAGS = "-C strip=symbols";

View File

@ -9,16 +9,16 @@
buildGoModule rec { buildGoModule rec {
pname = "minify"; pname = "minify";
version = "2.20.1"; version = "2.20.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tdewolff"; owner = "tdewolff";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-NcvgY3Aw3v8JpVc3Sfe2mFi6FFCojnUlhORgOElIaiM="; hash = "sha256-+oaK6OdBRxtWW+0zp+pbCcGyphuOLzyv/LfjDqDiTGw=";
}; };
vendorHash = "sha256-oTdHfvLGekcdppn9w1gZ18CY0vuuf9z6GsNUHncDFFs="; vendorHash = "sha256-GQqdr0zMQhi6QfLAyFchtWPOGfpo5yODDinKWA/s+qs=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -4,16 +4,16 @@ let
# comments with variant added for update script # comments with variant added for update script
# ./update-zen.py zen # ./update-zen.py zen
zenVariant = { zenVariant = {
version = "6.5.9"; #zen version = "6.6"; #zen
suffix = "zen2"; #zen suffix = "zen1"; #zen
sha256 = "07dxxs4bz4d6bahymzjzg42ic09wkvd8ynwvv9z19zjh6mk70vr2"; #zen sha256 = "0rda54h5lg2llbwkj2h4mqfshjyha1dzlcwhx099is7g2lfzksxx"; #zen
isLqx = false; isLqx = false;
}; };
# ./update-zen.py lqx # ./update-zen.py lqx
lqxVariant = { lqxVariant = {
version = "6.5.9"; #lqx version = "6.5.9"; #lqx
suffix = "lqx1"; #lqx suffix = "lqx2"; #lqx
sha256 = "0z5mfcblwqzsw2d98npv1aa32bni46xmsvwc1ijad1c54iimsk9a"; #lqx sha256 = "12l6z4bgrx5pf4fpcqsnzascr7f43cg1vwpayhgcwd7zimlbz1mg"; #lqx
isLqx = true; isLqx = true;
}; };
zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // { zenKernelsFor = { version, suffix, sha256, isLqx }: buildLinux (args // {

View File

@ -0,0 +1,38 @@
From 592de67191a3969fcccef6293740c7142793d461 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Wed, 1 Nov 2023 21:54:05 +0100
Subject: [PATCH] skip installing example configuration
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This requires root if prefix dir is pointed to /etc,
which we cannot do in nix builds.
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
---
meson.build | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meson.build b/meson.build
index 5f5935f..8373013 100644
--- a/meson.build
+++ b/meson.build
@@ -114,10 +114,10 @@ else
runstatedir = rundir
endif
-install_data(
- sources: 'ksmbd.conf.example',
- install_dir: get_option('sysconfdir') / 'ksmbd',
-)
+#install_data(
+# sources: 'ksmbd.conf.example',
+# install_dir: get_option('sysconfdir') / 'ksmbd',
+#)
systemdsystemunitdir = get_option('systemdsystemunitdir')
if systemdsystemunitdir == ''
--
2.42.0

View File

@ -1,8 +1,8 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, autoconf , meson
, automake , ninja
, glib , glib
, libkrb5 , libkrb5
, libnl , libnl
@ -13,22 +13,23 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ksmbd-tools"; pname = "ksmbd-tools";
version = "3.4.9"; version = "3.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cifsd-team"; owner = "cifsd-team";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-GZccOlp9zZMqtv3+u8JnKFfIe8sjwbZBLkDk8lt3CGk="; sha256 = "sha256-8mjfKCazigHnuN7Egf11ZuD+nQx7ZTesn0a4LsVvV/M=";
}; };
buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5; buildInputs = [ glib libnl ] ++ lib.optional withKerberos libkrb5;
nativeBuildInputs = [ autoconf automake libtool pkg-config ]; nativeBuildInputs = [ meson ninja libtool pkg-config ];
patches = [ ./0001-skip-installing-example-configuration.patch ];
preConfigure = "./autogen.sh"; mesonFlags = [
"-Drundir=/run"
configureFlags = lib.optional withKerberos "--enable-krb5"; "--sysconfdir /etc"
];
meta = with lib; { meta = with lib; {
description = "Userspace utilities for the ksmbd kernel SMB server"; description = "Userspace utilities for the ksmbd kernel SMB server";

View File

@ -15,11 +15,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lighttpd"; pname = "lighttpd";
version = "1.4.72"; version = "1.4.73";
src = fetchurl { src = fetchurl {
url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz"; url = "https://download.lighttpd.net/lighttpd/releases-${lib.versions.majorMinor version}.x/${pname}-${version}.tar.xz";
sha256 = "sha256-98reTWm3VKB0jAFGPDPNi0VsqcwDuwnoWnG8vNVOVew="; sha256 = "sha256-gYgW0LMUsKqHKKcHZRNDX21esifzthMjRo4fENvoTKg=";
}; };
postPatch = '' postPatch = ''

View File

@ -7,14 +7,14 @@
beamPackages.mixRelease rec { beamPackages.mixRelease rec {
pname = "pleroma"; pname = "pleroma";
version = "2.5.5"; version = "2.6.0";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "git.pleroma.social"; domain = "git.pleroma.social";
owner = "pleroma"; owner = "pleroma";
repo = "pleroma"; repo = "pleroma";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-9gD39eHIQEd59UNlz/Sw7V7ekBvk/pHETfo8HzfdQDQ="; sha256 = "sha256-VFyFQ3c4EEbQAj3bUgjWbmpCyugcpfz0phgBz0ZUB/Q=";
}; };
patches = [ patches = [
@ -26,17 +26,6 @@ beamPackages.mixRelease rec {
overrides = final: prev: { overrides = final: prev: {
# mix2nix does not support git dependencies yet, # mix2nix does not support git dependencies yet,
# so we need to add them manually # so we need to add them manually
gettext = beamPackages.buildMix rec {
name = "gettext";
version = "0.19.1";
src = fetchFromGitHub {
owner = "tusooa";
repo = "gettext";
rev = "72fb2496b6c5280ed911bdc3756890e7f38a4808";
sha256 = "sha256-V0qmE+LcAbVoWsJmWE4fwrduYFIZ5BzK/sGzgLY3eH0=";
};
};
prometheus_ex = beamPackages.buildMix rec { prometheus_ex = beamPackages.buildMix rec {
name = "prometheus_ex"; name = "prometheus_ex";
version = "3.0.5"; version = "3.0.5";

File diff suppressed because it is too large Load Diff

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "littlefs-fuse"; pname = "littlefs-fuse";
version = "2.7.2"; version = "2.7.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "littlefs-project"; owner = "littlefs-project";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ybaZbAomrIaEdYfQtbZirkozRarEUxjsf6hgTMu5uIY="; hash = "sha256-8TrCAByblff2Vkk0MvnIYyAMoFW3s3fm3rLXrEjWoys=";
}; };
buildInputs = [ fuse ]; buildInputs = [ fuse ];
installPhase = '' installPhase = ''

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "exploitdb"; pname = "exploitdb";
version = "2023-11-01"; version = "2023-11-02";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "exploit-database"; owner = "exploit-database";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-nejoCvmhxkCkF1UpRTHioP2g0jaegNpAzAZbX9s/6cE="; hash = "sha256-7j2HIYEYs1OcB919S3lLGYNsJzbkE3jIqq2MNCHG3lY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "xsubfind3r"; pname = "xsubfind3r";
version = "0.3.0"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hueristiq"; owner = "hueristiq";
repo = "xsubfind3r"; repo = "xsubfind3r";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-DY9/qcE8Ryue6NEWglM1F+xd669DPBIgt743ta+O//4="; hash = "sha256-Xlxn9IZ9TTDzkEkyBoBwrS9AdQX21mmHngm03w+c4UM=";
}; };
vendorHash = "sha256-dFjyeIiDGdGTlZoZvsW9cwb+urS0NRxBMFf3+Y+rsAE="; vendorHash = "sha256-DkYQkuhBAYnGx9gxi2X/Coh0FYV+z5/4IX1zTfUM6uI=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -6254,7 +6254,7 @@ with pkgs;
pn = callPackage ../tools/text/pn { }; pn = callPackage ../tools/text/pn { };
pocket-casts = callPackage ../applications/audio/pocket-casts { pocket-casts = callPackage ../applications/audio/pocket-casts {
electron = electron_22; electron = electron_27;
}; };
portal = callPackage ../tools/misc/portal { }; portal = callPackage ../tools/misc/portal { };