Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-01-02 12:02:01 +00:00 committed by GitHub
commit ccef3ab7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
80 changed files with 922 additions and 407 deletions

View file

@ -11,8 +11,8 @@ permissions:
jobs: jobs:
tf-providers: tf-providers:
permissions: permissions:
contents: write # for peter-evans/create-pull-request to create branch contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR, for peter-evans/create-or-update-comment to create or update comment pull-requests: write # for peter-evans/create-pull-request to create a PR, for peter-evans/create-or-update-comment to create or update comment
if: github.repository_owner == 'NixOS' && github.ref == 'refs/heads/master' # ensure workflow_dispatch only runs on master if: github.repository_owner == 'NixOS' && github.ref == 'refs/heads/master' # ensure workflow_dispatch only runs on master
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -25,6 +25,8 @@ jobs:
run: | run: |
echo "title=terraform-providers: update $(date -u +"%Y-%m-%d")" >> $GITHUB_OUTPUT echo "title=terraform-providers: update $(date -u +"%Y-%m-%d")" >> $GITHUB_OUTPUT
- name: update terraform-providers - name: update terraform-providers
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"

View file

@ -395,7 +395,7 @@ in
ROOT_URL = cfg.rootUrl; ROOT_URL = cfg.rootUrl;
} }
(mkIf cfg.enableUnixSocket { (mkIf cfg.enableUnixSocket {
PROTOCOL = "unix"; PROTOCOL = "http+unix";
HTTP_ADDR = "/run/gitea/gitea.sock"; HTTP_ADDR = "/run/gitea/gitea.sock";
}) })
(mkIf (!cfg.enableUnixSocket) { (mkIf (!cfg.enableUnixSocket) {
@ -404,7 +404,6 @@ in
}) })
(mkIf cfg.lfs.enable { (mkIf cfg.lfs.enable {
LFS_START_SERVER = true; LFS_START_SERVER = true;
LFS_CONTENT_PATH = cfg.lfs.contentDir;
}) })
]; ];
@ -426,6 +425,10 @@ in
oauth2 = { oauth2 = {
JWT_SECRET = "#oauth2jwtsecret#"; JWT_SECRET = "#oauth2jwtsecret#";
}; };
lfs = mkIf (cfg.lfs.enable) {
PATH = cfg.lfs.contentDir;
};
}; };
services.postgresql = optionalAttrs (usePostgresql && cfg.database.createDatabase) { services.postgresql = optionalAttrs (usePostgresql && cfg.database.createDatabase) {

View file

@ -5,14 +5,14 @@
mkDerivation rec { mkDerivation rec {
pname = "qpwgraph"; pname = "qpwgraph";
version = "0.3.6"; version = "0.3.9";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "rncbc"; owner = "rncbc";
repo = "qpwgraph"; repo = "qpwgraph";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-uN3SAmpurINV+7vw51fWdwnuW2yBxnedY6BXdwn/S2s="; sha256 = "sha256-KGZ67FF3WlKwUzVV3qz1DR/7i1mXsfXVVyuNoIR9uP0=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];

View file

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lite-xl"; pname = "lite-xl";
version = "2.1.0"; version = "2.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lite-xl"; owner = "lite-xl";
repo = "lite-xl"; repo = "lite-xl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-9nQFdii6SY14Cul7Ki0DUEsu75HWTCeEZtXaU6KGRiM="; sha256 = "sha256-tZ9bCazs4ygNl5RKFNUtxboaMcG8a7mIz2FuiExX1d4=";
}; };
nativeBuildInputs = [ meson ninja pkg-config ]; nativeBuildInputs = [ meson ninja pkg-config ];

View file

@ -137,7 +137,7 @@ repo="$(echo "${provider_source_url}" | cut -d '/' -f 5)"
update_attr repo "${repo}" update_attr repo "${repo}"
if [[ ${spdx} == 1 ]]; then if [[ ${spdx} == 1 ]]; then
spdx="$(curl -L -s "https://api.github.com/repos/${org}/${repo}/license" | jq -r '.license.spdx_id')" spdx="$(curl -L -s ${GITHUB_TOKEN:+-u ":${GITHUB_TOKEN}"} "https://api.github.com/repos/${org}/${repo}/license" | jq -r '.license.spdx_id')"
update_attr spdx "${spdx}" update_attr spdx "${spdx}"
fi fi

View file

@ -2,7 +2,6 @@
, stdenv , stdenv
, fetchurl , fetchurl
, jdk , jdk
, jre
, ant , ant
, makeWrapper , makeWrapper
}: }:
@ -37,11 +36,11 @@ stdenv.mkDerivation rec {
# but it hardcodes bash shebang and does not pin the java path. # but it hardcodes bash shebang and does not pin the java path.
# So we create our own wrapper, using similar cmdline args as upstream. # So we create our own wrapper, using similar cmdline args as upstream.
mkdir -p $out/bin mkdir -p $out/bin
makeWrapper ${jre}/bin/java $out/bin/DataExplorer \ makeWrapper ${jdk}/bin/java $out/bin/DataExplorer \
--add-flags "-Xms64m -Xmx3092m -jar $out/share/DataExplorer/DataExplorer.jar" \ --add-flags "-Xms64m -Xmx3092m -jar $out/share/DataExplorer/DataExplorer.jar" \
--set SWT_GTK3 0 --set SWT_GTK3 0
makeWrapper ${jre}/bin/java $out/bin/DevicePropertiesEditor \ makeWrapper ${jdk}/bin/java $out/bin/DevicePropertiesEditor \
--add-flags "-Xms32m -Xmx512m -classpath $out/share/DataExplorer/DataExplorer.jar gde.ui.dialog.edit.DevicePropertiesEditor" \ --add-flags "-Xms32m -Xmx512m -classpath $out/share/DataExplorer/DataExplorer.jar gde.ui.dialog.edit.DevicePropertiesEditor" \
--set SWT_GTK3 0 \ --set SWT_GTK3 0 \
--set LIBOVERLAY_SCROLLBAR 0 --set LIBOVERLAY_SCROLLBAR 0

View file

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildGoPackage , buildGoPackage
, fetchurl , fetchurl
, makeWrapper , makeWrapper
@ -14,12 +15,12 @@
buildGoPackage rec { buildGoPackage rec {
pname = "gitea"; pname = "gitea";
version = "1.17.4"; version = "1.18.0";
# not fetching directly from the git repo, because that lacks several vendor files for the web UI # not fetching directly from the git repo, because that lacks several vendor files for the web UI
src = fetchurl { src = fetchurl {
url = "https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz"; url = "https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz";
sha256 = "sha256-koZEr89QhxCf2Dd/7SWiS/ZZoRIBfyu0mbxKknjXPK4="; sha256 = "sha256-X0KvIB2JvSoh2MR9FcwKObQzod2GxhKeGqIKU5CKTEM=";
}; };
patches = [ patches = [
@ -68,5 +69,6 @@ buildGoPackage rec {
homepage = "https://gitea.io"; homepage = "https://gitea.io";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ disassembler kolaente ma27 techknowlogick ]; maintainers = with maintainers; [ disassembler kolaente ma27 techknowlogick ];
broken = stdenv.isDarwin;
}; };
} }

View file

@ -6,6 +6,7 @@
, jdupes , jdupes
, boldPanelIcons ? false , boldPanelIcons ? false
, blackPanelIcons ? false , blackPanelIcons ? false
, alternativeIcons ? false
, themeVariants ? [] , themeVariants ? []
}: }:
@ -54,6 +55,7 @@ stdenvNoCC.mkDerivation rec {
./install.sh --dest $out/share/icons \ ./install.sh --dest $out/share/icons \
--name WhiteSur \ --name WhiteSur \
--theme ${builtins.toString themeVariants} \ --theme ${builtins.toString themeVariants} \
${lib.optionalString alternativeIcons "--alternative"} \
${lib.optionalString boldPanelIcons "--bold"} \ ${lib.optionalString boldPanelIcons "--bold"} \
${lib.optionalString blackPanelIcons "--black"} ${lib.optionalString blackPanelIcons "--black"}

View file

@ -3,16 +3,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "evcxr"; pname = "evcxr";
version = "0.14.1"; version = "0.14.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "evcxr"; repo = "evcxr";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-sdvBAmINl/3Hv9gnPVruI5lCuSu1VQ9swY0GNJrsEVk="; sha256 = "sha256-gREAtCh4jerqxhwNslXIXRMLkoj0RlhbIwQXbb8LVws=";
}; };
cargoSha256 = "sha256-wKoseZTAZOeT0LEHTlnO5cMpYx6sinnQkEVXCYXupAY="; cargoSha256 = "sha256-xuxWOVSUJVQvSDA5xhFBjdO/ODLA4fzEnzG9p0DRF2Q=";
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}"; RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";

View file

@ -6,14 +6,14 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.6.3"; version = "2.7.0";
pname = "tinygltf"; pname = "tinygltf";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "syoyo"; owner = "syoyo";
repo = "tinygltf"; repo = "tinygltf";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IyezvHzgLRyc3z8HdNsQMqDEhP+Ytw0stFNak3C8lTo="; sha256 = "sha256-pIymkC+LzoSPU0jnpBH07ag/04W0c9TmPeDUSYQdgx4=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View file

