Merge master into staging-next

main
github-actions[bot] 2 years ago committed by GitHub
commit 9baac13589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      nixos/tests/n8n.nix
  2. 1008
      pkgs/applications/networking/n8n/node-packages.nix
  3. 15
      pkgs/development/python-modules/pulumi/default.nix
  4. 22
      pkgs/servers/monitoring/prometheus/nats-exporter.nix
  5. 1
      pkgs/top-level/all-packages.nix

@ -7,7 +7,7 @@ let
in
{
name = "n8n";
meta.maintainers = with maintainers; [ freezeboy ];
meta.maintainers = with maintainers; [ freezeboy k900 ];
nodes.machine =
{ pkgs, ... }:
@ -19,7 +19,7 @@ in
testScript = ''
machine.wait_for_unit("n8n.service")
machine.wait_for_open_port("${toString port}")
machine.wait_for_open_port(${toString port})
machine.succeed("curl --fail http://localhost:${toString port}/")
'';
})

File diff suppressed because it is too large Load Diff

@ -66,20 +66,19 @@ buildPythonPackage rec {
black
];
pythonImportsCheck = ["pulumi"];
sourceRoot="source/sdk/python/lib";
# we apply the modifications done in the pulumi/sdk/python/Makefile
# but without the venv code
postPatch = ''
cp README.md sdk/python/lib
patchShebangs .
cd sdk/python/lib
substituteInPlace setup.py \
--replace "{VERSION}" "${version}"
cp ../../README.md .
sed -i "s/\''${VERSION}/${version}/g" setup.py
'';
# disabled because tests try to fetch go packages from the net
doCheck = false;
pythonImportsCheck = ["pulumi"];
meta = with lib; {
description = "Modern Infrastructure as Code. Any cloud, any language";
homepage = "https://github.com/pulumi/pulumi";

@ -0,0 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "prometheus-nats-exporter";
version = "0.9.3";
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2+nkWwa5n7DyVitnJ8gt7b72Y6XiiLM7ddTM2Cp9/LQ=";
};
vendorSha256 = "sha256-bsk6htRnb4NiaJXTHNjPGN9NEy8owRJujancK3nVIsA=";
meta = with lib; {
description = "Exporter for NATS metrics";
homepage = "https://github.com/nats-io/prometheus-nats-exporter";
license = licenses.asl20;
maintainers = with maintainers; [ bbigras ];
};
}

@ -22441,6 +22441,7 @@ with pkgs;
prometheus-minio-exporter = callPackage ../servers/monitoring/prometheus/minio-exporter { };
prometheus-modemmanager-exporter = callPackage ../servers/monitoring/prometheus/modemmanager-exporter.nix { };
prometheus-mysqld-exporter = callPackage ../servers/monitoring/prometheus/mysqld-exporter.nix { };
prometheus-nats-exporter = callPackage ../servers/monitoring/prometheus/nats-exporter.nix { };
prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { };
prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { };
prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { };

Loading…
Cancel
Save