at master 687 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchPypi, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "lupa"; 12 version = "2.5"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-acaonyt7CKMEDX7Soe7MujejHdyS+hmTOcU6KuPEjDQ="; 20 }; 21 22 build-system = [ 23 cython 24 setuptools 25 ]; 26 27 pythonImportsCheck = [ "lupa" ]; 28 29 meta = with lib; { 30 description = "Lua in Python"; 31 homepage = "https://github.com/scoder/lupa"; 32 changelog = "https://github.com/scoder/lupa/blob/lupa-${version}/CHANGES.rst"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}