2018-10-26 18:20:02 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "shortuuid";
|
2018-11-04 10:35:16 +00:00
|
|
|
version = "0.5.0";
|
2018-10-26 18:20:02 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:16 +00:00
|
|
|
sha256 = "d08fd398f40f8baf87e15eef8355e92fa541bca4eb8465fefab7ee22f92711b9";
|
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";
|
|
|
|
homepage = https://github.com/stochastic-technologies/shortuuid/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ zagy ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|