python312Packages.js2py: disable

This commit is contained in:
natsukium
2023-12-20 20:46:10 +01:00
committed by Martin Weinelt
parent 53e38d5513
commit e1f4c3f0ec
@@ -1,6 +1,8 @@
{ lib
, fetchPypi
, buildPythonPackage
, pythonAtLeast
, setuptools
, tzlocal
, six
, pyjsparser
@@ -9,7 +11,11 @@
buildPythonPackage rec {
pname = "js2py";
version = "0.74";
format = "setuptools";
pyproject = true;
# broken with Python 3.12
# https://github.com/PiotrDabkowski/Js2Py/issues/317
disabled = pythonAtLeast "3.12";
src = fetchPypi {
pname = "Js2Py";
@@ -17,6 +23,10 @@ buildPythonPackage rec {
hash = "sha256-OfOmqoRpGA77o8hncnHfJ8MTMv0bRx3xryr1i4e4ly8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyjsparser
six