about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rebulk/default.nix
blob: cab55c3a29fea9d128c5a345560bd7746b481a67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, regex
}:

buildPythonPackage rec {
  pname = "rebulk";
  version = "3.2.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-DTC/gPygD6nGlxhaxHXarJveX2Rs4zOMn/XV3B69/rw=";
  };

  propagatedBuildInputs = [
    regex
  ];

  buildInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "rebulk"
  ];

  meta = with lib; {
    description = "Advanced string matching from simple patterns";
    homepage = "https://github.com/Toilal/rebulk/";
    changelog = "https://github.com/Toilal/rebulk/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}