python3Packages.flask-themer: init at 2.0.0

Co-Authored-By: Sofi <sofi+git@mailbox.org>
This commit is contained in:
Kerstin Humm
2024-11-21 20:28:03 +01:00
committed by Valentin Gagarin
co-authored by Sofi
parent e45e3313af
commit d6f955ba9b
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
flask,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "flask-themer";
version = "2.0.0";
pyproject = true;
# Pypi tarball doesn't contain tests/
src = fetchFromGitHub {
owner = "TkTech";
repo = "flask-themer";
rev = "refs/tags/v${version}";
hash = "sha256-2Zw+gKKN0kfjYuruuLQ+3dIFF0X07DTy0Ypc22Ih66w=";
};
build-system = [ setuptools ];
dependencies = [ flask ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "flask_themer" ];
meta = with lib; {
description = "Simple theming support for Flask apps";
homepage = "https://github.com/TkTech/flask-themer";
changelog = "https://github.com/TkTech/flask-themer/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}
+2
View File
@@ -4702,6 +4702,8 @@ self: super: with self; {
flask-testing = callPackage ../development/python-modules/flask-testing { };
flask-themer = callPackage ../development/python-modules/flask-themer { };
flask-themes2 = callPackage ../development/python-modules/flask-themes2 { };
flask-versioned = callPackage ../development/python-modules/flask-versioned { };