mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python3Packages.polyfactory: init at 2.18.0
This commit is contained in:
parent
54ce061f24
commit
1dd9f1d67d
56
pkgs/development/python-modules/polyfactory/default.nix
Normal file
56
pkgs/development/python-modules/polyfactory/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
hypothesis,
|
||||
faker,
|
||||
msgspec,
|
||||
sqlalchemy,
|
||||
aiosqlite,
|
||||
typing-extensions,
|
||||
pymongo,
|
||||
pytest-asyncio,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
email-validator,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "polyfactory";
|
||||
version = "2.18.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
hash = "sha256-BNi01JhuQGzUwWzAHou3Rwg4QtV6XA26Y6Ie5e91umY=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
faker
|
||||
typing-extensions
|
||||
hypothesis
|
||||
pydantic
|
||||
sqlalchemy
|
||||
msgspec
|
||||
pymongo
|
||||
aiosqlite
|
||||
email-validator
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://polyfactory.litestar.dev/";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
changelog = "https://github.com/litestar-org/polyfactory/releases/tag/v${version}";
|
||||
description = "Simple and powerful factories for mock data generation";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -10731,6 +10731,8 @@ self: super: with self; {
|
||||
|
||||
polyline = callPackage ../development/python-modules/polyline { };
|
||||
|
||||
polyfactory = callPackage ../development/python-modules/polyfactory { };
|
||||
|
||||
polygon3 = callPackage ../development/python-modules/polygon3 { };
|
||||
|
||||
polyswarm-api = callPackage ../development/python-modules/polyswarm-api { };
|
||||
|
Loading…
Reference in New Issue
Block a user