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

27 lines
431 B
Nix

{ python3Packages, lib }:
python3Packages.buildPythonApplication {
pname = "upc-qaire-exporter";
version = "1.0";
pyproject = true;
src = ./.;
doCheck = false;
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
prometheus-client
requests
];
meta = with lib; {
description = "UPC Qaire Prometheus Exporter";
platforms = platforms.linux;
};
}