2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
|
2017-06-18 12:18:40 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rebulk";
|
2021-03-24 09:28:26 +00:00
|
|
|
version = "3.0.1";
|
2017-06-18 12:18:40 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:26 +00:00
|
|
|
sha256 = "025d191c11abf9174c6aff0006579624047d3371a654333c4bf7a4b421552cdc";
|
2017-06-18 12:18:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some kind of trickery with imports that doesn't work.
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytest pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ six regex ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Toilal/rebulk/";
|
2017-06-18 12:18:40 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Advanced string matching from simple patterns";
|
|
|
|
};
|
|
|
|
}
|