depot/third_party/nixpkgs/pkgs/by-name/xe/xenon/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
619 B
Nix

{ lib
, fetchPypi
, python3
}:
let
pname = "xenon";
version = "0.9.1";
in
python3.pkgs.buildPythonApplication {
inherit pname version;
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-1nRREcPiWLdJpP1CSxuJnZnqGDzqIyNl7i+I/n2AwDs=";
};
doCheck = false;
propagatedBuildInputs = with python3.pkgs; [ requests radon pyaml ];
meta = with lib; {
description = "Monitoring tool based on radon";
homepage = "https://github.com/rubik/xenon";
license = licenses.mit;
maintainers = with maintainers; [ jfvillablanca ];
mainProgram = "xenon";
};
}