2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-26 13:20:02 -04:00
|
|
|
, buildPythonPackage
|
2020-10-10 11:06:51 +02:00
|
|
|
, isPy3k
|
2018-10-26 13:20:02 -04:00
|
|
|
, fetchPypi
|
2021-11-29 00:04:29 -08:00
|
|
|
, django
|
2018-10-26 13:20:02 -04:00
|
|
|
, pep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "shortuuid";
|
2021-11-25 14:47:15 -08:00
|
|
|
version = "1.0.8";
|
2018-10-26 13:20:02 -04:00
|
|
|
|
2020-10-10 11:06:51 +02:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-10-26 13:20:02 -04:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-25 14:47:15 -08:00
|
|
|
sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23";
|
2018-10-26 13:20:02 -04:00
|
|
|
};
|
|
|
|
|
2021-11-29 00:04:29 -08:00
|
|
|
checkInputs = [
|
|
|
|
django
|
|
|
|
pep8
|
|
|
|
];
|
2018-10-26 13:20:02 -04:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-26 13:20:02 -04:00
|
|
|
description = "A generator library for concise, unambiguous and URL-safe UUIDs";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/stochastic-technologies/shortuuid/";
|
2018-10-26 13:20:02 -04:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ zagy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|