@ -0,0 +1,29 @@
{ lib, fetchurl, buildDunePackage
, lockfree
, mirage-clock-unix
}:
buildDunePackage rec {
pname = "domainslib";
version = "0.5.0";
duneVersion = "3";
minimalOCamlVersion = "5.0";
src = fetchurl {
url = "https://github.com/ocaml-multicore/domainslib/releases/download/v${version}/domainslib-${version}.tbz";
hash = "sha256-rty+9DUhTUEcN7BPl8G6Q/G/MJ6z/UAn0RPkG8hACwA=";
};
propagatedBuildInputs = [ lockfree ];
doCheck = true;
checkInputs = [ mirage-clock-unix ];
meta = {
homepage = "https://github.com/ocaml-multicore/domainslib";
description = "Nested-parallel programming";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -0,0 +1,28 @@
{ lib, fetchurl, buildDunePackage
, containers
, oseq
}:
buildDunePackage rec {
pname = "dscheck";
version = "0.1.0";
minimalOCamlVersion = "5.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
hash = "sha256-zoouFZJcUp71yeluVb1xLUIMcFv99OpkcQQCHkPTKcI=";
};
propagatedBuildInputs = [ containers oseq ];
doCheck = true;
meta = {
description = "Traced atomics";
homepage = "https://github.com/ocaml-multicore/dscheck";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -0,0 +1,29 @@
{ lib, fetchurl, buildDunePackage
, dscheck
, qcheck, qcheck-alcotest
}:
buildDunePackage rec {
pname = "lockfree";
version = "0.3.0";
minimalOCamlVersion = "5.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-multicore/lockfree/releases/download/${version}/lockfree-${version}.tbz";
hash = "sha256-XdJR5ojFsA7bJ4aZ5rh10NjopE0NjfqQ9KitOLMh3Jo=";
};
propagatedBuildInputs = [ dscheck ];
doCheck = true;
checkInputs = [ qcheck qcheck-alcotest ];
meta = {
description = "Lock-free data structures for multicore OCaml";
homepage = "https://github.com/ocaml-multicore/lockfree";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, buildDunePackage
, seq
, containers, qcheck
}:
buildDunePackage rec {
version = "0.4";
pname = "oseq";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
hash = "sha256-FoCBvvPwa/dUCrgDEd0clEKAO7EcpedjaO4v+yUO874=";
};
propagatedBuildInputs = [ seq ];
duneVersion = "3";
doCheck = true;
checkInputs = [
containers
qcheck
];
meta = {
homepage = "https://c-cube.github.io/oseq/";
description = "Purely functional iterators compatible with standard `seq`";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -1,20 +1,32 @@
{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }: { lib, buildDunePackage, fetchFromGitHub, ocaml, cpu, domainslib }:
let params =
if lib.versionAtLeast ocaml.version "5.00" then {
version = "13.0.1";
hash = "sha256-OYa0uLsDyzjmXZgWcYUxLhqco4Kp/icfDamNe3En5JQ=";
propagatedBuildInputs = [ domainslib ];
} else {
version = "12.2.2";
hash = "sha256-woZ4XJqqoRr/7mDurXYvTbSUUcLBEylzVYBQp1BAOqc=";
propagatedBuildInputs = [ cpu ];
}
; in
buildDunePackage rec { buildDunePackage rec {
pname = "parany"; pname = "parany";
version = "12.1.2"; inherit (params) version;
useDune2 = true; duneVersion = "3";
minimumOCamlVersion = "4.03.0"; minimalOCamlVersion = "4.08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "UnixJunkie"; owner = "UnixJunkie";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "yOeJzb2Wr6jA4efI9/fuqDCl/Tza3zxT3YjAiJmhHHg="; inherit (params) hash;
}; };
propagatedBuildInputs = [ ocamlnet cpu ]; inherit (params) propagatedBuildInputs;
meta = with lib; { meta = with lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;

View file

@ -12,7 +12,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiounifi"; pname = "aiounifi";
version = "42"; version = "43";
format = "setuptools";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,7 +21,7 @@ buildPythonPackage rec {
owner = "Kane610"; owner = "Kane610";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-vScAWEjdzXSy1gktz+Tfhx13S6OeXZbwZgoS6D1BBtk="; hash = "sha256-qpFQdNlw6voqccoJwPsnmbU5DtAC6zwtouUeysZ8/0M=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -46,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python library for communicating with Unifi Controller API"; description = "Python library for communicating with Unifi Controller API";
homepage = "https://github.com/Kane610/aiounifi"; homepage = "https://github.com/Kane610/aiounifi";
changelog = "https://github.com/Kane610/aiounifi/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };

View file

@ -22,7 +22,7 @@ buildPythonPackage rec {
cirq-core cirq-core
google-api-core google-api-core
protobuf protobuf
]; ] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
freezegun freezegun

View file

@ -4,38 +4,50 @@
, google-auth , google-auth
, googleapis-common-protos , googleapis-common-protos
, grpcio , grpcio
, grpcio-gcp
, grpcio-status , grpcio-status
, protobuf
, proto-plus
, requests
, mock , mock
, proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-api-core"; pname = "google-api-core";
version = "2.10.2"; version = "2.11.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-EMBvdzn+V3gfh1Izdejho6RnS/Y5LNYTGjIiGCuXEyA="; hash = "sha256-S5u11aOAoL76BXOzAmUbipqJJiwXMON79CPOxRGATCI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
googleapis-common-protos googleapis-common-protos
google-auth google-auth
grpcio
grpcio-status
protobuf protobuf
proto-plus proto-plus
requests requests
]; ];
passthru.optional-dependencies = {
grpc = [
grpcio
grpcio-status
];
grpcgcp = [
grpcio-gcp
];
grpcio-gcp = [
grpcio-gcp
];
};
checkInputs = [ checkInputs = [
mock mock
pytest-asyncio pytest-asyncio

View file

@ -5,17 +5,21 @@
, google-auth , google-auth
, httplib2 , httplib2
, mock , mock
, pytestCheckHook
, pytest-localserver , pytest-localserver
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-auth-httplib2"; pname = "google-auth-httplib2";
version = "0.1.0"; version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a07c39fd632becacd3f07718dfd6021bf396978f03ad3ce4321d060015cc30ac"; hash = "sha256-oHw5/WMr7KzT8HcY39YCG/OWl48DrTzkMh0GABXMMKw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -33,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Authentication Library: httplib2 transport"; description = "Google Authentication Library: httplib2 transport";
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"; homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -11,6 +11,7 @@
, pyopenssl , pyopenssl
, pyu2f , pyu2f
, requests , requests
, pythonOlder
, aioresponses , aioresponses
, asynctest , asynctest
, flask , flask
@ -27,11 +28,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-auth"; pname = "google-auth";
version = "2.14.0"; version = "2.15.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-zySBeFXYdO3i79BxqiISVEX1Vd4Whbc5qXgvz0CMKj0="; sha256 = "sha256-cvEqbPyWjXVNe9qzacXFwWAyEG5S0yxt/YSE5MAabR8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -56,6 +60,9 @@ buildPythonPackage rec {
reauth = [ reauth = [
pyu2f pyu2f
]; ];
requests = [
requests
];
}; };
checkInputs = [ checkInputs = [
@ -92,7 +99,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Auth Python Library"; description = "Google Auth Python Library";
longDescription = '' longDescription = ''
This library simplifies using Googles various server-to-server This library simplifies using Google's various server-to-server
authentication mechanisms to access Google APIs. authentication mechanisms to access Google APIs.
''; '';
homepage = "https://github.com/googleapis/google-auth-library-python"; homepage = "https://github.com/googleapis/google-auth-library-python";

View file

@ -3,6 +3,7 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, pythonOlder , pythonOlder
, protobuf
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -19,7 +20,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
# No tests in repo # No tests in repo
doCheck = false; doCheck = false;

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1 , grpc-google-iam-v1
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-appengine-logging"; pname = "google-cloud-appengine-logging";
version = "1.1.6"; version = "1.2.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-N0d/8lqqLT4IXbg0QpxchtJ4PmBOvXc4yGkvNhvHyJc="; hash = "sha256-pvao522dfnRx6JJe4osRgU+q1LpBvdOTP4W9UVVZNiY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Appengine logging client library"; description = "Appengine logging client library";
homepage = "https://github.com/googleapis/python-appengine-logging"; homepage = "https://github.com/googleapis/python-appengine-logging";
changelog = "https://github.com/googleapis/python-appengine-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -8,6 +8,7 @@
, google-cloud-os-config , google-cloud-os-config
, google-cloud-testutils , google-cloud-testutils
, libcst , libcst
, protobuf
, proto-plus , proto-plus
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
@ -35,7 +36,14 @@ buildPythonPackage rec {
google-cloud-os-config google-cloud-os-config
libcst libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -56,6 +64,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python Client for Google Cloud Asset API"; description = "Python Client for Google Cloud Asset API";
homepage = "https://github.com/googleapis/python-asset"; homepage = "https://github.com/googleapis/python-asset";
changelog = "https://github.com/googleapis/python-asset/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,12 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, googleapis-common-protos, protobuf }: { lib
, buildPythonPackage
, fetchPypi
, googleapis-common-protos
, protobuf
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-audit-log"; pname = "google-cloud-audit-log";
version = "0.2.4"; version = "0.2.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-qr5VQ2ceT4qcekwOPqmoe6K6K5b5/61vqgIgmQDh8wg="; hash = "sha256-qr5VQ2ceT4qcekwOPqmoe6K6K5b5/61vqgIgmQDh8wg=";
}; };
propagatedBuildInputs = [ googleapis-common-protos protobuf ]; propagatedBuildInputs = [ googleapis-common-protos protobuf ];
@ -14,11 +23,14 @@ buildPythonPackage rec {
# tests are a bit wonky to setup and are not very deep either # tests are a bit wonky to setup and are not very deep either
doCheck = false; doCheck = false;
pythonImportsCheck = [ "google.cloud.audit" ]; pythonImportsCheck = [
"google.cloud.audit"
];
meta = with lib; { meta = with lib; {
description = "Google Cloud Audit Protos"; description = "Google Cloud Audit Protos";
homepage = "https://github.com/googleapis/python-audit-log"; homepage = "https://github.com/googleapis/python-audit-log";
changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,15 +1,16 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, libcst
, google-api-core , google-api-core
, google-cloud-storage , google-cloud-storage
, google-cloud-testutils , google-cloud-testutils
, libcst
, mock
, pandas , pandas
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, mock , pytestCheckHook
, pythonOlder , pythonOlder
}: }:
@ -27,9 +28,21 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
pandas = [
pandas
];
storage = [
google-cloud-storage
];
};
checkInputs = [ checkInputs = [
google-cloud-storage google-cloud-storage
@ -64,6 +77,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud AutoML API client library"; description = "Cloud AutoML API client library";
homepage = "https://github.com/googleapis/python-automl"; homepage = "https://github.com/googleapis/python-automl";
changelog = "https://github.com/googleapis/python-automl/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,37 +3,39 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst , libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytz
, mock , mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
, pytz
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer"; pname = "google-cloud-bigquery-datatransfer";
version = "3.7.3"; version = "3.8.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-oPgbgaq5RQM4C2qmf36i+qXDQA9sV16abCleNkdGYC0="; hash = "sha256-TR41fn/e4185RW8zkd3SY1E/jNQZuUYJr1n+TwNPHT4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst libcst
proto-plus proto-plus
protobuf
pytz pytz
]; ] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -44,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "BigQuery Data Transfer API client library"; description = "BigQuery Data Transfer API client library";
homepage = "https://github.com/googleapis/python-bigquery-datatransfer"; homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
changelog = "https://github.com/googleapis/python-bigquery-datatransfer/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1 , grpc-google-iam-v1
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery-logging"; pname = "google-cloud-bigquery-logging";
version = "1.0.7"; version = "1.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-F8PP/Vs+sOVDEwIUvWnO6C4+rQvVTtWKMPnREwKEQ0I="; hash = "sha256-TGK5ghwhVBN0VBMj84Jjt4gpsXQC+HKAr5yP756PbDM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Bigquery logging client library"; description = "Bigquery logging client library";
homepage = "https://github.com/googleapis/python-bigquery-logging"; homepage = "https://github.com/googleapis/python-bigquery-logging";
changelog = "https://github.com/googleapis/python-bigquery-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -1,24 +1,45 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fastavro
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-auth , google-auth
, google-cloud-bigquery , google-cloud-bigquery
, pandas
, protobuf
, pyarrow
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery-storage"; pname = "google-cloud-bigquery-storage";
version = "2.16.2"; version = "2.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY="; hash = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
fastavro = [
fastavro
];
pandas = [
pandas
];
pyarrow = [
pyarrow
];
};
checkInputs = [ checkInputs = [
google-auth google-auth
@ -26,7 +47,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
# dependency loop with google-cloud-bigquery # Dependency loop with google-cloud-bigquery
doCheck = false; doCheck = false;
preCheck = '' preCheck = ''
@ -42,6 +63,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "BigQuery Storage API API client library"; description = "BigQuery Storage API API client library";
homepage = "https://github.com/googleapis/python-bigquery-storage"; homepage = "https://github.com/googleapis/python-bigquery-storage";
changelog = "https://github.com/googleapis/python-bigquery-storage/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,58 +1,85 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi
, pytestCheckHook
, db-dtypes , db-dtypes
, fetchPypi
, freezegun , freezegun
, google-api-core
, google-cloud-bigquery-storage , google-cloud-bigquery-storage
, google-cloud-core , google-cloud-core
, google-cloud-datacatalog , google-cloud-datacatalog
, google-cloud-storage , google-cloud-storage
, google-cloud-testutils , google-cloud-testutils
, google-resumable-media , google-resumable-media
, grpcio
, ipython , ipython
, mock , mock
, pandas , pandas
, proto-plus , proto-plus
, protobuf
, psutil , psutil
, pyarrow , pyarrow
, pytest-xdist , pytest-xdist
, pytestCheckHook
, python-dateutil
, pythonOlder , pythonOlder
, requests
, tqdm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery"; pname = "google-cloud-bigquery";
version = "3.3.5"; version = "3.4.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-+7ZXmcAnVN3K7ZgfSotrAhtpzADUzZw1yh1swnLq2dE="; hash = "sha256-iEaJcU2YojZN3px8Nn6CKMcRYQi7rXpjZd/eORY4mFs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
grpcio
google-api-core
google-cloud-core google-cloud-core
google-cloud-bigquery-storage google-cloud-bigquery-storage
google-resumable-media google-resumable-media
proto-plus proto-plus
pyarrow protobuf
]; requests
python-dateutil
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
bqstorage = [
google-cloud-bigquery-storage
grpcio
pyarrow
];
pandas = [
db-dtypes
pandas
pyarrow
];
tqdm = [
tqdm
];
ipython = [
ipython
];
};
checkInputs = [ checkInputs = [
db-dtypes
freezegun freezegun
google-cloud-testutils google-cloud-testutils
ipython
mock mock
pandas
psutil psutil
google-cloud-datacatalog google-cloud-datacatalog
google-cloud-storage google-cloud-storage
pytestCheckHook pytestCheckHook
pytest-xdist pytest-xdist
]; ] ++ passthru.optional-dependencies.pandas
++ passthru.optional-dependencies.ipython;
# prevent google directory from shadowing google imports # prevent google directory from shadowing google imports
preCheck = '' preCheck = ''
@ -83,10 +110,12 @@ buildPythonPackage rec {
"test__initiate_resumable_upload_mtls" "test__initiate_resumable_upload_mtls"
"test__initiate_resumable_upload_with_retry" "test__initiate_resumable_upload_with_retry"
"test_table_clones" "test_table_clones"
"test_context_with_default_connection"
"test_context_with_custom_connection"
]; ];
disabledTestPaths = [ disabledTestPaths = [
# requires credentials # Tests require credentials
"tests/system/test_query.py" "tests/system/test_query.py"
"tests/system/test_job_retry.py" "tests/system/test_job_retry.py"
"tests/system/test_pandas.py" "tests/system/test_pandas.py"
@ -100,6 +129,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google BigQuery API client library"; description = "Google BigQuery API client library";
homepage = "https://github.com/googleapis/python-bigquery"; homepage = "https://github.com/googleapis/python-bigquery";
changelog = "https://github.com/googleapis/python-bigquery/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,10 +3,12 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-core , google-cloud-core
, grpcio
, grpc-google-iam-v1 , grpc-google-iam-v1
, libcst , libcst
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
}: }:
@ -27,11 +29,18 @@ buildPythonPackage rec {
google-api-core google-api-core
google-cloud-core google-cloud-core
grpc-google-iam-v1 grpc-google-iam-v1
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [ checkInputs = [
grpcio
mock mock
pytestCheckHook pytestCheckHook
]; ];

View file

@ -12,19 +12,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-compute"; pname = "google-cloud-compute";
version = "1.5.2"; version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-D0pIR1vQEt/7aIxMo0uDlxvt+fwS2DxCurU/lxMHAjo="; hash = "sha256-pnhXkYSXph7aIZJoI3tXTNIUkH44S22QDIGXUl9ceFU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
proto-plus proto-plus
protobuf protobuf
]; ] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -48,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "API Client library for Google Cloud Compute"; description = "API Client library for Google Cloud Compute";
homepage = "https://github.com/googleapis/python-compute"; homepage = "https://github.com/googleapis/python-compute";
changelog = "https://github.com/googleapis/python-compute/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ]; maintainers = with maintainers; [ jpetrucciani ];
}; };

