about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rebulk/default.nix
blob: 570654dc7e15f27a9453443f4597f471e61cb498 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, six, regex}:

buildPythonPackage rec {
  pname = "rebulk";
  version = "3.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "809de3a97c68afa831f7101b10d316fe62e061dc9f7f67a44b7738128721173a";
  };

  # Some kind of trickery with imports that doesn't work.
  doCheck = false;
  buildInputs = [ pytest pytest-runner ];
  propagatedBuildInputs = [ six regex ];

  meta = with lib; {
    homepage = "https://github.com/Toilal/rebulk/";
    license = licenses.mit;
    description = "Advanced string matching from simple patterns";
  };
}