nixpkgs/pkgs/development/python-modules/rebulk/default.nix

23 lines
612 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner, six, regex}:
2017-06-18 12:18:40 +00:00
buildPythonPackage rec {
pname = "rebulk";
2021-03-24 09:28:26 +00:00
version = "3.0.1";
2017-06-18 12:18:40 +00:00
src = fetchPypi {
inherit pname version;
2021-03-24 09:28:26 +00:00
sha256 = "025d191c11abf9174c6aff0006579624047d3371a654333c4bf7a4b421552cdc";
2017-06-18 12:18:40 +00:00
};
# Some kind of trickery with imports that doesn't work.
doCheck = false;
buildInputs = [ pytest pytest-runner ];
2017-06-18 12:18:40 +00:00
propagatedBuildInputs = [ six regex ];
meta = with lib; {
homepage = "https://github.com/Toilal/rebulk/";
2017-06-18 12:18:40 +00:00
license = licenses.mit;
description = "Advanced string matching from simple patterns";
};
}