View file

@ -2,42 +2,42 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, grpc-google-iam-v1
, libcst , libcst
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-container"; pname = "google-cloud-container";
version = "2.13.0"; version = "2.14.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-Rq4DuCbXX4DSIr01AFYo0O4+wQv4B5yzrrX9a2ecAFI="; hash = "sha256-r/AmdcXIChEqp3AvO2xU2lsM3pqmn/Tmv8/cQJ+kuCE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1
libcst libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
disabledTests = [ disabledTests = [
# requires credentials # Test requires credentials
"test_list_clusters" "test_list_clusters"
]; ];
@ -50,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Container Engine API client library"; description = "Google Container Engine API client library";
homepage = "https://github.com/googleapis/python-container"; homepage = "https://github.com/googleapis/python-container";
changelog = "https://github.com/googleapis/python-container/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,34 +1,55 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-api-core , google-api-core
, google-auth
, grpcio
, mock , mock
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-core"; pname = "google-cloud-core";
version = "2.3.2"; version = "2.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-uVKe5wR/2NS/SiGC3mGRVCQN8X++YOrTmQeMGuFSr5o="; hash = "sha256-uVKe5wR/2NS/SiGC3mGRVCQN8X++YOrTmQeMGuFSr5o=";
}; };
propagatedBuildInputs = [ google-api-core ]; propagatedBuildInputs = [
google-auth
google-api-core
];
checkInputs = [ mock pytestCheckHook ]; passthru.optional-dependencies = {
grpc = [
grpcio
];
};
checkInputs = [
mock
pytestCheckHook
] ++ passthru.optional-dependencies.grpc;
# prevent google directory from shadowing google imports # prevent google directory from shadowing google imports
preCheck = '' preCheck = ''
rm -r google rm -r google
''; '';
pythonImportsCheck = [ "google.cloud" ]; pythonImportsCheck = [
"google.cloud"
];
meta = with lib; { meta = with lib; {
description = "API Client library for Google Cloud: Core Helpers"; description = "API Client library for Google Cloud: Core Helpers";
homepage = "https://github.com/googleapis/python-cloud-core"; homepage = "https://github.com/googleapis/python-cloud-core";
changelog = "https://github.com/googleapis/python-cloud-core/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,39 +1,41 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, libcst
, google-api-core , google-api-core
, grpc-google-iam-v1 , grpc-google-iam-v1
, libcst
, mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, mock
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-datacatalog"; pname = "google-cloud-datacatalog";
version = "3.9.3"; version = "3.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-JgGs4lqOruHohIy6GaUGSHr0vd+lFsI5u4PVZwt7tdo="; hash = "sha256-5j8daEVqDEQKHU/XbZ9U6qp0Aaye0KUzJMyj9fiJtRs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
libcst
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
mock
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -43,6 +45,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Data Catalog API API client library"; description = "Google Cloud Data Catalog API API client library";
homepage = "https://github.com/googleapis/python-datacatalog"; homepage = "https://github.com/googleapis/python-datacatalog";
changelog = "https://github.com/googleapis/python-datacatalog/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -5,6 +5,7 @@
, mock , mock
, libcst , libcst
, proto-plus , proto-plus
, protobuf
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pythonOlder , pythonOlder
@ -26,7 +27,8 @@ buildPythonPackage rec {
google-api-core google-api-core
libcst libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -35,7 +37,7 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# requires credentials # Test requires credentials
"test_list_clusters" "test_list_clusters"
]; ];
@ -47,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Dataproc API client library"; description = "Google Cloud Dataproc API client library";
homepage = "https://github.com/googleapis/python-dataproc"; homepage = "https://github.com/googleapis/python-dataproc";
changelog = "https://github.com/googleapis/python-dataproc/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,12 +3,13 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-core , google-cloud-core
, libcst
, proto-plus
, mock
, pytestCheckHook
, pytest-asyncio
, google-cloud-testutils , google-cloud-testutils
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
@ -28,7 +29,8 @@ buildPythonPackage rec {
google-api-core google-api-core
google-cloud-core google-cloud-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = { passthru.optional-dependencies = {
libcst = [ libcst = [
@ -66,6 +68,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Datastore API client library"; description = "Google Cloud Datastore API client library";
homepage = "https://github.com/googleapis/python-datastore"; homepage = "https://github.com/googleapis/python-datastore";
changelog = "https://github.com/googleapis/python-datastore/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,33 +3,31 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-testutils , google-cloud-testutils
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytz
, mock , mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-dlp"; pname = "google-cloud-dlp";
version = "3.9.2"; version = "3.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-yoiHO4/dhFDGZJB+WiouyBtbTQWIecwaIvR+qw8MGBU="; hash = "sha256-0/bTCi1BhTrM8VJLuFZ9gZc0uwZqpAhcwoPt25flvkI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
proto-plus proto-plus
pytz protobuf
]; ] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -39,7 +37,7 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# requires credentials # Test requires credentials
"test_inspect_content" "test_inspect_content"
]; ];
@ -51,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Data Loss Prevention (DLP) API API client library"; description = "Cloud Data Loss Prevention (DLP) API API client library";
homepage = "https://github.com/googleapis/python-dlp"; homepage = "https://github.com/googleapis/python-dlp";
changelog = "https://github.com/googleapis/python-dlp/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,22 +3,32 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-core , google-cloud-core
, pytestCheckHook
, mock , mock
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-dns"; pname = "google-cloud-dns";
version = "0.34.1"; version = "0.34.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-RPpi7pPFHGxXIWBY2S0qkRa3E6SocanRajqDuZ4wwfk="; hash = "sha256-RPpi7pPFHGxXIWBY2S0qkRa3E6SocanRajqDuZ4wwfk=";
}; };
propagatedBuildInputs = [ google-api-core google-cloud-core ]; propagatedBuildInputs = [
google-api-core
google-cloud-core
];
checkInputs = [ mock pytestCheckHook ]; checkInputs = [
mock
pytestCheckHook
];
preCheck = '' preCheck = ''
# don#t shadow python imports # don#t shadow python imports
@ -30,11 +40,14 @@ buildPythonPackage rec {
"test_quota" "test_quota"
]; ];
pythonImportsCheck = [ "google.cloud.dns" ]; pythonImportsCheck = [
"google.cloud.dns"
];
meta = with lib; { meta = with lib; {
description = "Google Cloud DNS API client library"; description = "Google Cloud DNS API client library";
homepage = "https://github.com/googleapis/python-dns"; homepage = "https://github.com/googleapis/python-dns";
changelog = "https://github.com/googleapis/python-dns/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,33 +1,35 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook , google-api-core
, google-cloud-logging , google-cloud-logging
, google-cloud-testutils , google-cloud-testutils
, libcst
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-error-reporting"; pname = "google-cloud-error-reporting";
version = "1.6.3"; version = "1.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-7QR4NS98MtJ8aMLC+qQeTrK1Rv5kw6XlZhSKbatrZFY="; hash = "sha256-biI1dbn7lpD1KUGkOV5NMLJlYxZTfH+zW6i65fbJWko=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core
google-cloud-logging google-cloud-logging
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -37,7 +39,7 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# require credentials # Tests require credentials
"test_report_error_event" "test_report_error_event"
"test_report_exception" "test_report_exception"
]; ];
@ -50,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Stackdriver Error Reporting API client library"; description = "Stackdriver Error Reporting API client library";
homepage = "https://github.com/googleapis/python-error-reporting"; homepage = "https://github.com/googleapis/python-error-reporting";
changelog = "https://github.com/googleapis/python-error-reporting/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,37 +1,43 @@
{ lib { lib
, aiounittest
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, aiounittest
, google-api-core , google-api-core
, google-cloud-testutils
, google-cloud-core , google-cloud-core
, google-cloud-testutils
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-firestore"; pname = "google-cloud-firestore";
version = "2.7.2"; version = "2.7.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-yGB6dLcRxEuqPYGEbpOI5DInos/1ILWmzeXN+ck/W+g="; hash = "sha256-rH2aIst5XHEq93FXxlfDreROIWnM8pmq2UOOg9T2kjU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
google-cloud-core google-cloud-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
aiounittest aiounittest
google-cloud-testutils google-cloud-testutils
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
preCheck = '' preCheck = ''
@ -60,6 +66,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Firestore API client library"; description = "Google Cloud Firestore API client library";
homepage = "https://github.com/googleapis/python-firestore"; homepage = "https://github.com/googleapis/python-firestore";
changelog = "https://github.com/googleapis/python-firestore/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1 , grpc-google-iam-v1
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-iam-logging"; pname = "google-cloud-iam-logging";
version = "1.0.6"; version = "1.1.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-XiuEki6bNKZ8CzfcBBjnDbAh2yEADZohpP991OTf2DI="; hash = "sha256-q+R8l14wD0PNxP1xKwZcXlbyln3uwoscAsOvletuetg=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "IAM Service Logging client library"; description = "IAM Service Logging client library";
homepage = "https://github.com/googleapis/python-iam-logging"; homepage = "https://github.com/googleapis/python-iam-logging";
changelog = "https://github.com/googleapis/python-iam-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -1,28 +1,38 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, pythonOlder
, google-api-core , google-api-core
, libcst , libcst
, mock , mock
, proto-plus , proto-plus
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-iam"; pname = "google-cloud-iam";
version = "2.9.0"; version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-/FPuPDJC+AuRNCtKv7pFrpsOlopPFEV/KggDWulRU8A="; hash = "sha256-8q/Am7x5LFN9Uaw37QdUdwL19J1FgxRKjRL0Vrc+1TI=";
}; };
propagatedBuildInputs = [ google-api-core libcst proto-plus ]; propagatedBuildInputs = [
google-api-core
libcst
proto-plus
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ mock pytestCheckHook pytest-asyncio ]; checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [
"google.cloud.iam_credentials" "google.cloud.iam_credentials"
@ -32,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "IAM Service Account Credentials API client library"; description = "IAM Service Account Credentials API client library";
homepage = "https://github.com/googleapis/python-iam"; homepage = "https://github.com/googleapis/python-iam";
changelog = "https://github.com/googleapis/python-iam/releases/tag/v${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ austinbutler SuperSandro2000 ]; maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
}; };

