2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
|
2017-06-18 13:18:40 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rebulk";
|
2020-05-09 11:01:58 +01:00
|
|
|
version = "2.0.1";
|
2017-06-18 13:18:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:58 +01:00
|
|
|
sha256 = "320ded3cc456347d828f95e9aa5f8bab77ac01943cad024c06012069fe19690a";
|
2017-06-18 13:18:40 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Toilal/rebulk/";
|
2017-06-18 13:18:40 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Advanced string matching from simple patterns";
|
|
|
|
};
|
|
|
|
}
|