linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / prometheus-flask-exporter / default.nix
blobdc35aea6cd1172e896e19618e81fc46a5b1fc54b
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.18.1";
13   src = fetchFromGitHub {
14     owner = "rycus86";
15     repo = "prometheus_flask_exporter";
16     rev = version;
17     sha256 = "1dwisp681w0f6zf0000rxd3ksdb48zb9mr38qfdqk2ir24y8w370";
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   };