forked from rarias/jungle
Fixes: ``` To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ] ```
28 lines
444 B
Nix
28 lines
444 B
Nix
{ python3Packages, lib }:
|
|
|
|
python3Packages.buildPythonApplication {
|
|
pname = "meteocat-exporter";
|
|
version = "1.0";
|
|
|
|
pyproject = true;
|
|
|
|
src = ./.;
|
|
|
|
doCheck = false;
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
beautifulsoup4
|
|
lxml
|
|
prometheus-client
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "MeteoCat Prometheus Exporter";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|