2024-05-06 12:26:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, setuptools
|
|
|
|
, wheel
|
2024-05-11 18:04:21 +00:00
|
|
|
# Because python3Packages.buildbot and pkgs.buildbot are colliding...
|
|
|
|
, pkgs
|
2024-05-06 12:26:32 +00:00
|
|
|
, prometheus-client
|
|
|
|
, twisted
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "buildbot-prometheus";
|
|
|
|
version = "unstable-2024-05-06";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "claws";
|
|
|
|
repo = "buildbot-prometheus";
|
|
|
|
rev = "0c81a89bbe34628362652fbea416610e215b5d1e";
|
|
|
|
hash = "sha256-bz2Nv2RZ44i1VoPvQ/XjGMfTT6TmW6jhEVwItPk23SM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-05-11 18:04:21 +00:00
|
|
|
pkgs.buildbot
|
2024-05-06 12:26:32 +00:00
|
|
|
prometheus-client
|
|
|
|
twisted
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "buildbot_prometheus" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "";
|
|
|
|
homepage = "https://github.com/claws/buildbot-prometheus";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ raitobezarius ];
|
|
|
|
};
|
|
|
|
}
|