If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
36 lines
688 B
Nix
36 lines
688 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
let
|
|
pname = "hifiscan";
|
|
version = "1.5.2";
|
|
hash = "sha256-8eystqjNdDP2X9beogRcsa+Wqu50uMHZv59jdc5GjUc=";
|
|
in
|
|
python3Packages.buildPythonApplication {
|
|
format = "setuptools";
|
|
inherit pname version;
|
|
|
|
pythonPath = with python3Packages; [
|
|
eventkit
|
|
numpy
|
|
sounddevice
|
|
pyqt6
|
|
pyqt6-sip
|
|
pyqtgraph
|
|
];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version hash;
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/erdewit/HiFiScan";
|
|
description = "Optimize the audio quality of your loudspeakers";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ cab404 ];
|
|
mainProgram = "hifiscan";
|
|
};
|
|
}
|