2021-07-20 21:07:53 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, 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;
|
2021-07-20 21:07:53 +00:00
|
|
|
buildInputs = [ pytest pytest-runner ];
|
2017-06-18 12:18:40 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|