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

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "11164sy9vwphf7iw60n4hmns2q6anazrkhc15lwi6sb2qmkjc541";
  };

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

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