Files
nixpkgs/pkgs/by-name/pr/pretalx/plugins/openmetrics.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
857 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unstableGitUpdater,
}:
buildPythonPackage {
pname = "pretalx-openmetrics";
version = "unstable-2025-05-25";
pyproject = true;
src = fetchFromGitHub {
owner = "why2025-datenzone";
repo = "pretalx-openmetrics";
rev = "1121a5d430c403bc9aedb7ae8b1aa81219c8a58f";
hash = "sha256-reQA61JFZsYWE/CAL28Oe60CmGANt0phXLzz9YGtDYQ=";
};
build-system = [
setuptools
];
doCheck = false; # no tests
pythonImportsCheck = [
"pretalx_openmetrics"
];
# no tagged release yet
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "OpenMetrics instrumentation plugin";
homepage = "https://github.com/why2025-datenzone/pretalx-openmetrics";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}