1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 unittestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "sre-yield";
11 version = "1.2";
12 format = "setuptools";
13
14 src = fetchPypi {
15 pname = "sre_yield";
16 inherit version;
17 hash = "sha256-6U8aKjy6//4dzRXB1U5AGhUX4FKqZMfTFk+I3HYde4o=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 nativeCheckInputs = [ unittestCheckHook ];
23
24 meta = with lib; {
25 description = "Python library to efficiently generate all values that can match a given regular expression";
26 mainProgram = "demo_sre_yield";
27 homepage = "https://github.com/sre-yield/sre-yield";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ danc86 ];
30 };
31}