Files
nixpkgs/pkgs/development/python-modules/nanoid/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

31 lines
637 B
Nix

{
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
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nanoid" ];
meta = with lib; {
description = "Tiny, secure, URL-friendly, unique string ID generator for Python";
homepage = "https://github.com/puyuan/py-nanoid";
license = licenses.mit;
maintainers = [ ];
};
}