python312Packages.discid: use pyproject to fix build failure (#436132)

This commit is contained in:
Martin Weinelt
2025-08-23 14:08:19 +02:00
committed by GitHub
@@ -4,18 +4,23 @@
libdiscid,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "discid";
version = "1.3.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cWChIRrD1qbYIT+4jdPXPjKr5eATNqWkyYWwgql9QzU=";
};
build-system = [
setuptools
];
patchPhase =
let
extension = stdenv.hostPlatform.extensions.sharedLibrary;