about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sre-yield/default.nix
blob: 68d8c43ebb13a4b0c08ab84f16e457a09dabb1dc (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
30
31
32
33
34
35
36
{ 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
  ];

  doCheck = true;
  nativeCheckInputs = [
    unittestCheckHook
  ];

  meta = with lib; {
    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 = licenses.asl20;
    maintainers = with maintainers; [ danc86 ];
  };
}