Files
nixpkgs/pkgs/development/python-modules/flask-themes2/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
704 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
flask,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "flask-themes2";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "Flask-Themes2";
inherit version;
hash = "sha256-gsMgQQXjhDfQRhm7H0kBy8jKxd75WY+PhHR6Rk/PUPs=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ flask ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Easily theme your Flask app";
homepage = "https://github.com/sysr-q/flask-themes2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ruby0b ];
};
}