ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / prometheus-client / default.nix
blobaacde11916e585d8608e576370ac8f324f8e74d6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "prometheus-client";
10   version = "0.15.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "prometheus";
17     repo = "client_python";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-LabvQMNiRH4jclMnN0P4M3w25NQasNQEu1HWvRDQQ2o=";
20   };
22   checkInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "prometheus_client"
28   ];
30   meta = with lib; {
31     description = "Prometheus instrumentation library for Python applications";
32     homepage = "https://github.com/prometheus/client_python";
33     license = licenses.asl20;
34     maintainers = with maintainers; [ ];
35   };