mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
35 lines
679 B
Nix
35 lines
679 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
rstr,
|
|
sre-yield,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stringbrewer";
|
|
version = "0.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-wtETgi+Tk1ALJzzIM6Ic5zkDbALGL0cELg8X75uepkk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
rstr
|
|
sre-yield
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|