Aleix Boné bc74b7d42b
Set pyproject=true in buildPythonApplication
Fixes:
```
To build with setuptools as before, set `pyproject = true` and `build-system = [ setuptools ]
```
2025-11-26 18:50:30 +01:00

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