mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 08:41:42 -05:00
test: Add uwsgi tests
This commit is contained in:
parent
5f4d6b9478
commit
d81656e5d0
4 changed files with 38 additions and 0 deletions
6
tests/uwsgi/default.nix
Normal file
6
tests/uwsgi/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ lib, poetry2nix, runCommand }:
|
||||
poetry2nix.mkPoetryApplication {
|
||||
pyproject = ./pyproject.toml;
|
||||
poetrylock = ./poetry.lock;
|
||||
src = lib.cleanSource ./.;
|
||||
}
|
17
tests/uwsgi/poetry.lock
generated
Normal file
17
tests/uwsgi/poetry.lock
generated
Normal file
|
@ -0,0 +1,17 @@
|
|||
[[package]]
|
||||
name = "uwsgi"
|
||||
version = "2.0.19.1"
|
||||
description = "The uWSGI server"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.8"
|
||||
content-hash = "ec1973a5762a2a84e937c4d4712774561a9ddbbe91905a20053e4890176f1a33"
|
||||
|
||||
[metadata.files]
|
||||
uwsgi = [
|
||||
{file = "uWSGI-2.0.19.1.tar.gz", hash = "sha256:faa85e053c0b1be4d5585b0858d3a511d2cd10201802e8676060fd0a109e5869"},
|
||||
]
|
15
tests/uwsgi/pyproject.toml
Normal file
15
tests/uwsgi/pyproject.toml
Normal file
|
@ -0,0 +1,15 @@
|
|||
[tool.poetry]
|
||||
name = "test_uwsgi"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = []
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8"
|
||||
uwsgi = "^2.0.19"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
build-backend = "poetry.masonry.api"
|
0
tests/uwsgi/test_uwsgi.py
Normal file
0
tests/uwsgi/test_uwsgi.py
Normal file
Loading…
Add table
Reference in a new issue