mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
Merge pull request #173954 from r-ryantm/auto-update/python3.10-shortuuid
python310Packages.shortuuid: 1.0.8 -> 1.0.9
This commit is contained in:
commit
a6691ae1ee
1 changed files with 16 additions and 10 deletions
|
@ -1,32 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, django
|
||||
, pep8
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shortuuid";
|
||||
version = "1.0.8";
|
||||
version = "1.0.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23";
|
||||
hash = "sha256-RZ8S+hrMNP8hOxNxRnwDJRaWRaMe2YniaIcjOa91Y9U=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
django
|
||||
pep8
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"shortuuid"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"shortuuid/tests.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A generator library for concise, unambiguous and URL-safe UUIDs";
|
||||
description = "Library to generate concise, unambiguous and URL-safe UUIDs";
|
||||
homepage = "https://github.com/stochastic-technologies/shortuuid/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ zagy ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue