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

23 lines
618 B
Nix
Raw Normal View History

2017-06-18 13:18:40 +01:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, six, regex}:
buildPythonPackage rec {
pname = "rebulk";
2019-10-24 07:47:47 +01:00
version = "2.0.0";
2017-06-18 13:18:40 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:47 +01:00
sha256 = "1b0d526859ef3e8647f37c606d7ae7c32259e370b3f1519e4219a3ba72740aec";
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; {
homepage = https://github.com/Toilal/rebulk/;
2017-06-18 13:18:40 +01:00
license = licenses.mit;
description = "Advanced string matching from simple patterns";
};
}