1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6, regex
7}:
8
9buildPythonPackage rec {
10 pname = "rebulk";
11 version = "3.2.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-DTC/gPygD6nGlxhaxHXarJveX2Rs4zOMn/XV3B69/rw=";
19 };
20
21 propagatedBuildInputs = [
22 regex
23 ];
24
25 buildInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [
30 "rebulk"
31 ];
32
33 meta = with lib; {
34 description = "Advanced string matching from simple patterns";
35 homepage = "https://github.com/Toilal/rebulk/";
36 changelog = "https://github.com/Toilal/rebulk/blob/v${version}/CHANGELOG.md";
37 license = licenses.mit;
38 maintainers = with maintainers; [ ];
39 };
40}