mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
python3Packages.nanoid: init at 2.0.0
This commit is contained in:
parent
92fc29a8bc
commit
73f51168cb
33
pkgs/development/python-modules/nanoid/default.nix
Normal file
33
pkgs/development/python-modules/nanoid/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nanoid";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-WoDK1enG6a46Qfovs0rhiffLQgsqXY+CvZ0jRm5O+mg=";
|
||||
};
|
||||
|
||||
doCheck = false; # tests not in sdist, git not tagged
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nanoid"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tiny, secure, URL-friendly, unique string ID generator for Python";
|
||||
homepage = "https://github.com/puyuan/py-nanoid";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -6088,6 +6088,8 @@ self: super: with self; {
|
||||
|
||||
nampa = callPackage ../development/python-modules/nampa { };
|
||||
|
||||
nanoid = callPackage ../development/python-modules/nanoid { };
|
||||
|
||||
nanoleaf = callPackage ../development/python-modules/nanoleaf { };
|
||||
|
||||
nomadnet = callPackage ../development/python-modules/nomadnet { };
|
||||
|
Loading…
Reference in New Issue
Block a user