nixpkgs/pkgs/development/python-modules/onigurumacffi/default.nix

32 lines
601 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
oniguruma,
setuptools,
cffi,
}:
buildPythonPackage rec {
pname = "onigurumacffi";
version = "1.4.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-W/vB725dEXniJFP4JDeoJPnVdx4M5l86csprnGEiZTY=";
};
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 ];
};
}