Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
839 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "prometheus-client"; version = "0.16.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "prometheus"; repo = "client_python"; rev = "refs/tags/v${version}"; hash = "sha256-FYQE0toy5VFKNVadSsxG/5NCRANYJOcVR4bGPrCAxvc="; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "prometheus_client" ];
meta = with lib; { description = "Prometheus instrumentation library for Python applications"; homepage = "https://github.com/prometheus/client_python"; changelog = "https://github.com/prometheus/client_python/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ ]; };}