depot/third_party/nixpkgs/pkgs/development/python-modules/rebulk/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

22 lines
610 B
Nix

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