View file

@ -1,39 +1,41 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, grpc-google-iam-v1
, google-api-core , google-api-core
, grpc-google-iam-v1
, libcst , libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
, mock , mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-iot"; pname = "google-cloud-iot";
version = "2.6.4"; version = "2.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-d3RRVqgetOS3sAT6UkV5DB/NZMjeZd5tBtd9ME8Wvs4="; hash = "sha256-vV5emuGcFwUctnPNRW1NSFej599Lc6rFSKAlaaCatZw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core google-api-core
grpc-google-iam-v1
libcst libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
disabledTests = [ disabledTests = [
@ -49,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud IoT API API client library"; description = "Cloud IoT API API client library";
homepage = "https://github.com/googleapis/python-iot"; homepage = "https://github.com/googleapis/python-iot";
changelog = "https://github.com/googleapis/python-iot/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,30 +1,45 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, grpc-google-iam-v1
, google-api-core , google-api-core
, libcst , grpc-google-iam-v1
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-kms"; pname = "google-cloud-kms";
version = "2.12.3"; version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-ooWxYH4B8HY9ybWj0GQqUnfiFXzLCqyXGGZsocV9Od0="; hash = "sha256-0nOQnibi1T0JW9NQaKSrNCnfB5EgsnNYMVCEiUsPRdU=";
}; };
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ]; propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ mock pytestCheckHook pytest-asyncio ]; checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
# Disable tests that need credentials # Disable tests that need credentials
disabledTests = [ "test_list_global_key_rings" ]; disabledTests = [
"test_list_global_key_rings"
];
pythonImportsCheck = [ pythonImportsCheck = [
"google.cloud.kms" "google.cloud.kms"
@ -34,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Key Management Service (KMS) API API client library"; description = "Cloud Key Management Service (KMS) API API client library";
homepage = "https://github.com/googleapis/python-kms"; homepage = "https://github.com/googleapis/python-kms";
changelog = "https://github.com/googleapis/python-kms/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -2,34 +2,32 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst
, mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-language"; pname = "google-cloud-language";
version = "2.6.1"; version = "2.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-KAZmikDsTmNarRo9fxrTR5EtGfSYm1i4rP1iX8pa6Zo="; hash = "sha256-2BVkbQt6y9WGLjFBCt4pXPtGcmcsF8FxThOUIu7CgR8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ];
@ -43,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Natural Language API client library"; description = "Google Cloud Natural Language API client library";
homepage = "https://github.com/googleapis/python-language"; homepage = "https://github.com/googleapis/python-language";
changelog = "https://github.com/googleapis/python-language/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,32 +1,34 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi
, django , django
, fetchPypi
, flask , flask
, google-api-core , google-api-core
, google-cloud-appengine-logging , google-cloud-appengine-logging
, google-cloud-audit-log , google-cloud-audit-log
, google-cloud-core , google-cloud-core
, google-cloud-testutils , google-cloud-testutils
, grpc-google-iam-v1
, mock , mock
, pandas , pandas
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
, rich , rich
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-logging"; pname = "google-cloud-logging";
version = "3.3.1"; version = "3.4.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-bxFBWi6cx7TeeofMP59XVRX9aDpCP2N5lAkUpWYW1wU="; hash = "sha256-zeD1n625F0aHRiUrr0sR6gD21obvAhORg+r5IfOu5rQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -34,8 +36,10 @@ buildPythonPackage rec {
google-cloud-appengine-logging google-cloud-appengine-logging
google-cloud-audit-log google-cloud-audit-log
google-cloud-core google-cloud-core
grpc-google-iam-v1
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
django django
@ -56,10 +60,16 @@ buildPythonPackage rec {
preCheck = '' preCheck = ''
# prevent google directory from shadowing google imports # prevent google directory from shadowing google imports
rm -r google rm -r google
# requires credentials
rm tests/system/test_system.py tests/unit/test__gapic.py
''; '';
disabledTestPaths = [
# Tests require credentials
"tests/system/test_system.py"
"tests/unit/test__gapic.py"
# Exclude performance tests
"tests/performance/test_performance.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"google.cloud.logging" "google.cloud.logging"
"google.cloud.logging_v2" "google.cloud.logging_v2"

View file

@ -3,12 +3,12 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-testutils , google-cloud-testutils
, libcst , mock
, proto-plus , proto-plus
, pandas , pandas
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
, mock , protobuf
, pythonOlder , pythonOlder
}: }:
@ -25,18 +25,23 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
libcst
google-api-core google-api-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
pandas = [
pandas
];
};
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
mock mock
pandas
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ] ++ passthru.optional-dependencies.pandas;
disabledTests = [ disabledTests = [
# requires credentials # requires credentials
@ -51,6 +56,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Stackdriver Monitoring API client library"; description = "Stackdriver Monitoring API client library";
homepage = "https://github.com/googleapis/python-monitoring"; homepage = "https://github.com/googleapis/python-monitoring";
changelog = "https://github.com/googleapis/python-monitoring/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,26 +1,50 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, google-api-core, mock, proto-plus, protobuf, pytest-asyncio }: { lib
, buildPythonPackage
, fetchPypi
, google-api-core
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-org-policy"; pname = "google-cloud-org-policy";
version = "1.4.1"; version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-KYZvlpPqGy0zGDSZF3y6MsFZyb9M+88HGYp4NpPCiSY="; hash = "sha256-fA8O/pdUNgY3dwj17D7aoHUjzaXpMmL3w0TU6A6gqHo=";
}; };
propagatedBuildInputs = [ google-api-core proto-plus ]; propagatedBuildInputs = [
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
# prevent google directory from shadowing google imports checkInputs = [
pytest-asyncio
pytestCheckHook
];
# Prevent google directory from shadowing google imports
preCheck = '' preCheck = ''
rm -r google rm -r google
''; '';
checkInputs = [ mock protobuf pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "google.cloud.orgpolicy" ]; pythonImportsCheck = [
"google.cloud.orgpolicy"
];
meta = with lib; { meta = with lib; {
description = "Protobufs for Google Cloud Organization Policy."; description = "Protobufs for Google Cloud Organization Policy";
homepage = "https://github.com/googleapis/python-org-policy"; homepage = "https://github.com/googleapis/python-org-policy";
changelog = "https://github.com/googleapis/python-org-policy/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ austinbutler SuperSandro2000 ]; maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
}; };

