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

36 lines
755 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
rstr,
sre-yield,
pythonImportsCheckHook,
}:
buildPythonPackage rec {
pname = "stringbrewer";
version = "0.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-wtETgi+Tk1ALJzzIM6Ic5zkDbALGL0cELg8X75uepkk=";
};
propagatedBuildInputs = [
rstr
sre-yield
];
nativeBuildInputs = [ pythonImportsCheckHook ];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "stringbrewer" ];
meta = with lib; {
description = "Python library to generate random strings matching a pattern";
homepage = "https://github.com/simoncozens/stringbrewer";
license = licenses.mit;
maintainers = with maintainers; [ danc86 ];
};
}