2017-06-18 14:18:40 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rebulk";
|
2018-10-24 07:49:34 +02:00
|
|
|
version = "1.0.0";
|
2017-06-18 14:18:40 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-24 07:49:34 +02:00
|
|
|
sha256 = "162rad86slg4gmzxy33pnyyzm4hhcszcpjpw1vk79f3gxzvy8j8x";
|
2017-06-18 14:18:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some kind of trickery with imports that doesn't work.
|
|
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytest pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ six regex ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/Toilal/rebulk/;
|
2017-06-18 14:18:40 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Advanced string matching from simple patterns";
|
|
|
|
};
|
|
|
|
}
|