From 812e0432fd9f70d3d1ea463faa6a30d9340a8a59 Mon Sep 17 00:00:00 2001 From: ruby0b <106119328+ruby0b@users.noreply.github.com> Date: Mon, 19 Jun 2023 18:22:26 +0200 Subject: [PATCH] python3Packages.flask-themes2: init at 1.0.0 --- .../python-modules/flask-themes2/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/flask-themes2/default.nix diff --git a/pkgs/development/python-modules/flask-themes2/default.nix b/pkgs/development/python-modules/flask-themes2/default.nix new file mode 100644 index 000000000000..56c03ca39e0c --- /dev/null +++ b/pkgs/development/python-modules/flask-themes2/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchPypi, buildPythonPackage, flask, pythonOlder, pytestCheckHook }: + +buildPythonPackage rec { + pname = "flask-themes2"; + version = "1.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchPypi { + pname = "Flask-Themes2"; + inherit version; + hash = "sha256-0U0cSdBddb9+IG3CU6zUPlxaJhQlxOV6OLgxnNDChy8="; + }; + + nativeCheckInputs = [ pytestCheckHook ]; + propagatedBuildInputs = [ flask ]; + + meta = with lib; { + description = "Easily theme your Flask app"; + homepage = "https://github.com/sysr-q/flask-themes2"; + license = licenses.mit; + maintainers = with maintainers; [ ruby0b ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d45154cbc8ea..52c5deef152c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3838,6 +3838,8 @@ self: super: with self; { flask-testing = callPackage ../development/python-modules/flask-testing { }; + flask-themes2 = callPackage ../development/python-modules/flask-themes2 { }; + flask-versioned = callPackage ../development/python-modules/flask-versioned { }; flask-wtf = callPackage ../development/python-modules/flask-wtf { };