Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 29 lines 614 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5 oniguruma, 6}: 7python3Packages.buildPythonPackage rec { 8 pname = "onigurumacffi"; 9 version = "1.3.0"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-d0XNxWCWrOyIofOwhmCiKwnGWe040/WdtsHK12qXa+8="; 15 }; 16 17 buildInputs = with python3Packages; [ 18 oniguruma 19 setuptools 20 cffi 21 ]; 22 23 meta = with lib; { 24 description = "Python cffi bindings for the oniguruma regex engine"; 25 homepage = "https://github.com/asottile/onigurumacffi"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ melkor333 ]; 28 }; 29}