python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / shortuuid / default.nix
blob1ccefc016c93387952b06f420d51eb36095a12c7
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "shortuuid";
12   version = "1.0.13";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-O7nPB/YGJgWEsd9GOZwLh92Edz57JZErfjkeMHl8XnI=";
20   };
22   build-system = [ poetry-core ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "shortuuid" ];
28   meta = with lib; {
29     description = "Library to generate concise, unambiguous and URL-safe UUIDs";
30     mainProgram = "shortuuid";
31     homepage = "https://github.com/stochastic-technologies/shortuuid/";
32     changelog = "https://github.com/skorokithakis/shortuuid/blob/v${version}/CHANGELOG.md";
33     license = licenses.bsd3;
34     maintainers = with maintainers; [ zagy ];
35   };