Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-01-22 06:01:17 +00:00 committed by GitHub
commit f363b57fc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 142 additions and 66 deletions

2
.github/CODEOWNERS vendored
View File

@ -51,7 +51,7 @@
/pkgs/build-support/setup-hooks/auto-patchelf.py @layus
/pkgs/pkgs-lib @infinisil
## Format generators/serializers
/pkgs/pkgs-lib/formats/libconfig @ckiee
/pkgs/pkgs-lib/formats/libconfig @ckiee @h7x4
# pkgs/by-name
/pkgs/test/nixpkgs-check-by-name @infinisil

View File

@ -18,6 +18,13 @@ in
<http://bird.network.cz/>
'';
};
autoReload = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
Whether bird2 should be automatically reloaded when the configuration changes.
'';
};
checkConfig = mkOption {
type = types.bool;
default = true;
@ -68,7 +75,7 @@ in
systemd.services.bird2 = {
description = "BIRD Internet Routing Daemon";
wantedBy = [ "multi-user.target" ];
reloadTriggers = [ config.environment.etc."bird/bird2.conf".source ];
reloadTriggers = lib.optional cfg.autoReload config.environment.etc."bird/bird2.conf".source;
serviceConfig = {
Type = "forking";
Restart = "on-failure";

View File

@ -21,13 +21,13 @@
}:
let
version = "2.3.3";
version = "2.4.0";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
rev = "refs/tags/v${version}";
hash = "sha256-2XnOap37ZQjT0qx2ygxXo7n1HJcIEoc5TrMI1JIk4G8=";
hash = "sha256-bIiUG5yLpKOoxByef2Wm7MmSoL5zAYE9x6/zZywG9aE=";
};
python = python3;
@ -52,7 +52,7 @@ let
cd src-ui
'';
npmDepsHash = "sha256-BFfbRrpF8p0AfEdl/KDWWG7qN+F9edvTW3j9jgvLIrc=";
npmDepsHash = "sha256-4PIslsmbcET/kKLZ/gijwEyBB9zgZR6vMU9h9enzScE=";
nativeBuildInputs = [
pkg-config

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "cvs-fast-export";
version = "1.62";
version = "1.63";
src = fetchurl {
url = "http://www.catb.org/~esr/cvs-fast-export/cvs-fast-export-${version}.tar.gz";
sha256 = "sha256-ix0fg2wn2yStrgEhAxsSXvLu+C7sb2V5oyVCfhAe/R8=";
sha256 = "sha256-YZF2QebWbvn/N9pLpccudZsFHzocJp/3M0Gx9p7fQ5Y=";
};
strictDeps = true;

View File

@ -7,10 +7,10 @@
stdenv.mkDerivation rec {
pname = "bilibili";
version = "1.12.5-2";
version = "1.13.0-2";
src = fetchurl {
url = "https://github.com/msojocs/bilibili-linux/releases/download/v${version}/io.github.msojocs.bilibili_${version}_amd64.deb";
hash = "sha256-oaQvJQVHXm7I+3rjt0DPMwGOXLhwgJP6wWu2bhaA1s4=";
hash = "sha256-svTD8YZBFj0K9/3ggojiH+8cMRkCxHr/hHTC24NL2tE=";
};
unpackPhase = ''

View File

@ -0,0 +1,62 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, exiv2
, flex
, libewf
, libxml2
, openssl
, tre
, zlib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bulk_extractor";
version = "2.0.6";
src = fetchFromGitHub {
owner = "simsong";
repo = "bulk_extractor";
rev = "v${finalAttrs.version}";
hash = "sha256-LNdRN4pEA0rVEyKiBKGJgTKA4veVvsuP3ufiolHTk/s=";
fetchSubmodules = true;
};
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
exiv2
flex
libewf
libxml2
openssl
tre
zlib
];
meta = with lib; {
description = "A digital forensics tool for extracting information from file systems";
longDescription = ''
bulk_extractor is a C++ program that scans a disk image, a file, or a
directory of files and extracts useful information without parsing
the file system or file system structures. The results are stored in
feature files that can be easily inspected, parsed, or processed with
automated tools.
'';
mainProgram = "bulk_extractor";
homepage = "https://github.com/simsong/bulk_extractor";
downloadPage = "http://downloads.digitalcorpora.org/downloads/bulk_extractor/";
changelog = "https://github.com/simsong/bulk_extractor/blob/${finalAttrs.src.rev}/ChangeLog";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = with platforms; unix ++ windows;
license = with licenses; [
mit
cpl10
gpl3Only
lgpl21Only
lgpl3Only
licenses.openssl
];
};
})

View File

@ -19,6 +19,9 @@
, nodePackages
, speechd
, withTTS ? true
# Enables the use of vencord from nixpkgs instead of
# letting vesktop manage it's own version
, withSystemVencord ? true
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vesktop";
@ -86,9 +89,8 @@ stdenv.mkDerivation (finalAttrs: {
];
patches = [
(substituteAll { inherit vencord; src = ./use_system_vencord.patch; })
./disable_update_checking.patch
];
] ++ lib.optional withSystemVencord (substituteAll { inherit vencord; src = ./use_system_vencord.patch; });
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;

