nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 789 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "shortuuid"; 11 version = "1.0.13"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-O7nPB/YGJgWEsd9GOZwLh92Edz57JZErfjkeMHl8XnI="; 17 }; 18 19 build-system = [ poetry-core ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "shortuuid" ]; 24 25 meta = { 26 description = "Library to generate concise, unambiguous and URL-safe UUIDs"; 27 mainProgram = "shortuuid"; 28 homepage = "https://github.com/stochastic-technologies/shortuuid/"; 29 changelog = "https://github.com/skorokithakis/shortuuid/blob/v${version}/CHANGELOG.md"; 30 license = lib.licenses.bsd3; 31 maintainers = with lib.maintainers; [ zagy ]; 32 }; 33}