View file

@ -2,8 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst , protobuf
, mock
, proto-plus , proto-plus
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
@ -12,26 +11,25 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-os-config"; pname = "google-cloud-os-config";
version = "1.12.4"; version = "1.13.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-SmzCo/nh6FbTt+7lw4XAyF5gwDHQCOz8Nbl05/AkDfY="; hash = "sha256-CHAiHhXjrLMz7On7Gm5H4fIY3Sq8R2whsI9+D9xXDIM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -46,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud OS Config API client library"; description = "Google Cloud OS Config API client library";
homepage = "https://github.com/googleapis/python-os-config"; homepage = "https://github.com/googleapis/python-os-config";
changelog = "https://github.com/googleapis/python-os-config/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,15 +1,16 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-api-core , google-api-core
, google-cloud-testutils , google-cloud-testutils
, grpc-google-iam-v1 , grpc-google-iam-v1
, grpcio
, grpcio-status , grpcio-status
, libcst , libcst
, mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
@ -26,16 +27,23 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core google-api-core
grpc-google-iam-v1
grpcio
grpcio-status grpcio-status
libcst libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
mock
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ];
@ -56,7 +64,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Pub/Sub API client library"; description = "Google Cloud Pub/Sub API client library";
homepage = "https://pypi.org/project/google-cloud-pubsub"; homepage = "https://github.com/googleapis/python-pubsub";
changelog = "https://github.com/googleapis/python-pubsub/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -2,34 +2,32 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst
, mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-redis"; pname = "google-cloud-redis";
version = "2.9.3"; version = "2.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-81RPV8GaSU0jpYTyjFWxakpbuBz994eA7I/wyTxmg8Y="; hash = "sha256-byppjhrBLentcRwMSbuaf3L7wU+rkP2Z92j2zzEPdY0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ];
@ -43,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Memorystore for Redis API client library"; description = "Google Cloud Memorystore for Redis API client library";
homepage = "https://github.com/googleapis/python-redis"; homepage = "https://github.com/googleapis/python-redis";
changelog = "https://github.com/googleapis/python-redis/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,25 +1,26 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-cloud-core
, google-api-core , google-api-core
, google-cloud-core
, grpc-google-iam-v1 , grpc-google-iam-v1
, proto-plus , proto-plus
, mock , protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-resource-manager"; pname = "google-cloud-resource-manager";
version = "1.6.3"; version = "1.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-bPipp05loDhXiWlnx5MHt1gFx1Kt47xBIk5hZ3dLyck="; hash = "sha256-n66Yl3xSGJNxyn2LJVGO8fuXtCKFHLRcCeoWhvxCCok=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -27,10 +28,11 @@ buildPythonPackage rec {
google-cloud-core google-cloud-core
grpc-google-iam-v1 grpc-google-iam-v1
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];
@ -47,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Resource Manager API client library"; description = "Google Cloud Resource Manager API client library";
homepage = "https://github.com/googleapis/python-resource-manager"; homepage = "https://github.com/googleapis/python-resource-manager";
changelog = "https://github.com/googleapis/python-resource-manager/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -5,34 +5,49 @@
, google-cloud-core , google-cloud-core
, mock , mock
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-runtimeconfig"; pname = "google-cloud-runtimeconfig";
version = "0.33.2"; version = "0.33.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw="; hash = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
}; };
propagatedBuildInputs = [ google-api-core google-cloud-core ]; propagatedBuildInputs = [
google-api-core
google-cloud-core
];
checkInputs = [ mock pytestCheckHook ]; checkInputs = [
mock
pytestCheckHook
];
# Client tests require credentials # Client tests require credentials
disabledTests = [ "client_options" ]; disabledTests = [
"client_options"
];
# prevent google directory from shadowing google imports # prevent google directory from shadowing google imports
preCheck = '' preCheck = ''
rm -r google rm -r google
''; '';
pythonImportsCheck = [ "google.cloud.runtimeconfig" ]; pythonImportsCheck = [
"google.cloud.runtimeconfig"
];
meta = with lib; { meta = with lib; {
description = "Google Cloud RuntimeConfig API client library"; description = "Google Cloud RuntimeConfig API client library";
homepage = "https://pypi.org/project/google-cloud-runtimeconfig"; homepage = "https://github.com/googleapis/python-runtimeconfig";
changelog = "https://github.com/googleapis/python-runtimeconfig/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,37 +3,35 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, grpc-google-iam-v1 , grpc-google-iam-v1
, libcst
, mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-secret-manager"; pname = "google-cloud-secret-manager";
version = "2.12.6"; version = "2.13.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-equimX9D+MOzWQPvxUw4moAvOYU7qB6B4RkPCTQg7PY="; hash = "sha256-1BBOEdkh0jVBHtSVEnOsXtaCPF/GuXB90FCZeOmue9I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
pythonImportsCheck = [ pythonImportsCheck = [
@ -45,6 +43,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Secret Manager API API client library"; description = "Secret Manager API API client library";
homepage = "https://github.com/googleapis/python-secret-manager"; homepage = "https://github.com/googleapis/python-secret-manager";
changelog = "https://github.com/googleapis/python-secret-manager/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ]; maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
}; };

View file

@ -1,37 +1,35 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, grpc-google-iam-v1
, google-api-core , google-api-core
, libcst , grpc-google-iam-v1
, mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-securitycenter"; pname = "google-cloud-securitycenter";
version = "1.16.2"; version = "1.17.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-DU+0gpnWqmtm5nkLoHbEq5k3pnybsEag+aKEp7+HFmo="; hash = "sha256-wkq0/LEgEQokKzREpOkprKZUK/paP8CgS51anLTy5Dk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
grpc-google-iam-v1 grpc-google-iam-v1
google-api-core google-api-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock
pytestCheckHook pytestCheckHook
pytest-asyncio pytest-asyncio
]; ];
@ -46,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Security Command Center API API client library"; description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/googleapis/python-securitycenter"; homepage = "https://github.com/googleapis/python-securitycenter";
changelog = "https://github.com/googleapis/python-securitycenter/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,16 +1,18 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, grpc-google-iam-v1 , google-api-core
, google-cloud-core , google-cloud-core
, google-cloud-testutils , google-cloud-testutils
, grpc-google-iam-v1
, libcst , libcst
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, sqlparse , pytestCheckHook
, pythonOlder , pythonOlder
, sqlparse
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,18 +28,25 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core
google-cloud-core google-cloud-core
grpc-google-iam-v1 grpc-google-iam-v1
libcst
proto-plus proto-plus
protobuf
sqlparse sqlparse
]; ] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
preCheck = '' preCheck = ''

