1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchPypi
5, pep8
6}:
7
8buildPythonPackage rec {
9 pname = "shortuuid";
10 version = "1.0.1";
11
12 disabled = !isPy3k;
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f";
17 };
18
19 buildInputs = [pep8];
20
21 meta = with lib; {
22 description = "A generator library for concise, unambiguous and URL-safe UUIDs";
23 homepage = "https://github.com/stochastic-technologies/shortuuid/";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ zagy ];
26 };
27
28}