at 24.05-pre 699 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, tzlocal 5, six 6, pyjsparser 7}: 8 9buildPythonPackage rec { 10 pname = "js2py"; 11 version = "0.74"; 12 13 src = fetchPypi { 14 pname = "Js2Py"; 15 inherit version; 16 hash = "sha256-OfOmqoRpGA77o8hncnHfJ8MTMv0bRx3xryr1i4e4ly8="; 17 }; 18 19 propagatedBuildInputs = [ 20 pyjsparser 21 six 22 tzlocal 23 ]; 24 25 # Test require network connection 26 doCheck = false; 27 28 pythonImportsCheck = [ "js2py" ]; 29 30 meta = with lib; { 31 description = "JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python"; 32 homepage = "https://github.com/PiotrDabkowski/Js2Py"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ onny ]; 35 }; 36}