View file

@ -2,11 +2,11 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
, setuptools , setuptools
}: }:
@ -24,16 +24,16 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
libcst
google-api-core google-api-core
proto-plus proto-plus
protobuf
setuptools setuptools
]; ] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
pytestCheckHook
pytest-asyncio pytest-asyncio
pytestCheckHook
]; ];
disabledTestPaths = [ disabledTestPaths = [
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Speech API client library"; description = "Google Cloud Speech API client library";
homepage = "https://github.com/googleapis/python-speech"; homepage = "https://github.com/googleapis/python-speech";
changelog = "https://github.com/googleapis/python-speech/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,35 +1,44 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-auth , google-auth
, google-cloud-iam
, google-cloud-core , google-cloud-core
, google-cloud-iam
, google-cloud-kms , google-cloud-kms
, google-cloud-testutils , google-cloud-testutils
, google-resumable-media , google-resumable-media
, mock , mock
, protobuf
, pytestCheckHook
, pythonOlder , pythonOlder
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-storage"; pname = "google-cloud-storage";
version = "2.5.0"; version = "2.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-OC80uR3iIS48LntA7AedJ+4uPbuumbdbG82MYwY84jU="; hash = "sha256-GsLVjS1pPLE0HrxIZZo1J753jZ4tiYlpeidGAlko/xc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-auth google-auth
google-cloud-core google-cloud-core
google-resumable-media google-resumable-media
requests
]; ];
passthru.optional-dependencies = {
protobuf = [
protobuf
];
};
checkInputs = [ checkInputs = [
google-cloud-iam google-cloud-iam
google-cloud-kms google-cloud-kms
@ -38,7 +47,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
# disable tests which require credentials and network access # Disable tests which require credentials and network access
disabledTests = [ disabledTests = [
"create" "create"
"download" "download"
@ -51,6 +60,7 @@ buildPythonPackage rec {
"test_list_buckets" "test_list_buckets"
"test_open" "test_open"
"test_anonymous_client_access_to_public_bucket" "test_anonymous_client_access_to_public_bucket"
"test_ctor_w_custom_endpoint_use_auth"
]; ];
disabledTestPaths = [ disabledTestPaths = [
@ -59,6 +69,7 @@ buildPythonPackage rec {
"tests/system/test_bucket.py" "tests/system/test_bucket.py"
"tests/system/test_fileio.py" "tests/system/test_fileio.py"
"tests/system/test_kms_integration.py" "tests/system/test_kms_integration.py"
"tests/unit/test_transfer_manager.py"
]; ];
preCheck = '' preCheck = ''
@ -69,11 +80,14 @@ buildPythonPackage rec {
rm tests/conformance/test_conformance.py rm tests/conformance/test_conformance.py
''; '';
pythonImportsCheck = [ "google.cloud.storage" ]; pythonImportsCheck = [
"google.cloud.storage"
];
meta = with lib; { meta = with lib; {
description = "Google Cloud Storage API client library"; description = "Google Cloud Storage API client library";
homepage = "https://github.com/googleapis/python-storage"; homepage = "https://github.com/googleapis/python-storage";
changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -3,9 +3,9 @@
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, grpc-google-iam-v1 , grpc-google-iam-v1
, libcst
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
@ -13,22 +13,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-tasks"; pname = "google-cloud-tasks";
version = "2.10.4"; version = "2.11.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ZQ9PQ75yWEEQNyfqO8EyJ66euqL5na2q1TiIgxz8HXA="; hash = "sha256-TC2uDnD95NUx1LLLLotZK9tJd6JWZa4MjipcE6k07Mo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
grpc-google-iam-v1 grpc-google-iam-v1
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -37,7 +37,7 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# requires credentials # Test requires credentials
"test_list_queues" "test_list_queues"
]; ];
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Tasks API API client library"; description = "Cloud Tasks API API client library";
homepage = "https://github.com/googleapis/python-tasks"; homepage = "https://github.com/googleapis/python-tasks";
changelog = "https://github.com/googleapis/python-tasks/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,24 +1,41 @@
{ lib, buildPythonPackage, fetchPypi, click, google-auth, packaging, six }: { lib
, buildPythonPackage
, click
, fetchPypi
, google-auth
, packaging
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-testutils"; pname = "google-cloud-testutils";
version = "1.3.3"; version = "1.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g="; sha256 = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g=";
}; };
propagatedBuildInputs = [ click google-auth packaging six ]; propagatedBuildInputs = [
click
google-auth
packaging
];
# does not contain tests # does not contain tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "test_utils" ]; pythonImportsCheck = [
"test_utils"
];
meta = with lib; { meta = with lib; {
description = "System test utilities for google-cloud-python"; description = "System test utilities for google-cloud-python";
homepage = "https://github.com/googleapis/python-test-utils"; homepage = "https://github.com/googleapis/python-test-utils";
changelog ="https://github.com/googleapis/python-test-utils/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,32 +1,32 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-api-core , google-api-core
, libcst
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-texttospeech"; pname = "google-cloud-texttospeech";
version = "2.12.3"; version = "2.13.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-gnSl/W0mTv6It//+xV5ti0Rd6io1Gh4yxd0arrbEPtQ="; hash = "sha256-jpDwERTLRmS1mO2O2OboZa6AAUh3k/Dyg77TCVTqLok=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
libcst
google-api-core google-api-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Text-to-Speech API client library"; description = "Google Cloud Text-to-Speech API client library";
homepage = "https://github.com/googleapis/python-texttospeech"; homepage = "https://github.com/googleapis/python-texttospeech";
changelog = "https://github.com/googleapis/python-texttospeech/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -2,32 +2,32 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, google-cloud-core
, google-cloud-testutils , google-cloud-testutils
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-trace"; pname = "google-cloud-trace";
version = "1.7.3"; version = "1.8.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-HFntFmPn3FPhCrB+nnJlBD9zqG2jDsP2naEl2IxhRqE="; hash = "sha256-dKywvDNcvDOULHREKcHWIBVVBBzrttICX+VgcborJVI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
google-cloud-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Trace API client library"; description = "Cloud Trace API client library";
homepage = "https://github.com/googleapis/python-trace"; homepage = "https://github.com/googleapis/python-trace";
changelog = "https://github.com/googleapis/python-trace/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,35 +1,35 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-api-core , google-api-core
, google-cloud-core , google-cloud-core
, google-cloud-testutils , google-cloud-testutils
, libcst
, mock , mock
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-translate"; pname = "google-cloud-translate";
version = "3.8.4"; version = "3.9.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-cptSFyAByZRZ7Dr93skVPeCvUoh0/PMACp3dmOEQfuc="; hash = "sha256-XPfN+IN5gc5KQEXPeaYF5gIlHPxmDoe90RKFqNG6eF8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
google-cloud-core google-cloud-core
libcst
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -53,6 +53,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Translation API client library"; description = "Google Cloud Translation API client library";
homepage = "https://github.com/googleapis/python-translate"; homepage = "https://github.com/googleapis/python-translate";
changelog = "https://github.com/googleapis/python-translate/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,31 +1,33 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, mock
, google-api-core , google-api-core
, google-cloud-testutils , google-cloud-testutils
, mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-videointelligence"; pname = "google-cloud-videointelligence";
version = "2.8.3"; version = "2.9.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-pB7exeGYpFT4nf3YuIhoI+bqG6YYEP6oWs0tohkOIbw="; hash = "sha256-gd0cJX6XHwQguNJ7jFDUVwQg9eNk0ZUL4VH5L+3K+Lw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
google-cloud-testutils google-cloud-testutils
@ -51,6 +53,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Video Intelligence API client library"; description = "Google Cloud Video Intelligence API client library";
homepage = "https://github.com/googleapis/python-videointelligence"; homepage = "https://github.com/googleapis/python-videointelligence";
changelog = "https://github.com/googleapis/python-videointelligence/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -2,31 +2,31 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-api-core , google-api-core
, libcst
, mock , mock
, proto-plus , proto-plus
, pytestCheckHook , protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-vision"; pname = "google-cloud-vision";
version = "3.1.4"; version = "3.2.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-1nqU9Sr+tWPK3l5r7UiFD0wA3+UmYcHFT4ta2bdRL+U="; hash = "sha256-SZQxkx57cY+8q4Mg880jT8TlYcfwLz4KEpHiyOb2Ujc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
libcst
google-api-core google-api-core
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -47,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Cloud Vision API API client library"; description = "Cloud Vision API API client library";
homepage = "https://github.com/googleapis/python-vision"; homepage = "https://github.com/googleapis/python-vision";
changelog = "https://github.com/googleapis/python-vision/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,34 +1,32 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook
, google-api-core , google-api-core
, libcst
, mock , mock
, protobuf
, proto-plus , proto-plus
, protobuf
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-websecurityscanner"; pname = "google-cloud-websecurityscanner";
version = "1.9.2"; version = "1.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-fUnoV5I9kMwC9zUdsHit6MbIYFV+3E+GT76vwEmzNNs="; hash = "sha256-93ijizxgVFxXzj8IzxrgzzXTQKl7UH3egvL41HVk5is=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-api-core google-api-core
libcst
protobuf
proto-plus proto-plus
]; protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ checkInputs = [
mock mock
@ -44,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Google Cloud Web Security Scanner API client library"; description = "Google Cloud Web Security Scanner API client library";
homepage = "https://github.com/googleapis/python-websecurityscanner"; homepage = "https://github.com/googleapis/python-websecurityscanner";
changelog = "https://github.com/googleapis/python-websecurityscanner/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,27 +1,49 @@
{ lib { lib
, aiohttp
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, google-auth , google-auth
, google-cloud-testutils , google-cloud-testutils
, google-crc32c , google-crc32c
, mock , mock
, pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests , requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-resumable-media"; pname = "google-resumable-media";
version = "2.4.0"; version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-jVUYUC+SuezISsRneb1PCWlOyzujij58pzeobRXLyh8="; hash = "sha256-jVUYUC+SuezISsRneb1PCWlOyzujij58pzeobRXLyh8=";
}; };
propagatedBuildInputs = [ google-auth google-crc32c requests ]; propagatedBuildInputs = [
google-auth
google-crc32c
];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ]; passthru.optional-dependencies = {
requests = [
requests
];
aiohttp = [
aiohttp
];
};
checkInputs = [
google-cloud-testutils
mock
pytest-asyncio
pytestCheckHook
] ++ passthru.optional-dependencies.requests;
preCheck = '' preCheck = ''
# prevent shadowing imports # prevent shadowing imports
@ -40,6 +62,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Utilities for Google Media Downloads and Resumable Uploads"; description = "Utilities for Google Media Downloads and Resumable Uploads";
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python"; homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
changelog = "https://github.com/googleapis/google-resumable-media-python/blob/v${version}/CHANGELOG.md";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };

View file

@ -1,44 +1,53 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi
, pytest
, six
, decorator , decorator
, fetchPypi
, invocations
, invoke
, pytest
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.1.5";
pname = "pytest-relaxed"; pname = "pytest-relaxed";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e39a7e5b14e14dfff0de0ad720dfffa740c128d599ab14cfac13f4deb34164a6"; hash = "sha256-Szc8x1Rmb/YPVCWmnLQUZCwqEc56RsjOBmpzjkCSyjk=";
}; };
# newer decorator versions are incompatible and cause the test suite to fail buildInputs = [
# but only a few utility functions are used from this package which means it has no actual impact on test execution in paramiko and Fabric pytest
postPatch = '' ];
substituteInPlace setup.py \
--replace "decorator>=4,<5" "decorator>=4" \
--replace "pytest>=3,<5" "pytest>=3"
'';
buildInputs = [ pytest ]; propagatedBuildInputs = [
decorator
];
propagatedBuildInputs = [ six decorator ]; checkInputs = [
invocations
invoke
pytestCheckHook
];
checkInputs = [ pytestCheckHook ]; pytestFlagsArray = [
"tests"
];
# lots of assertion errors mainly around decorator pythonImportsCheck = [
doCheck = false; "pytest_relaxed"
];
meta = with lib; { meta = with lib; {
homepage = "https://pytest-relaxed.readthedocs.io/"; homepage = "https://pytest-relaxed.readthedocs.io/";
description = "Relaxed test discovery/organization for pytest"; description = "Relaxed test discovery/organization for pytest";
changelog = "https://github.com/bitprophet/pytest-relaxed/blob/${version}/docs/changelog.rst";
license = licenses.bsd0; license = licenses.bsd0;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
# see https://github.com/bitprophet/pytest-relaxed/issues/12
broken = true;
}; };
} }

