1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 setuptools-scm,
7 unittestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "rstr";
12 version = "3.2.2";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-xKVk1N+0Ry2THRRcQ9HPGteMJFkhQud1W4hmF57qwBI=";
17 };
18
19 pyproject = true;
20
21 nativeBuildInputs = [
22 setuptools
23 setuptools-scm
24 ];
25
26 nativeCheckInputs = [ unittestCheckHook ];
27
28 meta = with lib; {
29 description = "Python library to generate random strings";
30 homepage = "https://github.com/leapfrogonline/rstr";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ danc86 ];
33 };
34}