about summary refs log tree commit diff
path: root/pkgs/development/python-modules/globre/default.nix
blob: a270a2b4c430ce40dfbf08b4da416f41689da64f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, pythonAtLeast
, buildPythonPackage
, fetchPypi
, nose
, coverage
}:

buildPythonPackage rec {
  pname = "globre";
  version = "0.1.5";
  format = "setuptools";
  # https://github.com/metagriffin/globre/issues/7
  disabled = pythonAtLeast "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1qhjpg0722871dm5m7mmldf6c7mx58fbdvk1ix5i3s9py82448gf";
  };

  nativeCheckInputs = [ nose coverage ];

  meta = with lib; {
    homepage = "https://github.com/metagriffin/globre";
    description = "A python glob-like regular expression generation library.";
    maintainers = with maintainers; [ glittershark ];
    license = licenses.gpl3;
  };
}