depot/third_party/nixpkgs/pkgs/development/python-modules/rstr/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
659 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "rstr";
version = "3.2.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-xKVk1N+0Ry2THRRcQ9HPGteMJFkhQud1W4hmF57qwBI=";
};
pyproject = true;
nativeBuildInputs = [
setuptools
setuptools-scm
];
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "Python library to generate random strings";
homepage = "https://github.com/leapfrogonline/rstr";
license = licenses.bsd3;
maintainers = with maintainers; [ danc86 ];
};
}