at master 637 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "nanoid"; 10 version = "2.0.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-WoDK1enG6a46Qfovs0rhiffLQgsqXY+CvZ0jRm5O+mg="; 16 }; 17 18 doCheck = false; # tests not in sdist, git not tagged 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "nanoid" ]; 23 24 meta = with lib; { 25 description = "Tiny, secure, URL-friendly, unique string ID generator for Python"; 26 homepage = "https://github.com/puyuan/py-nanoid"; 27 license = licenses.mit; 28 maintainers = [ ]; 29 }; 30}