43 lines
815 B
Nix
43 lines
815 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchFromGitHub
|
||
|
, setuptools
|
||
|
, wheel
|
||
|
, buildbot
|
||
|
, 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 = [
|
||
|
buildbot
|
||
|
prometheus-client
|
||
|
twisted
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "buildbot_prometheus" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "";
|
||
|
homepage = "https://github.com/claws/buildbot-prometheus";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ raitobezarius ];
|
||
|
};
|
||
|
}
|