blob: dfac06ca026d155bd380dcff55145b1344c24083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ buildPythonPackage, fetchFromGitHub, lib, setuptools, pytestCheckHook
, python-multipart, starlette, typeguard, pygments, pytest, pytest-cov, httpx
, hatchling, hatch-vcs }:
buildPythonPackage rec {
pname = "ludic";
version = "0.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "getludic";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-Zcob2ljyeiCqnCobkDP4ihRTxvs5OtQ4y5+Itsgs/0o=";
};
nativeBuildInputs = [ setuptools hatchling hatch-vcs ];
propagatedBuildInputs = [ python-multipart starlette typeguard pygments ];
disabledTestPaths = [ "tests/contrib/test_django.py" ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ pytest pytest-cov httpx ];
pythonImportsCheck = [ "ludic" ];
meta = with lib; {
homepage = "https://github.com/getludic/ludic";
description = "Web Development in Pure Python with Type-Guided Components.";
changelog = "https://github.com/getludic/ludic/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ bsima ];
};
}
|