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