View file

@ -15,8 +15,8 @@ let
ocamlPackages.buildDunePackage rec { ocamlPackages.buildDunePackage rec {
inherit pname preBuild; inherit pname preBuild;
version = "1.8.1"; version = "1.8.1";
useDune2 = true; duneVersion = "3";
minimumOcamlVersion = "4.08.1"; minimalOcamlVersion = "4.08.1";
doCheck = true; doCheck = true;
src = fetchFromGitHub { src = fetchFromGitHub {

View file

@ -5,17 +5,17 @@
buildGoModule rec { buildGoModule rec {
pname = "trivy"; pname = "trivy";
version = "0.35.0"; version = "0.36.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aquasecurity"; owner = "aquasecurity";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-0lEKXCQ7os6hyqEuugNI8ogZiqJZq58VGafEKrcmV3I="; sha256 = "sha256-5yAfF/iRAbCJFXEcdhg7vqiMTpw7NNixFaQU93uSv6I=";
}; };
# hash missmatch on across linux and darwin # hash missmatch on across linux and darwin
proxyVendor = true; proxyVendor = true;
vendorSha256 = "sha256-cl6EShtXhe72fbKIMbma9pEGLPBVSNZMiHWi94BbkMM="; vendorSha256 = "sha256-9oG6xJ0D6SulN6ErC/F5Ycmly4wp+GCF8lftu+xoagE=";
excludedPackages = "misc"; excludedPackages = "misc";

View file

@ -1,20 +0,0 @@
--- a/configure.orig
+++ b/configure
@@ -9595,7 +9595,7 @@ fi
$as_echo "$ne_cv_lib_neon" >&6; }
if test "$ne_cv_lib_neon" = "yes"; then
ne_cv_lib_neonver=no
- for v in 27 28 29; do
+ for v in 27 28 29 30 31; do
case $ne_libver in
0.$v.*) ne_cv_lib_neonver=yes ;;
esac
@@ -10328,7 +10328,7 @@ fi
$as_echo "$ne_cv_lib_neon" >&6; }
if test "$ne_cv_lib_neon" = "yes"; then
ne_cv_lib_neonver=no
- for v in 27 28 29; do
+ for v in 27 28 29 30 31; do
case $ne_libver in
0.$v.*) ne_cv_lib_neonver=yes ;;
esac

View file

@ -1,35 +1,41 @@
{ lib, stdenv, fetchurl, fetchpatch, neon, pkg-config, readline, zlib, openssl }: { lib
, stdenv
, fetchurl
, neon
, pkg-config
, zlib
, openssl
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cadaver"; pname = "cadaver";
version = "0.23.3"; version = "0.24";
src = fetchurl { src = fetchurl {
url = "http://www.webdav.org/cadaver/cadaver-${version}.tar.gz"; url = "https://notroj.github.io/cadaver/cadaver-${version}.tar.gz";
sha256 = "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"; hash = "sha256-Rs/y8+vTLNMoNoEspHvMdTU/wr51fwk9qIwN2PEP1fY=";
}; };
patches = [ configureFlags = [
(fetchpatch { "--with-ssl"
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/disable-sslv2.patch?h=packages/cadaver";
name = "disable-sslv2.patch";
sha256 = "1qx65hv584wdarks51yhd3y38g54affkphm5wz27xiz4nhmbssrr";
})
# Cadaver also works with newer versions of neon than stated
# in the configure script
./configure.patch
]; ];
configureFlags = [ "--with-ssl" "--with-readline" ]; nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ]; buildInputs = [
buildInputs = [ neon readline zlib openssl ]; neon
openssl
zlib
];
meta = with lib; { meta = with lib; {
description = "A command-line WebDAV client"; description = "A command-line WebDAV client";
homepage = "http://www.webdav.org/cadaver"; homepage = "https://notroj.github.io/cadaver/";
changelog = "https://github.com/notroj/cadaver/blob/${version}/NEWS";
maintainers = with maintainers; [ ianwookim ]; maintainers = with maintainers; [ ianwookim ];
license = licenses.gpl2; license = licenses.gpl2Plus;
platforms = with platforms; linux ++ freebsd ++ openbsd; platforms = with platforms; linux ++ freebsd ++ openbsd;
}; };
} }

View file

@ -1,4 +1,4 @@
# frozen_string_literal: true # frozen_string_literal: true
source "https://rubygems.org" source "https://rubygems.org"
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.32" gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.2.33"

View file

