1{
2 buildPythonPackage,
3 lib,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "slugid";
9 version = "2.0.0";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "taskcluster";
14 repo = "slugid.py";
15 rev = "v${version}";
16 sha256 = "McBxGRi8KqVhe2Xez5k4G67R5wBCCoh41dRsTKW4xMA=";
17 };
18
19 doCheck = false; # has no tests
20
21 pythonImportsCheck = [ "slugid" ];
22
23 meta = with lib; {
24 description = "URL-safe base64 UUID encoder for generating 22 character slugs";
25 homepage = "https://github.com/taskcluster/slugid.py";
26 license = licenses.mpl20;
27 maintainers = with maintainers; [ ];
28 };
29}