python310Packages.lektor: 3.4.0b4 -> 3.4.0b8
Diff: https://github.com/lektor/lektor/compare/refs/tags/v3.4.0b4...v3.4.0b8 Changelog: https://github.com/lektor/lektor/blob/v3.4.0b8/CHANGES.md
This commit is contained in:
parent
074e1daf50
commit
8850d389fa
|
@ -2,11 +2,13 @@
|
||||||
, babel
|
, babel
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, click
|
, click
|
||||||
, deprecated
|
|
||||||
, exifread
|
, exifread
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchNpmDeps
|
||||||
, filetype
|
, filetype
|
||||||
, flask
|
, flask
|
||||||
|
, hatch-vcs
|
||||||
|
, hatchling
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
, inifile
|
, inifile
|
||||||
, jinja2
|
, jinja2
|
||||||
|
@ -14,8 +16,10 @@
|
||||||
, marshmallow
|
, marshmallow
|
||||||
, marshmallow-dataclass
|
, marshmallow-dataclass
|
||||||
, mistune
|
, mistune
|
||||||
|
, nodejs
|
||||||
|
, npmHooks
|
||||||
|
, pillow
|
||||||
, pip
|
, pip
|
||||||
, pyopenssl
|
|
||||||
, pytest-click
|
, pytest-click
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytest-pylint
|
, pytest-pylint
|
||||||
|
@ -25,15 +29,13 @@
|
||||||
, python-slugify
|
, python-slugify
|
||||||
, pytz
|
, pytz
|
||||||
, requests
|
, requests
|
||||||
, setuptools
|
, watchfiles
|
||||||
, typing-inspect
|
|
||||||
, watchdog
|
|
||||||
, werkzeug
|
, werkzeug
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "lektor";
|
pname = "lektor";
|
||||||
version = "3.4.0b4";
|
version = "3.4.0b8";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -42,13 +44,28 @@ buildPythonPackage rec {
|
||||||
owner = "lektor";
|
owner = "lektor";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-O0bTmJqRymrQuHW19Y7/Kp+2XlbmDzcjl/jDACDlCSk=";
|
hash = "sha256-FtmRW4AS11zAX2jvGY8XTsPrN3mhHkIWoFY7sXmqG/U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
npmDeps = fetchNpmDeps {
|
||||||
|
src = "${src}/frontend";
|
||||||
|
hash = "sha256-Z7LP9rrVSzKoLITUarsnRbrhIw7W7TZSZUgV/OT+m0M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmRoot = "frontend";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
|
nodejs
|
||||||
|
npmHooks.npmConfigHook
|
||||||
|
];
|
||||||
|
|
||||||
|
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
babel
|
babel
|
||||||
click
|
click
|
||||||
deprecated
|
|
||||||
exifread
|
exifread
|
||||||
filetype
|
filetype
|
||||||
flask
|
flask
|
||||||
|
@ -58,17 +75,16 @@ buildPythonPackage rec {
|
||||||
marshmallow
|
marshmallow
|
||||||
marshmallow-dataclass
|
marshmallow-dataclass
|
||||||
mistune
|
mistune
|
||||||
|
pillow
|
||||||
pip
|
pip
|
||||||
pyopenssl
|
|
||||||
python-slugify
|
python-slugify
|
||||||
pytz
|
|
||||||
requests
|
requests
|
||||||
setuptools
|
watchfiles
|
||||||
typing-inspect
|
|
||||||
watchdog
|
|
||||||
werkzeug
|
werkzeug
|
||||||
] ++ lib.optionals (pythonOlder "3.8") [
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
pytz
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -86,8 +102,11 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# Test requires network access
|
# Tests require network access
|
||||||
"test_path_installed_plugin_is_none"
|
"test_path_installed_plugin_is_none"
|
||||||
|
"test_VirtualEnv_run_pip_install"
|
||||||
|
# expects FHS paths
|
||||||
|
"test_VirtualEnv_executable"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue