summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/stringbrewer/default.nix
blob: 32ba9eed8a5ce64330d0a4d33ee7efc360088a5f (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  rstr,
  sre-yield,
}:

buildPythonPackage rec {
  pname = "stringbrewer";
  version = "0.0.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-wtETgi+Tk1ALJzzIM6Ic5zkDbALGL0cELg8X75uepkk=";
  };

  propagatedBuildInputs = [
    rstr
    sre-yield
  ];

  # Package has no tests
  doCheck = false;
  pythonImportsCheck = [ "stringbrewer" ];

  meta = {
    description = "Python library to generate random strings matching a pattern";
    homepage = "https://github.com/simoncozens/stringbrewer";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ danc86 ];
  };
}