2018-10-26 18:20:02 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2020-10-10 10:06:51 +01:00
|
|
|
, isPy3k
|
2018-10-26 18:20:02 +01:00
|
|
|
, fetchPypi
|
|
|
|
, pep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "shortuuid";
|
2020-06-06 07:47:31 +01:00
|
|
|
version = "1.0.1";
|
2018-10-26 18:20:02 +01:00
|
|
|
|
2020-10-10 10:06:51 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-10-26 18:20:02 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:31 +01:00
|
|
|
sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f";
|
2018-10-26 18:20:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pep8];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A generator library for concise, unambiguous and URL-safe UUIDs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/stochastic-technologies/shortuuid/";
|
2018-10-26 18:20:02 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ zagy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|