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

32 lines
601 B
Nix
Raw Normal View History

{
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 ];
};
}