depot/third_party/nixpkgs/pkgs/development/python-modules/rebulk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
620 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
buildPythonPackage rec {
pname = "rebulk";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1b0d526859ef3e8647f37c606d7ae7c32259e370b3f1519e4219a3ba72740aec";
};
# Some kind of trickery with imports that doesn't work.
doCheck = false;
buildInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ six regex ];
meta = with stdenv.lib; {
homepage = "https://github.com/Toilal/rebulk/";
license = licenses.mit;
description = "Advanced string matching from simple patterns";
};
}