Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / shortuuid / default.nix
blob17b69da44700b9a93cef0b919b06b01fe2765b9c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , poetry-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "shortuuid";
11   version = "1.0.13";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-O7nPB/YGJgWEsd9GOZwLh92Edz57JZErfjkeMHl8XnI=";
19   };
21   build-system = [
22     poetry-core
23   ];
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "shortuuid"
31   ];
33   meta = with lib; {
34     description = "Library to generate concise, unambiguous and URL-safe UUIDs";
35     mainProgram = "shortuuid";
36     homepage = "https://github.com/stochastic-technologies/shortuuid/";
37     changelog = "https://github.com/skorokithakis/shortuuid/blob/v${version}/CHANGELOG.md";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ zagy ];
40   };