summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy DeHerrera <tim.deh@pm.me>2021-08-11 09:46:16 -0600
committerGitHub <noreply@github.com>2021-08-11 09:46:16 -0600
commit927ce1afc1db40869a463a37ea2738c27d425f80 (patch)
tree5e6229940308c776df15b1fb44cfabe5cbbcf682
parentMerge pull request #133519 from NixOS/backport-132739-to-release-21.05 (diff)
parentperlPackages: update newly introduced libraries for catalyst-prometheus to la... (diff)
downloadnixpkgs-927ce1afc1db40869a463a37ea2738c27d425f80.tar.gz
Merge pull request #133518 from NixOS/backport-133482-to-release-21.05
[Backport release-21.05] hydra-unstable: add missing perl deps
-rw-r--r--pkgs/development/tools/misc/hydra/common.nix2
-rw-r--r--pkgs/top-level/perl-packages.nix74
2 files changed, 76 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/hydra/common.nix b/pkgs/development/tools/misc/hydra/common.nix
index 9ad8295c9b9d..a056925bc239 100644
--- a/pkgs/development/tools/misc/hydra/common.nix
+++ b/pkgs/development/tools/misc/hydra/common.nix
@@ -26,6 +26,7 @@ let
CatalystPluginAccessLog
CatalystPluginAuthorizationRoles
CatalystPluginCaptcha
+ CatalystPluginPrometheusTiny
CatalystPluginSessionStateCookie
CatalystPluginSessionStoreFastMmap
CatalystPluginSmartURI
@@ -59,6 +60,7 @@ let
NetPrometheus
NetStatsd
PadWalker
+ PrometheusTinyShared
Readonly
SQLSplitStatement
SetScalar
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 92d412c9460a..7955178ed161 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -2150,6 +2150,21 @@ let
};
};
+ CatalystPluginPrometheusTiny = buildPerlPackage {
+ pname = "Catalyst-Plugin-PrometheusTiny";
+ version = "0.006";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/S/SY/SYSPETE/Catalyst-Plugin-PrometheusTiny-0.006.tar.gz";
+ sha256 = "1hd2nv21c2mq3yvhsys4a276bdwr5igs4b73m99v7ymzpabvjf9b";
+ };
+ buildInputs = [ HTTPMessage Plack SubOverride TestDeep ];
+ propagatedBuildInputs = [ CatalystRuntime Moose PrometheusTiny PrometheusTinyShared ];
+ meta = {
+ description = "Prometheus metrics for Catalyst";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
CatalystPluginSession = buildPerlPackage {
pname = "Catalyst-Plugin-Session";
version = "0.41";
@@ -4932,6 +4947,20 @@ let
};
};
+ DataRandom = buildPerlPackage {
+ pname = "Data-Random";
+ version = "0.13";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/B/BA/BAREFOOT/Data-Random-0.13.tar.gz";
+ sha256 = "eb590184a8db28a7e49eab09e25f8650c33f1f668b6a472829de74a53256bfc0";
+ };
+ buildInputs = [ FileShareDirInstall TestMockTime ];
+ meta = {
+ description = "Perl module to generate random data";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
DataSection = buildPerlPackage {
pname = "Data-Section";
version = "0.200007";
@@ -9402,6 +9431,20 @@ let
};
};
+ HashSharedMem = buildPerlModule {
+ pname = "Hash-SharedMem";
+ version = "0.005";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/Z/ZE/ZEFRAM/Hash-SharedMem-0.005.tar.gz";
+ sha256 = "324776808602f7bdc44adaa937895365454029a926fa611f321c9bf6b940bb5e";
+ };
+ buildInputs = [ ScalarString ];
+ meta = {
+ description = "Efficient shared mutable hash";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
HashUtilFieldHashCompat = buildPerlPackage {
pname = "Hash-Util-FieldHash-Compat";
version = "0.11";
@@ -17420,6 +17463,37 @@ let
propagatedBuildInputs = [ IPCSignal ];
};
+ PrometheusTiny = buildPerlPackage {
+ pname = "Prometheus-Tiny";
+ version = "0.008";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/R/RO/ROBN/Prometheus-Tiny-0.008.tar.gz";
+ sha256 = "17d7b69chkcq8fprww6m15glndyb0lms2l0xjbnbw04q7f8ncskk";
+ };
+ buildInputs = [ HTTPMessage Plack TestException ];
+ meta = {
+ homepage = "https://github.com/robn/Prometheus-Tiny";
+ description = "A tiny Prometheus client";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
+ PrometheusTinyShared = buildPerlPackage {
+ pname = "Prometheus-Tiny-Shared";
+ version = "0.024";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/R/RO/ROBN/Prometheus-Tiny-Shared-0.024.tar.gz";
+ sha256 = "02w24r4amk8dqlavg6abxap48hzxrbda48f1pmrqypgx1cz59g4g";
+ };
+ buildInputs = [ DataRandom HTTPMessage Plack TestDifferences TestException ];
+ propagatedBuildInputs = [ HashSharedMem JSONXS PrometheusTiny ];
+ meta = {
+ homepage = "https://github.com/robn/Prometheus-Tiny-Shared";
+ description = "A tiny Prometheus client with a shared database behind it";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
ProtocolRedis = buildPerlPackage {
pname = "Protocol-Redis";
version = "1.0011";