ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / prometheus-flask-exporter / default.nix
blob09891d0d4bbb95268ffc527d35fab7110ba2f42e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flask
5 , prometheus-client
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "prometheus-flask-exporter";
11   version = "0.20.3";
13   src = fetchFromGitHub {
14     owner = "rycus86";
15     repo = "prometheus_flask_exporter";
16     rev = version;
17     sha256 = "sha256-l9Iw9fvXQMXzq1y/4Dml8uLPJWyqX6SDIXptJVw3cVQ=";
18   };
20   propagatedBuildInputs = [ flask prometheus-client ];
22   checkInputs = [ pytestCheckHook ];
23   pytestFlagsArray = [ "tests/" ];
25   meta = with lib; {
26     description = "Prometheus exporter for Flask applications";
27     homepage = "https://github.com/rycus86/prometheus_flask_exporter";
28     license = licenses.mit;
29     maintainers = with maintainers; [ lbpdt ];
30   };