mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
lektor: 3.4.0b8 -> 3.4.0b12
https://github.com/lektor/lektor/blob/v3.4.0b12/CHANGES.md https://github.com/lektor/lektor/compare/v3.4.0b8...v3.4.0b12
This commit is contained in:
parent
f0ffef5049
commit
4d2f6976c5
@ -23,19 +23,19 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "lektor";
|
||||
version = "3.4.0b8";
|
||||
version = "3.4.0b12";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lektor";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FtmRW4AS11zAX2jvGY8XTsPrN3mhHkIWoFY7sXmqG/U=";
|
||||
hash = "sha256-USwHSUXpk4XM5ySTXnYc5FqqkTaf8PoxQTeRnWOvbxk=";
|
||||
};
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
src = "${src}/frontend";
|
||||
hash = "sha256-Z7LP9rrVSzKoLITUarsnRbrhIw7W7TZSZUgV/OT+m0M=";
|
||||
src = "${src}/${npmRoot}";
|
||||
hash = "sha256-LXe5/u4nAGig8RSu6r8Qsr3p3Od8eoMxukW8Z4HkJ44=";
|
||||
};
|
||||
|
||||
npmRoot = "frontend";
|
||||
@ -50,8 +50,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
babel
|
||||
click
|
||||
exifread
|
||||
filetype
|
||||
flask
|
||||
inifile
|
||||
jinja2
|
||||
@ -71,11 +69,6 @@ python.pkgs.buildPythonApplication rec {
|
||||
pytest-click
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"werkzeug"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
@ -90,16 +83,18 @@ python.pkgs.buildPythonApplication rec {
|
||||
# Tests require network access
|
||||
"test_path_installed_plugin_is_none"
|
||||
"test_VirtualEnv_run_pip_install"
|
||||
# expects FHS paths
|
||||
"test_VirtualEnv_executable"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
postCheck = ''
|
||||
make test-js
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A static content management system";
|
||||
homepage = "https://www.getlektor.com/";
|
||||
changelog = "https://github.com/lektor/lektor/blob/v${version}/CHANGES.md";
|
||||
license = licenses.bsd0;
|
||||
license = lib.licenses.bsd3;
|
||||
mainProgram = "lektor";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user