Merge pull request #173954 from r-ryantm/auto-update/python3.10-shortuuid

python310Packages.shortuuid: 1.0.8 -> 1.0.9

authored by

Ben Siraphob and committed by
GitHub
a6691ae1 60129f5a

+16 -10
+16 -10
pkgs/development/python-modules/shortuuid/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , isPy3k 4 3 , fetchPypi 5 - , django 6 - , pep8 4 + , pytestCheckHook 5 + , pythonOlder 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "shortuuid"; 11 - version = "1.0.8"; 10 + version = "1.0.9"; 11 + format = "setuptools"; 12 12 13 - disabled = !isPy3k; 13 + disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23"; 17 + hash = "sha256-RZ8S+hrMNP8hOxNxRnwDJRaWRaMe2YniaIcjOa91Y9U="; 18 18 }; 19 19 20 20 checkInputs = [ 21 - django 22 - pep8 21 + pytestCheckHook 22 + ]; 23 + 24 + pythonImportsCheck = [ 25 + "shortuuid" 26 + ]; 27 + 28 + pytestFlagsArray = [ 29 + "shortuuid/tests.py" 23 30 ]; 24 31 25 32 meta = with lib; { 26 - description = "A generator library for concise, unambiguous and URL-safe UUIDs"; 33 + description = "Library to generate concise, unambiguous and URL-safe UUIDs"; 27 34 homepage = "https://github.com/stochastic-technologies/shortuuid/"; 28 35 license = licenses.bsd3; 29 36 maintainers = with maintainers; [ zagy ]; 30 37 }; 31 - 32 38 }