159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
31 lines
601 B
Nix
31 lines
601 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
oniguruma,
|
|
setuptools,
|
|
cffi,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "onigurumacffi";
|
|
version = "1.3.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-d0XNxWCWrOyIofOwhmCiKwnGWe040/WdtsHK12qXa+8=";
|
|
};
|
|
|
|
buildInputs = [
|
|
oniguruma
|
|
setuptools
|
|
cffi
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python cffi bindings for the oniguruma regex engine";
|
|
homepage = "https://github.com/asottile/onigurumacffi";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ melkor333 ];
|
|
};
|
|
}
|