View File

@ -1,4 +1,4 @@
import ./generic.nix {
version = "1.35.0";
sha256 = "sha256-bilpk3BsdsCT5gkTmqCz+HBDVfoPN1b2dY141EIm36A=";
version = "1.36.0";
sha256 = "sha256-oAx5BzEjqIfBf0Rsd4KklVajUSo9Natna31Trhu41u8=";
}

View File

@ -1,5 +1,5 @@
{ version, sha256 }:
{ lib, stdenv, fetchurl, cmake, ninja, llvm_16, curl, tzdata
{ lib, stdenv, fetchurl, cmake, ninja, llvm_17, curl, tzdata
, libconfig, lit, gdb, unzip, darwin, bash
, callPackage, makeWrapper, runCommand, targetPackages
, ldcBootstrap ? callPackage ./bootstrap.nix { }
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [
cmake ldcBootstrap lit lit.python llvm_16.dev makeWrapper ninja unzip
cmake ldcBootstrap lit lit.python llvm_17.dev makeWrapper ninja unzip
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Foundation

View File

@ -6,20 +6,20 @@
}:
stdenv.mkDerivation (finalAttrs: {
version = "1.5.3";
version = "1.5.4";
pname = "nanoflann";
src = fetchFromGitHub {
owner = "jlblancoc";
repo = "nanoflann";
rev = "v${finalAttrs.version}";
hash = "sha256-cTi3Q+SUSNQkSgi2K7nPqfqEQFMkbchbn2+pE2ol9xQ=";
hash = "sha256-7Vt/x9jHRqtVTv0MbHxIwd1/cTUB4aIgOiI+7cz0iu0=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_EXAMPLES=${if buildExamples then "ON" else "OFF"}"
(lib.cmakeBool "BUILD_EXAMPLES" buildExamples)
];
doCheck = true;

View File

@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "google-cloud-asset";
version = "3.22.0";
version = "3.23.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-S+rJ80pkphkPlNFUn8e0bxpnkBILRS9Uvoa0vlfrK8M=";
hash = "sha256-ILg5PCstA6KwOsQZYkkE8xvFAbs6na24uUx8B5T7w1M=";
};
nativeBuildInputs = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "google-cloud-runtimeconfig";
version = "0.33.3";
version = "0.34.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-4sv5wua03gLd9YqwdD8P/VaKv4LcacB42fK5hUAt2vQ=";
hash = "sha256-hyxvTChxCGC6YjjvYGqaJDvgBbve7EjzfPELl+LB2D8=";
};
propagatedBuildInputs = [

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "hvac";
version = "2.0.0";
version = "2.1.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-alHLmg0i/hPoJMsLChzi7qy5zmr2i30bZoniXsG+yvU=";
hash = "sha256-tIvNoRpKsKe2xHIyx7p8h/2jGK4tSnZigAxGWnh0KJQ=";
};
nativeBuildInputs = [

View File

@ -1,42 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, oldest-supported-numpy
, setuptools-scm
, wheel
, pythonOlder
, gsl
, numpy
, newick
, tskit
, demes
, pytestCheckHook
, fetchPypi
, gsl
, newick
, numpy
, oldest-supported-numpy
, pytest-xdist
, pytestCheckHook
, pythonOlder
, scipy
, setuptools-scm
, tskit
, wheel
}:
buildPythonPackage rec {
pname = "msprime";
version = "1.2.0";
format = "pyproject";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-YAJa2f0w2CenKubnYLbP8HodDhabLB2hAkyw/CPkp6o=";
hash = "sha256-eYjGHvlJXDZ+gu/J+52AI8PbKiB6ZEXUORlTrzxCbCk=";
};
patches = [
# upstream patch fixes 2 failing unittests. remove on update
(fetchpatch {
name = "python311.patch";
url = "https://github.com/tskit-dev/msprime/commit/639125ec942cb898cf4a80638f229e11ce393fbc.patch";
hash = "sha256-peli4tdu8Bv21xIa5H8SRdfjQnTMO72IPFqybmSBSO8=";
includes = [ "tests/test_ancestry.py" ];
})
];
nativeBuildInputs = [
gsl
oldest-supported-numpy
@ -60,10 +50,12 @@ buildPythonPackage rec {
pytest-xdist
scipy
];
disabledTests = [
"tests/test_ancestry.py::TestSimulator::test_debug_logging"
"tests/test_ancestry.py::TestSimulator::test_debug_logging_dtw"
];
disabledTestPaths = [
"tests/test_demography.py"
"tests/test_algorithms.py"
@ -86,6 +78,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Simulate genealogical trees and genomic sequence data using population genetic models";
homepage = "https://github.com/tskit-dev/msprime";
changelog = "https://github.com/tskit-dev/msprime/blob/${version}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ alxsimon ];
};

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "ytmusicapi";
version = "1.4.2";
version = "1.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "sigma67";
repo = "ytmusicapi";
rev = "refs/tags/${version}";
hash = "sha256-Ho8JEARmw9Pd7A/sYM6Fkp3gfYx4bXbFIvh9pSE7f5c=";
hash = "sha256-TlTCW9KeW9O00FzDiH8BXW/3795hsEUW1VXUy5qOk3w=";
};
nativeBuildInputs = [

View File

@ -20,10 +20,18 @@ stdenv.mkDerivation rec {
hash = "sha256-scaFkUhCkIi41iR6CGPbEndzXkgqTKMb3PDNvhgVbCE=";
};
patches = fetchpatch {
patches = [ (fetchpatch {
url = "https://github.com/NASA-SW-VnV/ikos/commit/2e647432427b3f0dbb639e0371d976ab6406f290.patch";
hash = "sha256-ffzjlqEp4qp76Kwl5zpyQlg/xUMt8aLDSSP4XA4ndS8=";
};
})
# Fix build with GCC 13
# https://github.com/NASA-SW-VnV/ikos/pull/262
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/NASA-SW-VnV/ikos/commit/73c816641fb9780f0d3b5e448510363a3cf21ce2.patch";
hash = "sha256-bkeSAtxrL+z+6QNiGOWSg7kN8XiZqMxlJiu5Dquhca0=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [ boost tbb gmp clang llvm sqlite python

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "editorconfig-checker";
version = "2.7.2";
version = "2.8.0";
src = fetchFromGitHub {
owner = "editorconfig-checker";
repo = "editorconfig-checker";
rev = version;
hash = "sha256-ktZeBj5feJMf4XR4hybKdNrNCIrQD6KPetZffAZjwqI=";
hash = "sha256-CVstdtFPt/OlvJE27O+CqqDpUqp9bQl18IGyf8nputM=";
};
vendorHash = "sha256-dhvRZ+AYSmSzHsf3yOYBSvZbw7dfwQiILu+VSUX8N3s=";
vendorHash = "sha256-t2h9jtGfips+cpN1ckVhVgpg4egIYVXd89ahyDzV060=";
doCheck = false;

View File

@ -13,11 +13,11 @@
rustPlatform.buildRustPackage rec {
pname = "duckscript_cli";
version = "0.9.2";
version = "0.9.3";
src = fetchCrate {
inherit pname version;
hash = "sha256-qvocz/7Fx2YkgPcOYQha5iHQmoU40joGamj/SMiYx+4=";
hash = "sha256-2ouEmI7BH9J+PEN7l3rE8nmd0Khe2Bjq1Bg9SgGnB4E=";
};
nativeBuildInputs = [ pkg-config ];
@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ];
cargoHash = "sha256-SW3Q/+EhdMNLbhGQPpiIXuJv3ttyeCpjjvbVCrJzXlY=";
cargoHash = "sha256-bBqcHETEWooMgQeqPOZIK/77DdTtGq1JusBKoRj5K6w=";
meta = with lib; {
description = "Simple, extendable and embeddable scripting language.";

View File

@ -10,14 +10,14 @@
stdenv.mkDerivation rec {
pname = "snac2";
version = "2.44";
version = "2.45";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "grunfink";
repo = pname;
rev = version;
hash = "sha256-0bsXL6b41CchWrNZhQyPsj3JEjCLLdaOIi07icF6roQ=";
hash = "sha256-zSmzG/Ws7/6rXBNqAtKqnWcsPA9jy/TidXlklwGhArc=";
};
buildInputs = [ curl openssl ];

View File

@ -5,18 +5,18 @@
buildGoModule rec {
pname = "cnquery";
version = "9.13.0";
version = "9.14.0";
src = fetchFromGitHub {
owner = "mondoohq";
repo = "cnquery";
rev = "v${version}";
hash = "sha256-jJayS4zGnbQBY/Z7rk4Xx0nHjCdAYCDs/FDYPVBxcqE=";
hash = "sha256-/Lawxl+jMJKSOKi5yxc+d7Gro69rLCB7nyYPmLtNGoU=";
};
subPackages = [ "apps/cnquery" ];
vendorHash = "sha256-AHVmvmTn2MlL+aVBUQs4PA3k8w9/QQRD57DvSpSq09I=";
vendorHash = "sha256-T7pD88v2sF7w/t5O+sekn1oy/uvA6LytYptLXrd+X4c=";
meta = with lib; {
description = "cloud-native, graph-based asset inventory";

View File

@ -5,16 +5,20 @@
python3.pkgs.buildPythonApplication rec {
pname = "faraday-cli";
version = "2.1.9";
format = "setuptools";
version = "2.1.10";
pyproject = true;
src = fetchFromGitHub {
owner = "infobyte";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-8D1oYYqf0R41DPYtorcvykZ99p6P6Diwe7PgEN378pU=";
hash = "sha256-7Yg2m0xHpBPZ58gJodSYO8vXaxSlr4GK1Lin63WozOE=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
arrow
click