1{ lib
2, pythonAtLeast
3, buildPythonPackage
4, fetchPypi
5, nose
6, coverage
7}:
8
9buildPythonPackage rec {
10 pname = "globre";
11 version = "0.1.5";
12 # https://github.com/metagriffin/globre/issues/7
13 disabled = pythonAtLeast "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1qhjpg0722871dm5m7mmldf6c7mx58fbdvk1ix5i3s9py82448gf";
18 };
19
20 nativeCheckInputs = [ nose coverage ];
21
22 meta = with lib; {
23 homepage = "https://github.com/metagriffin/globre";
24 description = "A python glob-like regular expression generation library.";
25 maintainers = with maintainers; [ glittershark ];
26 license = licenses.gpl3;
27 };
28}