Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 58 lines 1.1 kB view raw
1{ 2 buildPythonPackage, 3 lib, 4 fetchPypi, 5 hatchling, 6 hypothesis, 7 faker, 8 msgspec, 9 sqlalchemy, 10 aiosqlite, 11 typing-extensions, 12 pymongo, 13 pytest-asyncio, 14 pydantic, 15 pytestCheckHook, 16 email-validator, 17}: 18 19buildPythonPackage rec { 20 pname = "polyfactory"; 21 version = "2.18.1"; 22 pyproject = true; 23 24 src = fetchPypi { 25 inherit version pname; 26 hash = "sha256-F8nbGK/k+4192OW6KW5p2g/PfQ87Y9GEDrENE1rtWq0="; 27 }; 28 29 build-system = [ hatchling ]; 30 31 dependencies = [ 32 faker 33 typing-extensions 34 hypothesis 35 pydantic 36 sqlalchemy 37 msgspec 38 pymongo 39 aiosqlite 40 email-validator 41 ]; 42 43 nativeCheckInputs = [ 44 pytestCheckHook 45 pytest-asyncio 46 ]; 47 48 pythonImporeCheck = [ "polyfactory" ]; 49 50 meta = { 51 homepage = "https://polyfactory.litestar.dev/"; 52 platforms = lib.platforms.unix; 53 maintainers = with lib.maintainers; [ bot-wxt1221 ]; 54 changelog = "https://github.com/litestar-org/polyfactory/releases/tag/v${version}"; 55 description = "Simple and powerful factories for mock data generation"; 56 license = lib.licenses.mit; 57 }; 58}