Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-10-17 18:01:04 +00:00 committed by GitHub
commit 14b83b5e05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 450 additions and 29 deletions

View file

@ -14432,6 +14432,12 @@
githubId = 1332289;
name = "Quentin Machu";
};
quinn-dougherty = {
email = "quinnd@riseup.net";
github = "quinn-dougherty";
githubId = 39039420;
name = "Quinn Dougherty";
};
qyliss = {
email = "hi@alyssa.is";
github = "alyssais";
@ -16377,6 +16383,16 @@
fingerprint = "E067 520F 5EF2 C175 3F60 50C0 BA46 725F 6A26 7442";
}];
};
soispha = {
name = "Soispha";
email = "soispha@vhack.eu";
matrix = "@soispha:vhack.eu";
github = "soispha";
githubId = 132207423;
keys = [{
fingerprint = "9606 FC74 9FCE 1636 0723 D4AD A5E9 4010 C3A6 42AD";
}];
};
solson = {
email = "scott@solson.me";
matrix = "@solson:matrix.org";

View file

@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "nomacs";
version = "3.17.2285";
version = "3.17.2287";
src = fetchFromGitHub {
owner = "nomacs";
repo = "nomacs";
rev = version;
hash = "sha256-/K7LRPwNy2PG7tIGD0tiKnEOPZ491lxFRlgf4xWYtxs=";
hash = "sha256-OwiMB6O4+WuAt87sRbD1Qby3U7igqgCgddiWs3a4j3k=";
};
setSourceRoot = ''

View file

@ -86,11 +86,11 @@ let
in
stdenv.mkDerivation rec {
pname = "appgate-sdp";
version = "6.2.2";
version = "6.2.3";
src = fetchurl {
url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb";
sha256 = "sha256-5xbwBCLTlZ0cE273n3ErykZSEr59dZjQWhVTK91W9a4=";
sha256 = "sha256-W6P83+DPd2VRz52UKPJp+D1WcjgDwyXYcx6rViHbmlk=";
};
# just patch interpreter

View file

@ -10,15 +10,15 @@
}:
let
thunderbird-unwrapped = thunderbirdPackages.thunderbird-102;
thunderbird-unwrapped = thunderbirdPackages.thunderbird-115;
version = "102.15.1";
version = "115.3.2";
majVer = lib.versions.major version;
betterbird-patches = fetchFromGitHub {
owner = "Betterbird";
repo = "thunderbird-patches";
rev = "${version}-bb41";
rev = "${version}-bb15";
postFetch = ''
echo "Retrieving external patches"
@ -36,7 +36,7 @@ let
. ./external.sh
rm external.sh
'';
hash = "sha256-fP763ec4B8LbivzmYHzQ4j39QMxWrymqI8chXfF3KX8=";
hash = "sha256-6alAGEid7ipr01I52TB0xrlLroCIc03N2IagGJq8te8=";
};
in ((buildMozillaMach {
pname = "betterbird";
@ -49,7 +49,7 @@ in ((buildMozillaMach {
src = fetchurl {
# https://download.cdn.mozilla.net/pub/thunderbird/releases/
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
hash = "sha256-og1Tu7PAHOqGs02jkHU291BCGuKDy1J+72v4Gsu4oDg=";
hash = "sha256-kn35avKqUdMix8VJrKJjSWViMLe/WnnxNasPpM7/cdM=";
};
extraPostPatch = thunderbird-unwrapped.extraPostPatch or "" + /* bash */ ''
@ -57,8 +57,6 @@ in ((buildMozillaMach {
patches=$(mktemp -d)
for dir in branding bugs external features misc; do
cp -r ${betterbird-patches}/${majVer}/$dir/*.patch $patches/
# files is not in series file and duplicated with external patch
[[ $dir == bugs ]] && rm $patches/1820504-optimise-grapheme-m-c.patch
done
cp ${betterbird-patches}/${majVer}/series* $patches/
chmod -R +w $patches

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "nvc";
version = "1.10.3";
version = "1.10.4";
src = fetchFromGitHub {
owner = "nickg";
repo = "nvc";
rev = "r${version}";
hash = "sha256-0KLya2B+gs7aoOvkQdHuJuQtCHLUeSYATToBfIDhm/c=";
hash = "sha256-f4VjSBoJnsGb8MHKegJDlomPG32DuTgFcyv1w0GxKvA=";
};
nativeBuildInputs = [

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "git-quick-stats";
version = "2.5.0";
version = "2.5.1";
src = fetchFromGitHub {
repo = "git-quick-stats";
owner = "arzzen";
rev = version;
sha256 = "sha256-zUw0rjsYdH4mlqKXADvfqWCBM8tCL6BmVHq27JZLpd0=";
sha256 = "sha256-IIvpUKJxeJYKmTSzEEMZPV6JElt6Ww/Whx3ytNcha7k=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -0,0 +1,59 @@
{ lib
, python3
, fetchFromGitHub
, postgresql
, postgresqlTestHook
,
}:
python3.pkgs.buildPythonApplication rec {
pname = "migra";
version = "3.0.1647431138";
format = "pyproject";
src = fetchFromGitHub {
owner = "djrobstep";
repo = pname;
rev = version;
hash = "sha256-LSCJA5Ym1LuV3EZl6gnl9jTHGc8A1LXmR1fj0ZZc+po=";
};
nativeBuildInputs = [
python3.pkgs.poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
schemainspect
six
sqlbag
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
postgresql
postgresqlTestHook
];
preCheck = ''
export PGUSER="nixbld";
'';
disabledTests = [
# These all fail with "List argument must consist only of tuples or dictionaries":
# See this issue: https://github.com/djrobstep/migra/issues/232
"test_excludeschema"
"test_fixtures"
"test_rls"
"test_singleschema"
];
pytestFlagsArray = [
"-x"
"-svv"
"tests"
];
meta = with lib; {
description = "Like diff but for PostgreSQL schemas";
homepage = "https://github.com/djrobstep/migra";
license = with licenses; [ unlicense ];
maintainers = with maintainers; [ soispha ];
};
}

View file

@ -0,0 +1,50 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, writeShellApplication
, curl
, coreutils
, jq
}:
let
tusc = stdenvNoCC.mkDerivation (finalAttrs: {
pname = "tusc-sh";
version = "1.0.2";
src = fetchFromGitHub {
owner = "adhocore";
repo = "tusc.sh";
rev = finalAttrs.version;
hash = "sha256-RFgQMYit12pmWnEAE1cyl34SFW87xEbS7gq5Nyel/ss=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm755 tusc.sh -t $out/bin
runHook postInstall
'';
});
in
writeShellApplication {
name = "tusc";
runtimeInputs = [ tusc curl coreutils jq ];
text = ''
tusc.sh "$@"
'';
meta = with lib; {
description = "Tus 1.0.0 client protocol implementation for bash";
homepage = "https://github.com/adhocore/tusc.sh";
changelog = "https://github.com/adhocore/tusc.sh/blob/${tusc.version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
mainProgram = "tusc";
platforms = platforms.all;
};
}

View file

@ -64,6 +64,12 @@ python3Packages.buildPythonApplication rec {
# Disable check because there is no test in the source distribution
doCheck = false;
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = gitUpdater { rev-prefix = "${pname}-"; };
meta = with lib; {

View file

@ -7,12 +7,14 @@ mkCoqDerivation {
owner = "arthuraa";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = range "8.11" "8.18"; out = "0.1.1"; }
defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [
{ cases = [(range "8.17" "8.18") (isGe "2.0.0")] ; out = "0.2.0"; }
{ cases = [(range "8.11" "8.18") (isLe "2.0.0")] ; out = "0.1.1"; }
] null;
releaseRev = v: "v${v}";
release."0.2.0".sha256 = "sha256-xPsuEayHstjF0PGFJZJ+5cm0oMUrpoGLXN23op97vjM=";
release."0.1.1".sha256 = "sha256-Gu8aInLxTXfAFE0/gWRYI046Dx3Gv1j1+gx92v/UnPI=";
release."0.1.0".sha256 = "sha256:11crnjm8hyis1qllkks3d7r07s1rfzwvyvpijya3s6iqfh8c7xwh";

View file

@ -0,0 +1,20 @@
{ lib, mkCoqDerivation, coq, interval, compcert, flocq, bignums, version ? null }:
with lib; mkCoqDerivation {
pname = "vcfloat";
owner = "VeriNum";
inherit version;
defaultVersion = with versions; switch coq.coq-version [
{ case = range "8.16" "8.17"; out = "2.1.1"; }
] null;
release."2.1.1".sha256 = "sha256-bd/XSQhyFUAnSm2bhZEZBWB6l4/Ptlm9JrWu6w9BOpw=";
releaseRev = v: "v${v}";
propagatedBuildInputs = [ interval compcert flocq bignums ];
meta = {
description = "A tool for Coq proofs about floating-point round-off error";
maintainers = with maintainers; [ quinn-dougherty ];
license = licenses.lgpl3Plus;
};
}

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "ngtcp2";
version = "0.19.1";
version = "1.0.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "ngtcp2";
rev = "v${version}";
hash = "sha256-agiQRy/e5VS+ANxajXYi5huRjQQ2M8eddH/AzmwnHdQ=";
hash = "sha256-dnYIRcNGTIzETu2OjTJa0IWB1+xttdGFKRBmMkTwrXk=";
};
outputs = [ "out" "dev" ];

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pandas
, pytestCheckHook
, pythonOlder
@ -9,18 +10,22 @@
buildPythonPackage rec {
pname = "ppscore";
version = "unstable-2021-11-25";
format = "setuptools";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "8080labs";
repo = pname;
rev = "c9268c16b6305c5c38e2fe2fd84f43d97ec1aaca";
hash = "sha256-qiogjUgcLFauAMpVf2CKNC27c9xR9q7nY69n8/go1ms=";
repo = "ppscore";
rev = "refs/tags/${version}";
hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pandas
scikit-learn
@ -37,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python implementation of the Predictive Power Score (PPS)";
homepage = "https://github.com/8080labs/ppscore/";
changelog = "https://github.com/8080labs/ppscore/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ evax ];
};

View file

@ -0,0 +1,118 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, sqlalchemy
, sqlbag
, setuptools
, poetry-core
, pytestCheckHook
, pytest-xdist
, pytest-sugar
, postgresql
, postgresqlTestHook
,
}:
buildPythonPackage rec {
pname = "schemainspect";
version = "3.1.1663587362";
format = "pyproject";
disable = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "djrobstep";
repo = pname;
# no tags on github, version patch number is unix time.
rev = "066262d6fb4668f874925305a0b7dbb3ac866882";
hash = "sha256-SYpQQhlvexNc/xEgSIk8L8J+Ta+3OZycGLeZGQ6DWzk=";
};
patches = [
# https://github.com/djrobstep/schemainspect/pull/87
(fetchpatch
{
name = "specify_poetry.patch";
url = "https://github.com/djrobstep/schemainspect/commit/bdcd001ef7798236fe0ff35cef52f34f388bfe68.patch";
hash = "sha256-/SEmcV9GjjvzfbszeGPkfd2DvYenl7bZyWdC0aI3M4M=";
})
];
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
setuptools # needed for 'pkg_resources'
sqlalchemy
];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
pytest-sugar
postgresql
postgresqlTestHook
sqlbag
];
preCheck = ''
export PGUSER="nixbld";
export postgresqlEnableTCP=1;
'';
disabledTests = [
# These all fail with "List argument must consist only of tuples or dictionaries":
# Related issue: https://github.com/djrobstep/schemainspect/issues/88
"test_can_replace"
"test_collations"
"test_constraints"
"test_dep_order"
"test_enum_deps"
"test_exclusion_constraint"
"test_fk_col_order"
"test_fk_info"
"test_generated_columns"
"test_identity_columns"
"test_indexes"
"test_inherit"
"test_kinds"
"test_lineendings"
"test_long_identifiers"
"test_partitions"
"test_postgres_inspect"
"test_postgres_inspect_excludeschema"
"test_postgres_inspect_sigleschema"
"test_raw_connection"
"test_relationship"
"test_replica_trigger"
"test_rls"
"test_separate_validate"
"test_sequences"
"test_table_dependency_order"
"test_types_and_domains"
"test_view_trigger"
"test_weird_names"
];
pytestFlagsArray = [
"-x"
"-svv"
"tests"
];
pythonImportsCheck = [
"schemainspect"
];
postUnpack = ''
# this dir is used to bump the version number, having it here fails the build
rm -r ./source/deploy
'';
meta = with lib; {
description = "Schema inspection for PostgreSQL, and potentially others";
homepage = "https://github.com/djrobstep/schemainspect";
license = with licenses; [ unlicense ];
maintainers = with maintainers; [ soispha ];
};
}

View file

@ -0,0 +1,95 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, psycopg2
, pymysql
, sqlalchemy
, pathlib
, six
, flask
, pendulum
, packaging
, setuptools
, poetry-core
, pytestCheckHook
, pytest-xdist
, pytest-sugar
, postgresql
, postgresqlTestHook
,
}:
buildPythonPackage rec {
pname = "sqlbag";
version = "0.1.1617247075";
format = "pyproject";
src = fetchFromGitHub {
owner = "djrobstep";
repo = pname;
# no tags on github, version patch number is unix time.
rev = "eaaeec4158ffa139fba1ec30d7887f4d836f4120";
hash = "sha256-lipgnkqrzjzqwbhtVcWDQypBNzq6Dct/qoM8y/FNiNs=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs =
[
sqlalchemy
six
packaging
psycopg2
pymysql
setuptools # needed for 'pkg_resources'
]
++ lib.optional isPy27 pathlib;
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
pytest-sugar
postgresql
postgresqlTestHook
flask
pendulum
];
preCheck = ''
export PGUSER="nixbld";
'';
disabledTests = [
# These all fail with "List argument must consist only of tuples or dictionaries":
# Related issue: https://github.com/djrobstep/sqlbag/issues/14
"test_basic"
"test_createdrop"
"test_errors_and_messages"
"test_flask_integration"
"test_orm_stuff"
"test_pendulum_for_time_types"
"test_transaction_separation"
];
pytestFlagsArray = [
"-x"
"-svv"
"tests"
];
pythonImportsCheck = [
"sqlbag"
];
meta = with lib; {
description = "Handy python code for doing database things";
homepage = "https://github.com/djrobstep/sqlbag";
license = with licenses; [ unlicense ];
maintainers = with maintainers; [ soispha ];
};
}

View file

@ -0,0 +1,44 @@
{ lib, fetchFromGitHub, rustPlatform, testers, ttags }:
let version = "0.3.0";
in rustPlatform.buildRustPackage {
pname = "ttags";
inherit version;
src = fetchFromGitHub {
owner = "npezza93";
repo = "ttags";
rev = "${version}";
hash = "sha256-yqrCcA/+FyGPpX3hhULiwhMfrDWjq+rzT04M+o9ry5s=";
};
cargoHash = "sha256-jW3xIlo2cN5aoEUp3FxN4pwGFvlg50i5RMNgQopGb88=";
passthru.tests.version = testers.testVersion {
package = ttags;
command = "ttags --version";
version = version;
};
meta = with lib; {
description = "Generate tags using tree-sitter";
longDescription = ''
ttags generates tags (similar to ctags) for various
languages, using tree-sitter.
Can be run as a language server that updates the tags
for a file when it is saved.
Supported languages:
- Haskell
- JavaScript
- Nix
- Ruby
- Rust
- Swift
'';
homepage = "https://github.com/npezza93/ttags";
license = licenses.mit;
maintainers = with maintainers; [ mrcjkb ];
platforms = platforms.all;
};
}

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-udeps";
version = "0.1.42";
version = "0.1.43";
src = fetchFromGitHub {
owner = "est31";
repo = pname;
rev = "v${version}";
sha256 = "sha256-8CQnmUk7jMlcdtZh6046B5duKnZKaMVk2xG4D2svqVw=";
sha256 = "sha256-aZzkVyRWxpSB0lPD7A8kbZc93h43OyPn0Pk9tCIZRnA=";
};
cargoHash = "sha256-e3ku9c4VLZtnJIUDRMAcUVaJnOsMqckj3XmuJHSR364=";
cargoHash = "sha256-kQ1NQDvOBU8mmQQgNR4l1bBN0nr/ZSudJkL7Gf9hpgU=";
nativeBuildInputs = [ pkg-config ];

View file

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "jwx";
version = "2.0.13";
version = "2.0.14";
src = fetchFromGitHub {
owner = "lestrrat-go";
repo = pname;
rev = "v${version}";
hash = "sha256-jtNG/d70Q67IKKEfRBewl40cxH6wYj3CPfx+S/vuQnQ=";
hash = "sha256-EtfxlSWYlfWme/t89IuvcNl11X3JL2K2rcKHAumisEw=";
};
vendorHash = "sha256-o3EHPIXGLz/io0d8jhl9cxzctP3CeOjEDMQl1SY9lXg=";

View file

@ -20300,6 +20300,8 @@ with pkgs;
trellis = callPackage ../development/embedded/fpga/trellis { };
ttags = callPackage ../development/tools/misc/ttags { };
ttyd = callPackage ../servers/ttyd { };
turbogit = callPackage ../development/tools/turbogit {

View file

@ -120,6 +120,7 @@ let
tlc = callPackage ../development/coq-modules/tlc {};
topology = callPackage ../development/coq-modules/topology {};
trakt = callPackage ../development/coq-modules/trakt {};
vcfloat = callPackage ../development/coq-modules/vcfloat {};
Velisarios = callPackage ../development/coq-modules/Velisarios {};
Verdi = callPackage ../development/coq-modules/Verdi {};
VST = callPackage ../development/coq-modules/VST ((lib.optionalAttrs

View file

@ -12494,6 +12494,8 @@ self: super: with self; {
schema = callPackage ../development/python-modules/schema { };
schemainspect = callPackage ../development/python-modules/schemainspect { };
schema-salad = callPackage ../development/python-modules/schema-salad { };
schemdraw = callPackage ../development/python-modules/schemdraw { };
@ -13278,6 +13280,8 @@ self: super: with self; {
sqlalchemy-views = callPackage ../development/python-modules/sqlalchemy-views { };
sqlbag = callPackage ../development/python-modules/sqlbag { };
sqlglot = callPackage ../development/python-modules/sqlglot { };
sqlitedict = callPackage ../development/python-modules/sqlitedict { };