@ -1,9 +1,9 @@
GIT GIT
remote: https://github.com/rapid7/metasploit-framework remote: https://github.com/rapid7/metasploit-framework
revision: 70f696d7322148eba2fca49c5219dcb9a0133c6e revision: c2aca5f1d6a798c3c595ef6953172def7bf532d5
ref: refs/tags/6.2.32 ref: refs/tags/6.2.33
specs: specs:
metasploit-framework (6.2.32) metasploit-framework (6.2.33)
actionpack (~> 6.0) actionpack (~> 6.0)
activerecord (~> 6.0) activerecord (~> 6.0)
activesupport (~> 6.0) activesupport (~> 6.0)
@ -128,7 +128,7 @@ GEM
arel-helpers (2.14.0) arel-helpers (2.14.0)
activerecord (>= 3.1.0, < 8) activerecord (>= 3.1.0, < 8)
aws-eventstream (1.2.0) aws-eventstream (1.2.0)
aws-partitions (1.684.0) aws-partitions (1.686.0)
aws-sdk-core (3.168.4) aws-sdk-core (3.168.4)
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0) aws-partitions (~> 1, >= 1.651.0)
@ -249,7 +249,7 @@ GEM
metasploit_payloads-mettle (1.0.20) metasploit_payloads-mettle (1.0.20)
method_source (1.0.0) method_source (1.0.0)
mini_portile2 (2.8.1) mini_portile2 (2.8.1)
minitest (5.16.3) minitest (5.17.0)
mqtt (0.5.0) mqtt (0.5.0)
msgpack (1.6.0) msgpack (1.6.0)
multi_json (1.15.0) multi_json (1.15.0)
@ -290,7 +290,7 @@ GEM
puma (6.0.1) puma (6.0.1)
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.6.2) racc (1.6.2)
rack (2.2.4) rack (2.2.5)
rack-protection (3.0.5) rack-protection (3.0.5)
rack rack
rack-test (2.0.2) rack-test (2.0.2)

View file

@ -15,13 +15,13 @@ let
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "metasploit-framework"; pname = "metasploit-framework";
version = "6.2.32"; version = "6.2.33";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rapid7"; owner = "rapid7";
repo = "metasploit-framework"; repo = "metasploit-framework";
rev = version; rev = version;
sha256 = "sha256-uadIhrmrvdxzp4PchPHOy9beODME0hhgNqEqGqxyAZ8="; sha256 = "sha256-b7MBY+rQxDlXBJumtA7Kqm2yXDP8hEVaCfo8ydreWoY=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -104,10 +104,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "16jpljblpy5drx2fj8nwsw41mmwp7xkadhrigp4rsiny4lb80qg8"; sha256 = "07gdradgxbkr5vjnc4gxcm01sahidx6yqc9fr8a8i1z4ivydzhz9";
type = "gem"; type = "gem";
}; };
version = "1.684.0"; version = "1.686.0";
}; };
aws-sdk-core = { aws-sdk-core = {
groups = ["default"]; groups = ["default"];
@ -604,12 +604,12 @@
platforms = []; platforms = [];
source = { source = {
fetchSubmodules = false; fetchSubmodules = false;
rev = "70f696d7322148eba2fca49c5219dcb9a0133c6e"; rev = "c2aca5f1d6a798c3c595ef6953172def7bf532d5";
sha256 = "17q1fan1lam16rh1ilh46cwdxmnbrvqq9p43lxrxrgdbp634i9xr"; sha256 = "11jsvvdcjg7s15d4b17w6dfb4vdar87b99lv0ibkki6hx9ih3cvg";
type = "git"; type = "git";
url = "https://github.com/rapid7/metasploit-framework"; url = "https://github.com/rapid7/metasploit-framework";
}; };
version = "6.2.32"; version = "6.2.33";
}; };
metasploit-model = { metasploit-model = {
groups = ["default"]; groups = ["default"];
@ -676,10 +676,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0516ypqlx0mlcfn5xh7qppxqc3xndn1fnadxawa8wld5dkcimy30"; sha256 = "1kjy67qajw4rnkbjs5jyk7kc3lyhz5613fwj1i8f6ppdk4zampy0";
type = "gem"; type = "gem";
}; };
version = "5.16.3"; version = "5.17.0";
}; };
mqtt = { mqtt = {
groups = ["default"]; groups = ["default"];
@ -947,10 +947,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0axc6w0rs4yj0pksfll1hjgw1k6a5q0xi2lckh91knfb72v348pa"; sha256 = "14xjykbmngjhb4p02b7yghf0gqgqjfpi6i028x9g6q6xs782ci3j";
type = "gem"; type = "gem";
}; };
version = "2.2.4"; version = "2.2.5";
}; };
rack-protection = { rack-protection = {
groups = ["default"]; groups = ["default"];

View file

@ -1,5 +1,4 @@
{ lib, stdenv { lib, stdenv
, gnumake42
, darwin , darwin
, fetchurl , fetchurl
, makeWrapper , makeWrapper
@ -44,11 +43,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sile"; pname = "sile";
version = "0.14.5"; version = "0.14.7";
src = fetchurl { src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz"; url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "01wf0rihksk2ldxgci5vzl3j575vnp6wgk12yd28mwzxkss6n39g"; sha256 = "01sx4368bws47989zdahhksgy5jgc1qw4hhvpib4qcz3fs6xpx9j";
}; };
configureFlags = [ configureFlags = [
@ -60,7 +59,6 @@ stdenv.mkDerivation rec {
gitMinimal gitMinimal
pkg-config pkg-config
makeWrapper makeWrapper
gnumake42
]; ];
buildInputs = [ buildInputs = [
luaEnv luaEnv

View file

@ -4815,6 +4815,8 @@ with pkgs;
jellyfin-media-player = libsForQt5.callPackage ../applications/video/jellyfin-media-player { jellyfin-media-player = libsForQt5.callPackage ../applications/video/jellyfin-media-player {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer; inherit (darwin.apple_sdk.frameworks) CoreFoundation Cocoa CoreAudio MediaPlayer;
# Disable pipewire to avoid segfault, see https://github.com/jellyfin/jellyfin-media-player/issues/341
mpv = wrapMpv (mpv-unwrapped.override { pipewireSupport = false; }) {};
}; };
jellyfin-mpv-shim = python3Packages.callPackage ../applications/video/jellyfin-mpv-shim { }; jellyfin-mpv-shim = python3Packages.callPackage ../applications/video/jellyfin-mpv-shim { };
@ -36395,7 +36397,10 @@ with pkgs;
csxcad = callPackage ../applications/science/electronics/csxcad { }; csxcad = callPackage ../applications/science/electronics/csxcad { };
dataexplorer = callPackage ../applications/science/electronics/dataexplorer { }; dataexplorer = callPackage ../applications/science/electronics/dataexplorer {
# executable fails at startup for jdk > 17
jdk = jdk17;
};
diylc = callPackage ../applications/science/electronics/diylc { }; diylc = callPackage ../applications/science/electronics/diylc { };

View file

@ -328,8 +328,12 @@ let
domain-name = callPackage ../development/ocaml-modules/domain-name { }; domain-name = callPackage ../development/ocaml-modules/domain-name { };
domainslib = callPackage ../development/ocaml-modules/domainslib { };
dose3 = callPackage ../development/ocaml-modules/dose3 { }; dose3 = callPackage ../development/ocaml-modules/dose3 { };
dscheck = callPackage ../development/ocaml-modules/dscheck { };
dssi = callPackage ../development/ocaml-modules/dssi { }; dssi = callPackage ../development/ocaml-modules/dssi { };
dtoa = callPackage ../development/ocaml-modules/dtoa { }; dtoa = callPackage ../development/ocaml-modules/dtoa { };
@ -737,6 +741,8 @@ let
lo = callPackage ../development/ocaml-modules/lo { }; lo = callPackage ../development/ocaml-modules/lo { };
lockfree = callPackage ../development/ocaml-modules/lockfree { };
logs = callPackage ../development/ocaml-modules/logs { }; logs = callPackage ../development/ocaml-modules/logs { };
lru = callPackage ../development/ocaml-modules/lru { }; lru = callPackage ../development/ocaml-modules/lru { };
@ -1116,6 +1122,8 @@ let
ordering = callPackage ../development/ocaml-modules/ordering { }; ordering = callPackage ../development/ocaml-modules/ordering { };
oseq = callPackage ../development/ocaml-modules/oseq { };
otfm = callPackage ../development/ocaml-modules/otfm { }; otfm = callPackage ../development/ocaml-modules/otfm { };
otoml = callPackage ../development/ocaml-modules/otoml { }; otoml = callPackage ../development/ocaml-modules/otoml { };

View file

@ -84,6 +84,17 @@ let
buildPackages.binutils = nativePlatforms; buildPackages.binutils = nativePlatforms;
mpg123 = nativePlatforms; mpg123 = nativePlatforms;
}; };
# Enabled-but-unsupported platforms for which nix is known to build.
# We provide Hydra-built `nixStatic` for these platforms. This
# allows users to bootstrap their own system without either (a)
# trusting binaries from a non-Hydra source or (b) having to fight
# with their host distribution's versions of nix's numerous
# build dependencies.
nixCrossStatic = {
nixStatic = nativePlatforms;
};
in in
{ {
@ -226,4 +237,8 @@ in
# attribute, so there is no way to detect this -- we must add it # attribute, so there is no way to detect this -- we must add it
# as a special case. # as a special case.
(builtins.removeAttrs tools ["bootstrapTools"]); (builtins.removeAttrs tools ["bootstrapTools"]);
# Cross-built nixStatic for platforms for enabled-but-unsupported platforms
mips64el-nixCrossStatic = mapTestOnCross lib.systems.examples.mips64el-linux-gnuabi64 nixCrossStatic;
powerpc64le-nixCrossStatic = mapTestOnCross lib.systems.examples.powernv nixCrossStatic;
} }