567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
599 B
Nix
32 lines
599 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 = {
|
|
description = "Python cffi bindings for the oniguruma regex engine";
|
|
homepage = "https://github.com/asottile/onigurumacffi";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ melkor333 ];
|
|
};
|
|
}
|