bencodetools: Drop python module building

Newest python makes "setup.py install" not work anymore. This is likely better handled by making this
a proper pythonPackages entry anyway.
This commit is contained in:
OPNA2608
2024-11-11 12:41:13 +01:00
parent db23837a18
commit 33ec1b434b
+10 -4
View File
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitLab,
python3,
}:
stdenv.mkDerivation {
@@ -24,13 +23,20 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
nativeBuildInputs = [
(python3.withPackages (ps: with ps; [ distutils ]))
configureFlags = [
(lib.strings.withFeature false "python")
];
# installCheck instead of check due to -install_name'd library on Darwin
doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
installCheckTarget = "check";
installCheckPhase = ''
runHook preInstallCheck
./bencodetest
runHook postInstallCheck
'';
meta = with lib; {
description = "Collection of tools for manipulating bencoded data";