diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-05-11 18:21:41 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-05-11 18:31:48 +0200 |
commit | 59a6f939f83789c2f132bfda50fe0b1dc190f102 (patch) | |
tree | 71db82fdcaba066145558d4c1a3818adf94f51b1 /pkgs/development/python-modules/prometheus_client/default.nix | |
parent | 9d0202faa123aac3067065bb3f2ffd47d4610f0b (diff) | |
download | nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar.gz nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar.bz2 nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar.lz nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar.xz nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.tar.zst nixpkgs-59a6f939f83789c2f132bfda50fe0b1dc190f102.zip |
pythonPackages.prometheus_client: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/prometheus_client/default.nix')
-rw-r--r-- | pkgs/development/python-modules/prometheus_client/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/prometheus_client/default.nix b/pkgs/development/python-modules/prometheus_client/default.nix new file mode 100644 index 00000000000..eaf353af082 --- /dev/null +++ b/pkgs/development/python-modules/prometheus_client/default.nix @@ -0,0 +1,19 @@ +{ lib, stdenv, buildPythonPackage, fetchPypi, pytest }: + +buildPythonPackage rec { + pname = "prometheus_client"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1r3510jq6iryd2a8jln2qpvqy112y5502ncbfkn116xl7gj74r6r"; + }; + + doCheck = false; + + meta = with lib; { + description = "Prometheus instrumentation library for Python applications"; + homepage = https://github.com/prometheus/client_python; + license = licenses.asl20; + }; +} |