Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-03-01 12:11:43 +00:00 committed by GitHub
commit fbd1c5b484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 474 additions and 151 deletions

View file

@ -12810,9 +12810,9 @@
githubId = 5837359;
name = "Adrian Pistol";
};
vika_nezrimaya = {
vikanezrimaya = {
email = "vika@fireburn.ru";
github = "kisik21";
github = "vikanezrimaya";
githubId = 7953163;
name = "Vika Shleina";
keys = [{

View file

@ -9,7 +9,7 @@ let
pkg = pkgs.clamav;
toKeyValue = generators.toKeyValue {
mkKeyValue = generators.mkKeyValueDefault {} " ";
mkKeyValue = generators.mkKeyValueDefault { } " ";
listsAsDuplicateKeys = true;
};
@ -30,7 +30,7 @@ in
settings = mkOption {
type = with types; attrsOf (oneOf [ bool int str (listOf str) ]);
default = {};
default = { };
description = ''
ClamAV configuration. Refer to <link xlink:href="https://linux.die.net/man/5/clamd.conf"/>,
for details on supported values.
@ -59,7 +59,7 @@ in
settings = mkOption {
type = with types; attrsOf (oneOf [ bool int str (listOf str) ]);
default = {};
default = { };
description = ''
freshclam configuration. Refer to <link xlink:href="https://linux.die.net/man/5/freshclam.conf"/>,
for details on supported values.
@ -104,7 +104,6 @@ in
systemd.services.clamav-daemon = mkIf cfg.daemon.enable {
description = "ClamAV daemon (clamd)";
after = optional cfg.updater.enable "clamav-freshclam.service";
requires = optional cfg.updater.enable "clamav-freshclam.service";
wantedBy = [ "multi-user.target" ];
restartTriggers = [ clamdConfigFile ];
@ -134,7 +133,7 @@ in
systemd.services.clamav-freshclam = mkIf cfg.updater.enable {
description = "ClamAV virus database updater (freshclam)";
restartTriggers = [ freshclamConfigFile ];
after = [ "network-online.target" ];
preStart = ''
mkdir -m 0755 -p ${stateDir}
chown ${clamavUser}:${clamavGroup} ${stateDir}

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "ft2-clone";
version = "1.51";
version = "1.52";
src = fetchFromGitHub {
owner = "8bitbubsy";
repo = "ft2-clone";
rev = "v${version}";
sha256 = "sha256-g8LZhP6qHctmvbmrhJ8gAOeAd57SePeO2tdFi9SVjQ0=";
sha256 = "sha256-RyZ3PV7jaTN3DEYMT0BqKDHbb+7/IgiRaCra1xA0h1A=";
};
# Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh)

View file

@ -13,12 +13,12 @@
let font-droid = nerdfonts.override { fonts = [ "DroidSansMono" ]; };
in stdenv.mkDerivation rec {
pname = "koreader";
version = "2022.01";
version = "2022.02";
src = fetchurl {
url =
"https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-amd64.deb";
sha256 = "sha256-XuIYNvGhzJ649LxVPit2AOmb+YOHtZA4AhDyxjaB5OE=";
sha256 = "sha256-gR81ZN0N3bmvLVqwUanXTrpBnzhPZT0bo4J8VOfaJh8=";
};
sourceRoot = ".";

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "signalbackup-tools";
version = "20220218";
version = "20220227";
src = fetchFromGitHub {
owner = "bepaald";
repo = pname;
rev = version;
sha256 = "sha256-6fwkhqXM6T0WCC1Y+GCmyLwStqhBTUAzDDsBTd5XlSE=";
sha256 = "sha256-TpemAMBh3XN71C4vYr9TmKBw2W5esgtL2dKLHN4sQd8=";
};
# Remove when Apple SDK is >= 10.13

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, coreutils, nettools, java, polyml, z3, veriT, vampire, eprover-ho, rlwrap, makeDesktopItem }:
{ lib, stdenv, fetchurl, coreutils, nettools, java, scala, polyml, z3, veriT, vampire, eprover-ho, rlwrap, perl, makeDesktopItem }:
# nettools needed for hostname
stdenv.mkDerivation rec {
@ -77,6 +77,10 @@ stdenv.mkDerivation rec {
substituteInPlace lib/Tools/env \
--replace /usr/bin/env ${coreutils}/bin/env
substituteInPlace src/Tools/Setup/src/Environment.java \
--replace 'cmd.add("/usr/bin/env");' "" \
--replace 'cmd.add("bash");' "cmd.add(\"$SHELL\");"
rm -r heaps
'' + (if ! stdenv.isLinux then "" else ''
arch=${if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux" else "x86-linux"}
@ -90,6 +94,24 @@ stdenv.mkDerivation rec {
buildPhase = ''
export HOME=$TMP # The build fails if home is not set
setup_name=$(basename contrib/isabelle_setup*)
#The following is adapted from https://isabelle.sketis.net/repos/isabelle/file/Isabelle2021-1/Admin/lib/Tools/build_setup
TARGET_DIR="contrib/$setup_name/lib"
rm -rf "$TARGET_DIR"
mkdir -p "$TARGET_DIR/isabelle/setup"
declare -a ARGS=("-Xlint:unchecked")
SOURCES="$(${perl}/bin/perl -e 'while (<>) { if (m/(\S+\.java)/) { print "$1 "; } }' "src/Tools/Setup/etc/build.props")"
for SRC in $SOURCES
do
ARGS["''${#ARGS[@]}"]="src/Tools/Setup/$SRC"
done
${java}/bin/javac -d "$TARGET_DIR" -classpath ${scala}/lib/scala-compiler.jar "''${ARGS[@]}"
${java}/bin/jar -c -f "$TARGET_DIR/isabelle_setup.jar" -e "isabelle.setup.Setup" -C "$TARGET_DIR" isabelle
rm -rf "$TARGET_DIR/isabelle"
# Prebuild HOL Session
bin/isabelle build -v -o system_heaps -b HOL
'';

View file

@ -66,7 +66,7 @@ let
in
let result = stdenv.mkDerivation rec {
pname = if installjdk then "oraclejdk" else "oraclejre";
pname = if installjdk then "oraclejdk" else "oraclejre" + lib.optionalString pluginSupport "-with-plugin";
version = "${productVersion}u${patchVersion}";
src =

View file

@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
"OCT_INSTALL_DIR=$(out)/${octave.sitePath}/oct"
];
postFixup = ''
substituteInPlace $out/lib/cmake/nlopt/NLoptLibraryDepends.cmake --replace \
'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/' 'INTERFACE_INCLUDE_DIRECTORIES "'
'';
meta = {
homepage = "https://nlopt.readthedocs.io/en/latest/";
description = "Free open-source library for nonlinear optimization";

View file

@ -5,21 +5,22 @@
, nlopt
, ipopt
, boost
, tbb
}:
stdenv.mkDerivation rec {
pname = "pagmo2";
version = "2.9";
version = "2.18.0";
src = fetchFromGitHub {
owner = "esa";
repo = "pagmo2";
rev = "v${version}";
sha256 = "0al2i59m5qr83wz5n5408zvys0b3mc40rszf0l5b9a0gp1axj400";
sha256 = "0rd8scs4hj6qd8ylmn5hafncml2vr4fvcgm3agz3jrvmnc7hadrj";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ eigen nlopt ipopt boost ];
buildInputs = [ eigen nlopt ipopt boost tbb ];
cmakeFlags = [
"-DPAGMO_BUILD_TESTS=no"

View file

@ -1,26 +1,35 @@
{ lib, stdenv, fetchurl, unzip, blas, lapack, gfortran }:
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, blas
, lapack
, gfortran
, enableAMPL ? stdenv.isLinux, libamplsolver
}:
assert (!blas.isILP64) && (!lapack.isILP64);
stdenv.mkDerivation rec {
pname = "ipopt";
version = "3.12.13";
version = "3.14.5";
src = fetchurl {
url = "https://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip";
sha256 = "0kzf05aypx8q5mr3sciclk926ans0yi2d2chjdxxgpi3sza609dx";
src = fetchFromGitHub {
owner = "coin-or";
repo = "Ipopt";
rev = "releases/${version}";
sha256 = "sha256-eqOacZGuuGAjWMs2H6RntQ+WJmGTi+EqydHUQXEpY54=";
};
CXXDEFS = [ "-DHAVE_RAND" "-DHAVE_CSTRING" "-DHAVE_CSTDIO" ];
configureFlags = [
"--with-blas-lib=-lblas"
"--with-lapack-lib=-llapack"
"--with-asl-cflags=-I${libamplsolver}/include"
"--with-asl-lflags=-lamplsolver"
];
nativeBuildInputs = [ unzip gfortran ];
buildInputs = [ blas lapack ];
nativeBuildInputs = [ pkg-config gfortran ];
buildInputs = [ blas lapack ] ++ lib.optionals enableAMPL [ libamplsolver ];
enableParallelBuilding = true;

View file

@ -0,0 +1,37 @@
{ lib, stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
pname = "libamplsolver";
version = "20211109";
src = fetchurl {
url = "https://ampl.com/netlib/ampl/solvers.tgz";
sha256 = "sha256-LVmScuIvxmZzywPSBl9T9YcUBJP7UFAa3eWs9r4q3JM=";
};
patches = [
# Debian provides a patch to build a shared library
(fetchpatch {
url = "https://sources.debian.org/data/main/liba/libamplsolver/0~20190702-2/debian/patches/fix-makefile-shared-lib.patch";
sha256 = "sha256-96qwj3fLugzbsfxguKMce13cUo7XGC4VUE7xKcJs42Y=";
})
];
installPhase = ''
runHook preInstall
pushd sys.`uname -m`.`uname -s`
install -D -m 0644 *.h -t $out/include
install -D -m 0644 *.so* -t $out/lib
install -D -m 0644 *.a -t $out/lib
popd
runHook postInstall
'';
meta = with lib; {
description = "A library of routines that help solvers work with AMPL";
homepage = "https://ampl.com/netlib/ampl/";
license = [ licenses.mit ];
platforms = platforms.linux;
maintainers = with maintainers; [ aanderse ];
};
}

View file

@ -1,8 +1,18 @@
{ lib, fetchFromGitHub, buildDunePackage, zed, lwt_log, lwt_react, mew_vi }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, zed, lwt_log, lwt_react, mew_vi }:
let params =
if lib.versionAtLeast ocaml.version "4.08" then {
version = "3.2.0";
sha256 = "sha256:048k26644wq5wlwk0j179dxrxyz9nxqqq4vvhyh6pqpgxdajd44i";
} else {
version = "3.1.0";
sha256 = "1k0ykiz0vhpyyj9fkss29ajas4fh1xh449j702xkvayqipzj1mkg";
}
; in
buildDunePackage rec {
pname = "lambda-term";
version = "3.1.0";
inherit (params) version;
useDune2 = true;
@ -10,7 +20,7 @@ buildDunePackage rec {
owner = "ocaml-community";
repo = pname;
rev = version;
sha256 = "1k0ykiz0vhpyyj9fkss29ajas4fh1xh449j702xkvayqipzj1mkg";
inherit (params) sha256;
};
propagatedBuildInputs = [ zed lwt_log lwt_react mew_vi ];

View file

@ -7,7 +7,7 @@
, cohttp
, ocaml_lwt
, cohttp-lwt-unix
, lambdaTerm
, lambda-term
, stdlib-shims
}:
@ -30,7 +30,7 @@ buildDunePackage rec {
cohttp
ocaml_lwt
cohttp-lwt-unix
lambdaTerm
lambda-term
stdlib-shims
];

View file

@ -0,0 +1,31 @@
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
mkDerivation rec {
pname = "grumphp";
version = "1.8.1";
src = fetchurl {
url = "https://github.com/phpro/${pname}/releases/download/v${version}/${pname}.phar";
sha256 = "sha256-3XPMyH2F3ZfRr8DmvlBY3Z6uolhaRraQxwKIskIwPq8=";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -D $src $out/libexec/${pname}/grumphp.phar
makeWrapper ${php}/bin/php $out/bin/grumphp \
--add-flags "$out/libexec/${pname}/grumphp.phar"
runHook postInstall
'';
meta = with lib; {
broken = versionOlder php.version "8.0";
description = "A PHP code-quality tool";
homepage = "https://github.com/phpro/grumphp";
license = licenses.mit;
maintainers = teams.php.members;
};
}

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
@ -15,6 +16,10 @@ buildPythonPackage rec {
sha256 = "03kj15cf1pbd11mxsik96m5w1m6p0fbdc4ia5ihzmq8rz28razpq";
};
propagatedBuildInputs = [
setuptools
];
checkInputs = [
pytestCheckHook
];

View file

@ -10,15 +10,19 @@
, proto-plus
, pytest-asyncio
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-automl";
version = "2.7.0";
version = "2.7.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hUaxA9QZ0M9klmTAN71OvY4xsRdZuic7V8TeZWzcdMc=";
hash = "sha256-NHjHzZm20jDdIg91Zr0ytM0V2sHAmZUF0hlD1C9DeSM=";
};
propagatedBuildInputs = [

View file

@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "2.5.2";
version = "2.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-2ot8e34FbJ51dByIp+3Tq0OggpKbjqZAjwNxUZtnf0I=";
hash = "sha256-z6qhLNPfZnFJE6CStAByqxHBv3Itfzn1FtxDE+JPci8=";
};
propagatedBuildInputs = [

View file

@ -1,19 +1,44 @@
{ lib, buildPythonPackage, fetchPypi, libcst, google-api-core, grpc-google-iam-v1, proto-plus, pytest-asyncio, pytestCheckHook, mock }:
{ lib
, buildPythonPackage
, fetchPypi
, libcst
, google-api-core
, grpc-google-iam-v1
, proto-plus
, pytest-asyncio
, pytestCheckHook
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-datacatalog";
version = "3.6.2";
version = "3.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9oixM+4HxHn0G3j8Hpg1iB5gM+7xyD5GBbWpEzzjdrE=";
hash = "sha256-5ehghcpPZTlw8dOJ74pkB4k0g79wHLh+zj3fLCOR4Rc=";
};
propagatedBuildInputs = [ libcst google-api-core grpc-google-iam-v1 proto-plus ];
propagatedBuildInputs = [
libcst
google-api-core
grpc-google-iam-v1
proto-plus
];
checkInputs = [ pytest-asyncio pytestCheckHook mock ];
checkInputs = [
pytest-asyncio
pytestCheckHook
mock
];
pythonImportsCheck = [ "google.cloud.datacatalog" ];
pythonImportsCheck = [
"google.cloud.datacatalog"
];
meta = with lib; {
description = "Google Cloud Data Catalog API API client library";

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "google-cloud-datastore";
version = "2.4.0";
version = "2.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "4a6f04112f2685a0a5cd8c7cb7946572bb7e0f6ca7cbe0088514006fca8594ca";
sha256 = "sha256-4OwOEb+E+doiQ+gm3f4O+O88PXwFWINfTpRvOlzMuCA=";
};
propagatedBuildInputs = [

View file

@ -9,20 +9,34 @@
, pytest-asyncio
, pytz
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-dlp";
version = "3.6.0";
version = "3.6.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "20abce8d8d3939db243cbc0da62a73ff1a4e3b3b341f7ced0cfeb5e2c4a66621";
hash = "sha256-zDGLdyBvm2haNaWRanHkRJZqHl+yvBuHRxCGqXYO7Ow=";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ];
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
pytz
];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
];
disabledTests = [
# requires credentials

View file

@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "google-cloud-iam";
version = "2.5.1";
version = "2.6.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "b26294d02b14b40586eceb099a0e3a74265ae10a3f46fd49890cac55ad5f861f";
sha256 = "sha256-iLfXzZ3LCNlkgsMilf8TW5ZXgdSBWRgJtuL8zIpUlns=";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus ];

View file

@ -9,20 +9,34 @@
, pytestCheckHook
, pytest-asyncio
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-monitoring";
version = "2.8.0";
version = "2.9.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "2a25f7535f21cdeabfccb07fe4a75eae5a47bb36b82025537755b37d3376da46";
hash = "sha256-6Xu07QBrVGQOwxi65KZaYFKF3DJ/1uc+zC+NUKqJeWM=";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
checkInputs = [ google-cloud-testutils mock pandas pytestCheckHook pytest-asyncio ];
checkInputs = [
google-cloud-testutils
mock
pandas
pytestCheckHook
pytest-asyncio
];
disabledTests = [
# requires credentials

View file

@ -7,20 +7,32 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-redis";
version = "2.6.0";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CaD/pMQeEdQtcQKBCW1/e42oof9KTpA0IFvCsOaD5zU=";
hash = "sha256-i3jgEaAJ0zEaJWtpzhOe23CtpUpt1ON4gXnVvSG8fTI=";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [
"google.cloud.redis"

View file

@ -7,20 +7,32 @@
, grpc-google-iam-v1
, proto-plus
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "1.3.3";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "b13e0a614b4865287a4b5fc43f4810d3d48fef7e24d9bcf54cb4bd93bfbb2bf2";
hash = "sha256-InkkAtqK5f1oqUK0Nsxc2PYt5JWBlB3ElGVNs5IJV/Q=";
};
propagatedBuildInputs = [ google-api-core google-cloud-core grpc-google-iam-v1 proto-plus ];
propagatedBuildInputs = [
google-api-core
google-cloud-core
grpc-google-iam-v1
proto-plus
];
checkInputs = [ mock pytestCheckHook ];
checkInputs = [
mock
pytestCheckHook
];
# prevent google directory from shadowing google imports
preCheck = ''

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "2.8.0";
version = "2.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "e8a3fb7c2a1595f59923661c568667d1ba40fcaaa4dd55fe8b1f5e54871e9460";
sha256 = "sha256-G2vyhj2pbNywGE2/QTyNviYQOcsAj4KR8vIcGhvM5e8=";
};
propagatedBuildInputs = [

View file

@ -8,20 +8,33 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
version = "1.8.0";
version = "1.9.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "c77a765415d5e5465a3d74fefee9ce8f9a914ff228f1b10dda70841400ce1320";
hash = "sha256-qtaZs6mgcYeEEdf6KGQNx7c+RP8SqSNyTCZuhTVAq38=";
};
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
libcst
proto-plus
];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [
"google.cloud.securitycenter"

View file

@ -7,25 +7,37 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-speech";
version = "2.12.0";
version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "acbf9948ce3870c72b45089356985de9df3cd881830d1127a10cb80ada9786c7";
hash = "sha256-NO2oxVszbm2KYiN2NCn3edIyBx+E++sttJTgZd/yXzQ=";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus ];
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pytestFlagsArray = [
# requrire credentials
"--ignore=tests/system/gapic/v1/test_system_speech_v1.py"
"--ignore=tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
disabledTestPaths = [
# Requrire credentials
"tests/system/gapic/v1/test_system_speech_v1.py"
"tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py"
];
pythonImportsCheck = [

View file

@ -7,20 +7,32 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-vision";
version = "2.6.3";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "54b7f63c746ab95a504bd6b9b1d806192483976a3452a1a59a7faa0eaaa03491";
hash = "sha256-antpKF6egHtya4g9sKuQLQepz1QRLQ6LiCdpfYBsDh8=";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus];
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [
"google.cloud.vision"

View file

@ -1,4 +1,5 @@
{ lib
, aenum
, aiohttp
, buildPythonPackage
, fetchFromGitHub
@ -10,7 +11,7 @@
buildPythonPackage rec {
pname = "intellifire4py";
version = "0.9.9";
version = "0.9.10";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,10 +20,11 @@ buildPythonPackage rec {
owner = "jeeftor";
repo = pname;
rev = version;
hash = "sha256-oI4iGnfitou8/Jhe7K4rnSPnmddfO+6FLZzqgNmaPV8=";
hash = "sha256-eXXcPowLbIsjPXul2Un0LTBPLbDhpEqfUg7pPR22NHM=";
};
propagatedBuildInputs = [
aenum
aiohttp
pydantic
requests

View file

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "minikerberos";
version = "0.2.17";
version = "0.2.18";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yoPUTwpsk8wimN9DXFFz6ZJi1tI0uAVcfAi5BiwsfJM=";
sha256 = "sha256-5bmuCbX4a69sP9SnHkB4OQrOHmFufUTlchHkgu6iBYk=";
};
propagatedBuildInputs = [

View file

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "motionblinds";
version = "0.6.0";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "starkillerOG";
repo = "motion-blinds";
rev = version;
sha256 = "sha256-0Vkx5Hnoa09ZgavReQ72iWqmOG42ATG5w+ptCs7geoA=";
sha256 = "sha256-31ofLiBQjSMDtptgYF5rqS1bB5UDUbsbo25Nrk4WvIY=";
};
propagatedBuildInputs = [

View file

@ -14,5 +14,8 @@ buildPythonPackage rec {
homepage = "https://pypi.python.org/pypi/orderedset";
license = licenses.bsd3;
maintainers = [ maintainers.jtojnar ];
# No support for Python 3.9/3.10
# https://github.com/simonpercivall/orderedset/issues/36
broken = true;
};
}

View file

@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "pex";
version = "2.1.67";
version = "2.1.68";
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rtxHRuZ30S81pdWUvQnSImcEX6/vCY/pvKFNY7sJaBw=";
sha256 = "sha256-IuYEDKK4sQQ9xVBfHWtya/t9pLNX2gYcXMBpn72FDyo=";
};
nativeBuildInputs = [

View file

@ -4,15 +4,19 @@
, nulltype
, python-dateutil
, urllib3
, pythonOlder
}:
buildPythonPackage rec {
pname = "plaid-python";
version = "8.10.0";
version = "8.11.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "8930949bd43e3126289f50e927d1acacf53c57ec3227c764e0c1feb72bbb61a3";
hash = "sha256-zvwqMpI/aufZLf9dSVEDY2Letiyso8oSf9o5kanXW7U=";
};
propagatedBuildInputs = [

View file

@ -1,52 +1,63 @@
{ lib
, buildPythonPackage
, eigen
, nlopt
, ipopt
, stdenv
, toPythonModule
, fetchFromGitHub
, cmake
, boost
, eigen
, ipopt
, nlopt
, pagmo2
, numpy
, python
, cloudpickle
, ipyparallel
, numba
, python
, numpy
, pybind11
}:
let
propagatedBuildInputs = [ numpy cloudpickle ipyparallel numba ];
pagmo2WithPython = pagmo2.overrideAttrs (oldAttrs: {
cmakeFlags = oldAttrs.cmakeFlags ++ [
"-DPAGMO_BUILD_PYGMO=yes"
"-DPAGMO_BUILD_PAGMO=no"
"-DPagmo_DIR=${pagmo2}"
];
buildInputs = [ eigen nlopt ipopt boost pagmo2 ] ++ propagatedBuildInputs;
postInstall = ''
mv wheel $out
'';
});
in buildPythonPackage {
toPythonModule (stdenv.mkDerivation rec {
pname = "pygmo";
version = pagmo2WithPython.version;
version = "2.18.0";
inherit propagatedBuildInputs;
src = fetchFromGitHub {
owner = "esa";
repo = "pygmo2";
rev = "v${version}";
sha256 = "sha256-he7gxRRJd6bBrD0Z0i+CQTr5JH4P3Im/beNGO+HfmNM=";
};
src = pagmo2WithPython;
cmakeFlags = [
"-DPYGMO_INSTALL_PATH=${placeholder "out"}/lib/${python.libPrefix}/site-packages"
];
preBuild = ''
mv ${python.sitePackages}/pygmo wheel
cd wheel
'';
nativeBuildInputs = [
cmake
];
# dont do tests
doCheck = false;
propagatedBuildInputs = [
cloudpickle
ipyparallel
numba
numpy
python
];
buildInputs = [
boost
eigen
ipopt
nlopt
pagmo2
pybind11
];
doCheck = true;
meta = with lib; {
description = "Parallel optimisation for Python";
homepage = "https://esa.github.io/pagmo2/";
homepage = "https://github.com/esa/pygmo2";
license = licenses.gpl3Plus;
maintainers = [ maintainers.costrouc ];
};
}
})

View file

@ -4,15 +4,19 @@
, setuptools
, libvlc
, substituteAll
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-vlc";
version = "3.0.12118";
version = "3.0.16120";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Vm8vfDA/aACFHKzAFt8cbu7AlK1j4KSdh9udaYCU8fs=";
hash = "sha256-kvmP7giPcr1tBjs7MxLQvSmzfnrWXd6zpzAzIDAMKAc=";
};
patches = [
@ -27,9 +31,12 @@ buildPythonPackage rec {
setuptools
];
doCheck = false; # no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "vlc" ];
pythonImportsCheck = [
"vlc"
];
meta = with lib; {
description = "Python bindings for VLC, the cross-platform multimedia player and framework";

View file

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, rich
, typing-extensions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "textual";
version = "0.1.15";
format = "pyproject";
src = fetchFromGitHub {
owner = "Textualize";
repo = pname;
rev = "v${version}";
sha256 = "1jmjais0yq8dwi9yikgrxdw4rwp8aq1981nhfxn0v97jb07i4cj6";
};
patches = [
(fetchpatch {
# v0.1.15 git tag has 0.1.14 in pyproject.toml
name = "version.patch";
url = "https://github.com/Textualize/textual/commit/1b8d7d184e10889002425641222702afba508aea.patch";
sha256 = "1nfqp5f8ba3fg0ar3lghrlqypbjbsaywxaz3iiff8fy8j2wgsppp";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
rich
typing-extensions
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "textual" ];
meta = with lib; {
description = "TUI framework for Python inspired by modern web development";
homepage = "https://github.com/Textualize/textual";
license = licenses.mit;
maintainers = with maintainers; [ jyooru ];
};
}

View file

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-urllib3";
version = "1.26.9";
version = "1.26.10";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-q9LUhXg3SCsYNLSBfwWHZ43MUx28mr5M3k2ijO8/Uiw=";
hash = "sha256-omiY9TDmw/Q/JbkH8riESGho/9Vqn6qUy/mz624WXWo=";
};
# Module doesn't have tests

View file

@ -32,13 +32,13 @@ with py.pkgs;
buildPythonApplication rec {
pname = "checkov";
version = "2.0.906";
version = "2.0.908";
src = fetchFromGitHub {
owner = "bridgecrewio";
repo = pname;
rev = version;
hash = "sha256-sNwdbKaojDR8q/ugs+ot4ObpIodk2uJVvxcBQEb6d5A=";
hash = "sha256-2ssVFnRd8TIxZSUUq9jOmiNHY1yuDv7mMqpKtJ3vq24=";
};
nativeBuildInputs = with py.pkgs; [

View file

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "ddosify";
version = "0.7.4";
version = "0.7.5";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-LIk23TZiLP2FEeHVEtd3CCUgBJ9YijclpFLyDhv6zRA=";
sha256 = "sha256-n9xKg8RN2o20dTsV8a0tAJjmvAlwZ7TF2cTrXx+f49k=";
};
vendorSha256 = "sha256-lbo9P2UN9TmUAqyhFdbOHWokoAogVQZihpcOlhmumxU=";

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, ocaml, findlib
, lambdaTerm, cppo, makeWrapper, buildDunePackage
, lambda-term, cppo, makeWrapper, buildDunePackage
}:
if !lib.versionAtLeast ocaml.version "4.03"
@ -19,7 +19,7 @@ buildDunePackage rec {
nativeBuildInputs = [ makeWrapper cppo ];
propagatedBuildInputs = [ lambdaTerm ];
propagatedBuildInputs = [ lambda-term ];
postFixup =
let

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "operator-sdk";
version = "1.17.0";
version = "1.18.0";
src = fetchFromGitHub {
owner = "operator-framework";
repo = pname;
rev = "v${version}";
sha256 = "sha256-zgiJDmpjmm2rzi12XAT+bHpiOKwi1k6xd9fvPGwFNXQ=";
sha256 = "sha256-TamtjFnh+HT7JHcRTEpALdkXM9MyZGulb644bNr/BQI=";
};
vendorSha256 = "sha256-kilFwOSIToURJFqfa1/PtdUA21ieJzL9vgsXbYNbht0=";
vendorSha256 = "sha256-uci8/gQqLtjmxxqSlpgZhgBnvMotMvklNfwR+ua8H3M=";
doCheck = false;

View file

@ -3,6 +3,7 @@
, freetype, gettext, doxygen, ncurses, graphviz, xorg, gmp, libspatialindex
, leveldb, postgresql, hiredis, libiconv, zlib, libXrandr, libX11, ninja, prometheus-cpp
, OpenGL, OpenAL ? openal, Carbon, Cocoa
, Kernel
}:
with lib;
@ -20,7 +21,8 @@ let
sha256 = "sha256-YlXn9LrfGkjdb8+zQGDgrInolUYj9nVSF2AXWFpEEkw=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib libjpeg libpng libGLU libGL libXrandr libX11 libXxf86vm ];
buildInputs = [ zlib libjpeg libpng libGLU libGL libXrandr libX11 libXxf86vm ]
++ lib.optionals stdenv.isDarwin [ Cocoa Kernel ];
outputs = [ "out" "dev" ];
meta = irrlicht.meta;
};

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "exploitdb";
version = "2022-02-25";
version = "2022-03-01";
src = fetchFromGitHub {
owner = "offensive-security";
repo = pname;
rev = version;
sha256 = "sha256-KGUDtJxmx5/F77McUK/9ecHLPKblm97n2yl7ntyTzvQ=";
sha256 = "sha256-3bMroTIVjSMHV4tg3Um2E90Ph6j0vXRy0fSjGe9EPNE=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "sslscan";
version = "2.0.11";
version = "2.0.12";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = version;
sha256 = "sha256-ROdi1pU2VeswmItHOSZimOkPYlgdqEMg2b7zt0f9WrM=";
sha256 = "sha256-lFb+W2PSmXzzNhG+yNmnDNqtUc0TsDYYnsBnKdsiPSo=";
};
buildInputs = [ openssl ];

View file

@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
description = "List files recursively";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vika_nezrimaya ];
maintainers = with maintainers; [ vikanezrimaya ];
};
}

View file

@ -12679,10 +12679,9 @@ with pkgs;
jdkdistro = oraclejdk8distro;
oraclejdk8distro = installjdk: pluginSupport:
(if pluginSupport then appendToName "with-plugin" else x: x)
(callPackage ../development/compilers/oraclejdk/jdk8-linux.nix {
inherit installjdk pluginSupport;
});
(callPackage ../development/compilers/oraclejdk/jdk8-linux.nix {
inherit installjdk pluginSupport;
});
oraclejdk11 = callPackage ../development/compilers/oraclejdk/jdk11-linux.nix { };
@ -31117,7 +31116,7 @@ with pkgs;
inherit (callPackages ../games/minetest {
inherit (darwin) libiconv;
inherit (darwin.apple_sdk.frameworks) OpenGL OpenAL Carbon Cocoa;
inherit (darwin.apple_sdk.frameworks) OpenGL OpenAL Carbon Cocoa Kernel;
})
minetestclient_5 minetestserver_5;
@ -32132,6 +32131,8 @@ with pkgs;
lapack-reference = callPackage ../development/libraries/science/math/liblapack { };
liblapack = lapack-reference;
libamplsolver = callPackage ../development/libraries/science/math/libamplsolver { };
libbraiding = callPackage ../development/libraries/science/math/libbraiding { };
libhomfly = callPackage ../development/libraries/science/math/libhomfly { };
@ -32286,6 +32287,7 @@ with pkgs;
singlePrec = true;
enableMpi = true;
enableCuda = true;
cudatoolkit = cudatoolkit_11;
fftw = fftwSinglePrec;
});

View file

@ -620,7 +620,7 @@ let
lambdasoup = callPackage ../development/ocaml-modules/lambdasoup { };
lambdaTerm = callPackage ../development/ocaml-modules/lambda-term { };
lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
lens = callPackage ../development/ocaml-modules/lens { };

View file

@ -140,6 +140,8 @@ lib.makeScope pkgs.newScope (self: with self; {
deployer = callPackage ../development/php-packages/deployer { };
grumphp = callPackage ../development/php-packages/grumphp { };
phing = callPackage ../development/php-packages/phing { };
php-cs-fixer = callPackage ../development/php-packages/php-cs-fixer { };

View file

@ -9812,6 +9812,8 @@ in {
textile = callPackage ../development/python-modules/textile { };
textual = callPackage ../development/python-modules/textual { };
testing-common-database = callPackage ../development/python-modules/testing-common-database { };
testing-postgresql = callPackage ../development/python-modules/testing-postgresql { };