2017-06-18 13:18:40 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rebulk";
|
2019-08-20 18:57:44 +01:00
|
|
|
version = "1.0.1";
|
2017-06-18 13:18:40 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 18:57:44 +01:00
|
|
|
sha256 = "11164sy9vwphf7iw60n4hmns2q6anazrkhc15lwi6sb2qmkjc541";
|
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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +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";
|
|
|
|
};
|
|
|
|
}
|