pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / shiny / default.nix
blobd22649c725ef3a02836c1c10bde5767a4615c1a5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
7   appdirs,
8   asgiref,
9   click,
10   htmltools,
11   linkify-it-py,
12   markdown-it-py,
13   mdit-py-plugins,
14   python-multipart,
15   questionary,
16   starlette,
17   uvicorn,
18   watchfiles,
19   websockets,
21   pytestCheckHook,
22   pytest-asyncio,
23   pytest-playwright,
24   pytest-xdist,
25   pytest-timeout,
26   pytest-rerunfailures,
27   pandas,
30 buildPythonPackage rec {
31   pname = "shiny";
32   version = "0.10.2";
33   pyproject = true;
35   src = fetchFromGitHub {
36     owner = "posit-dev";
37     repo = "py-shiny";
38     rev = "refs/tags/v${version}";
39     hash = "sha256-s1j9bMAapO0iRXsuNxiwlNaVv2EoWcl9U7WnHwQe9n8=";
40   };
42   build-system = [ setuptools ];
43   dependencies = [
44     appdirs
45     asgiref
46     click
47     htmltools
48     linkify-it-py
49     markdown-it-py
50     mdit-py-plugins
51     python-multipart
52     questionary
53     starlette
54     uvicorn
55     watchfiles
56     websockets
57   ];
59   pythonImportsCheck = [ "shiny" ];
60   nativeCheckInputs = [
61     pytestCheckHook
62     pytest-asyncio
63     pytest-playwright
64     pytest-xdist
65     pytest-timeout
66     pytest-rerunfailures
67     pandas
68   ];
70   meta = {
71     changelog = "https://github.com/posit-dev/py-shiny/blob/${src.rev}/CHANGELOG.md";
72     description = "Build fast, beautiful web applications in Python";
73     license = lib.licenses.mit;
74     homepage = "https://shiny.posit.co/py";
75     maintainers = with lib.maintainers; [ sigmanificient ];
76   };