python310Packages.flask-script: rename from flask_script

This commit is contained in:
natsukium 2023-08-23 22:58:53 +09:00
parent 255e674e25
commit 94a932337f
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
6 changed files with 11 additions and 9 deletions

View file

@ -198,7 +198,7 @@ python3'.pkgs.buildPythonPackage rec {
];
propagatedBuildInputs = with python3'.pkgs; [
cryptography pyrad pymysql python-dateutil flask-versioned flask_script
cryptography pyrad pymysql python-dateutil flask-versioned flask-script
defusedxml croniter flask-migrate pyjwt configobj sqlsoup pillow
python-gnupg passlib pyopenssl beautifulsoup4 smpplib flask-babel
ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask_script, nose }:
{ lib, buildPythonPackage, fetchPypi, flask, webassets, flask-script, nose }:
buildPythonPackage rec {
pname = "flask-assets";
@ -16,7 +16,7 @@ buildPythonPackage rec {
substituteInPlace tests/test_integration.py --replace "'/foo'" "'/x/foo'"
'';
propagatedBuildInputs = [ flask webassets flask_script nose ];
propagatedBuildInputs = [ flask webassets flask-script nose ];
meta = with lib; {
homepage = "https://github.com/miracle2k/flask-assets";

View file

@ -4,7 +4,7 @@
, pythonOlder
, alembic
, flask
, flask_script
, flask-script
, flask-sqlalchemy
, pytestCheckHook
, setuptools
@ -40,7 +40,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
flask_script
flask-script
];
meta = with lib; {

View file

@ -1,12 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, flask, pytest }:
buildPythonPackage rec {
pname = "Flask-Script";
pname = "flask-script";
version = "2.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "0r8w2v89nj6b9p91p495cga5m72a673l2wc0hp0zqk05j4yrc9b4";
pname = "Flask-Script";
inherit version;
hash = "sha256-ZCWWPZEFTPzBhYBxQccxSpxa1GMlkRvSTctIm9AWHGU=";
};
propagatedBuildInputs = [ flask ];

View file

@ -139,6 +139,7 @@ mapAliases ({
flask_migrate = flask-migrate; # added 2023-08-23
flask_principal = flask-principal; # added 2023-08-23
flask-restplus = throw "flask-restplus is no longer maintained, use flask-restx instead"; # added 2023-02-21
flask_script = flask-script; # added 2023-08-23
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
flask_testing = flask-testing; # added 2022-04-25
flask_wtf = flask-wtf; # added 2022-05-24

View file

@ -3857,7 +3857,7 @@ self: super: with self; {
flask-reverse-proxy-fix = callPackage ../development/python-modules/flask-reverse-proxy-fix { };
flask_script = callPackage ../development/python-modules/flask-script { };
flask-script = callPackage ../development/python-modules/flask-script { };
flask-seasurf = callPackage ../development/python-modules/flask-seasurf { };