lektor: remove from python3Packages

According to upstream it is a "command line utility".
This commit is contained in:
Robert Schütz 2023-08-01 16:22:33 -07:00
parent 5aeb601dae
commit 9f6c511846
4 changed files with 11 additions and 41 deletions

View File

@ -1,45 +1,18 @@
{ lib
, babel
, buildPythonPackage
, click
, exifread
, fetchFromGitHub
, fetchNpmDeps
, filetype
, flask
, hatch-vcs
, hatchling
, importlib-metadata
, inifile
, jinja2
, markupsafe
, marshmallow
, marshmallow-dataclass
, mistune
, nodejs
, npmHooks
, pillow
, pip
, pytest-click
, pytest-mock
, pytest-pylint
, pytestCheckHook
, python
, pythonOlder
, python-slugify
, pytz
, requests
, watchfiles
, werkzeug
, python3
}:
buildPythonPackage rec {
let
python = python3;
in python.pkgs.buildPythonApplication rec {
pname = "lektor";
version = "3.4.0b8";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "lektor";
repo = pname;
@ -55,15 +28,15 @@ buildPythonPackage rec {
npmRoot = "frontend";
nativeBuildInputs = [
hatch-vcs
hatchling
python.pkgs.hatch-vcs
python.pkgs.hatchling
nodejs
npmHooks.npmConfigHook
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
propagatedBuildInputs = [
propagatedBuildInputs = with python.pkgs; [
babel
click
exifread
@ -81,13 +54,9 @@ buildPythonPackage rec {
requests
watchfiles
werkzeug
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
] ++ lib.optionals (pythonOlder "3.9") [
pytz
];
nativeCheckInputs = [
nativeCheckInputs = with python.pkgs; [
pytest-click
pytest-mock
pytestCheckHook

View File

@ -1790,6 +1790,8 @@ with pkgs;
kubevirt = callPackage ../tools/virtualization/kubevirt { };
lektor = callPackage ../tools/misc/lektor { };
licenseclassifier = callPackage ../development/tools/misc/licenseclassifier { };
license-cli = callPackage ../tools/misc/license-cli { };

View File

@ -187,6 +187,7 @@ mapAliases ({
larynx-train = piper-train; # added 2023-06-09
ldap = python-ldap; # added 2022-09-16
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
lektor = throw "lektor has been promoted to a top-level attribute"; # added 2023-08-01
logilab_astng = throw "logilab-astng has not been released since 2013 and is unmaintained"; # added 2022-11-29
logilab_common = logilab-common; # added 2022-11-21
loo-py = loopy; # added 2022-05-03

View File

@ -5805,8 +5805,6 @@ self: super: with self; {
igraph-c = pkgs.igraph;
};
lektor = callPackage ../development/python-modules/lektor { };
leveldb = callPackage ../development/python-modules/leveldb { };
levenshtein = callPackage ../development/python-modules/levenshtein { };