summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/xeger/default.nix
blob: 0dc10b852e91f847198305da4b52a958bed244fa (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
32
33
34
35
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "xeger";
  version = "0.3.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "crdoconnor";
    repo = "xeger";
    tag = version;
    hash = "sha256-XujytGzBwJ59C5VihuFUJUxqhyjOIU4sI60hXUqLQvM=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "xeger" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    description = "Library to generate random strings from regular expressions";
    homepage = "https://github.com/crdoconnor/xeger";
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}