blob: 23e8bb598b415fc1c10157453f7355240c96a813 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "nanoid";
version = "2.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-WoDK1enG6a46Qfovs0rhiffLQgsqXY+CvZ0jRm5O+mg=";
};
doCheck = false; # tests not in sdist, git not tagged
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nanoid" ];
meta = {
description = "Tiny, secure, URL-friendly, unique string ID generator for Python";
homepage = "https://github.com/puyuan/py-nanoid";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|