Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / shortuuid / default.nix
blobfda1e1896a5041636f1b9bf3c42502de37943163
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "shortuuid";
10   version = "1.0.11";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-/HXyYVkUgVqOTLFQGzpRN0XLZu8P1fxvufjD+jSB94k=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
24   pythonImportsCheck = [
25     "shortuuid"
26   ];
28   meta = with lib; {
29     description = "Library to generate concise, unambiguous and URL-safe UUIDs";
30     homepage = "https://github.com/stochastic-technologies/shortuuid/";
31     changelog = "https://github.com/skorokithakis/shortuuid/blob/v${version}/CHANGELOG.md";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ zagy ];
34   };