2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2020-10-11 12:50:04 +00:00
|
|
|
, isPy3k
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
2021-12-26 17:43:05 +00:00
|
|
|
, django
|
2020-04-24 23:36:52 +00:00
|
|
|
, pep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "shortuuid";
|
2021-12-26 17:43:05 +00:00
|
|
|
version = "1.0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-26 17:43:05 +00:00
|
|
|
sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
checkInputs = [
|
|
|
|
django
|
|
|
|
pep8
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A generator library for concise, unambiguous and URL-safe UUIDs";
|
|
|
|
homepage = "https://github.com/stochastic-technologies/shortuuid/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ zagy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|