1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 setuptools,
7 flask,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "flask-themes2";
13 version = "1.0.1";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "Flask-Themes2";
20 inherit version;
21 hash = "sha256-gsMgQQXjhDfQRhm7H0kBy8jKxd75WY+PhHR6Rk/PUPs=";
22 };
23
24 nativeBuildInputs = [ setuptools ];
25
26 propagatedBuildInputs = [ flask ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 meta = with lib; {
31 description = "Easily theme your Flask app";
32 homepage = "https://github.com/sysr-q/flask-themes2";
33 license = licenses.mit;
34 maintainers = with maintainers; [ ruby0b ];
35 };
36}