forked from rarias/jungle
The buildPythonPackage and buildPythonApplication functions now require an explicit format attribute. Previously the default format used setuptools and called setup.py from the source tree, which is deprecated. The modern alternative is to configure pyproject = true with 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;
|
|
};
|
|
}
|