depot/pkgs/by-name/xe/xenon/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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";
};
}