Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 100 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101{ lib, babel, buildPythonPackage, click, deprecated, exifread, fetchFromGitHub, filetype, flask, importlib-metadata, inifile, jinja2, markupsafe, marshmallow, marshmallow-dataclass, mistune, pip, pyopenssl, pytest-click, pytest-mock, pytest-pylint, pytestCheckHook, python, pythonOlder, python-slugify, pytz, requests, setuptools, typing-inspect, watchdog, werkzeug}:
buildPythonPackage rec { pname = "lektor"; version = "3.4.0b4"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "lektor"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-O0bTmJqRymrQuHW19Y7/Kp+2XlbmDzcjl/jDACDlCSk="; };
propagatedBuildInputs = [ babel click deprecated exifread filetype flask inifile jinja2 markupsafe marshmallow marshmallow-dataclass mistune pip pyopenssl python-slugify pytz requests setuptools typing-inspect watchdog werkzeug ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
nativeCheckInputs = [ pytest-click pytest-mock pytestCheckHook ];
postInstall = '' cp -r lektor/translations "$out/${python.sitePackages}/lektor/" '';
pythonImportsCheck = [ "lektor" ];
disabledTests = [ # Test requires network access "test_path_installed_plugin_is_none" ];
meta = with lib; { 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; maintainers = with maintainers; [ costrouc ]; };}