15 buildPythonPackage rec {
16 pname = "prometheus-fastapi-instrumentator";
20 disabled = pythonOlder "3.9";
22 src = fetchFromGitHub {
24 repo = "prometheus-fastapi-instrumentator";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-yvKdhQdbY0+jEc8TEHNNgtdnqE0abnd4MN/JZFQwQ2E=";
46 pythonImportsCheck = [ "prometheus_fastapi_instrumentator" ];
49 description = "Instrument FastAPI with Prometheus metrics";
50 homepage = "https://github.com/trallnag/prometheus-fastapi-instrumentator";
51 changelog = "https://github.com/trallnag/prometheus-fastapi-instrumentator/blob/${src.rev}/CHANGELOG.md";
52 license = with lib.licenses; [ isc bsd3 ];
53 maintainers = with lib.maintainers; [ bcdarwin ];
54 platforms = lib.platforms.linux; # numerous test failures on Darwin