summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sre-yield/default.nix
blob: 9b583b42c9dec0a7173946d01a99e9881752fdf0 (plain)
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
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "sre-yield";
  version = "1.2";
  format = "setuptools";

  src = fetchPypi {
    pname = "sre_yield";
    inherit version;
    hash = "sha256-6U8aKjy6//4dzRXB1U5AGhUX4FKqZMfTFk+I3HYde4o=";
  };

  nativeBuildInputs = [ setuptools ];

  nativeCheckInputs = [ unittestCheckHook ];

  meta = {
    description = "Python library to efficiently generate all values that can match a given regular expression";
    mainProgram = "demo_sre_yield";
    homepage = "https://github.com/sre-yield/sre-yield";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ danc86 ];
  };
}