nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 83 lines 1.3 kB view raw
1{ lib 2, babel 3, buildPythonPackage 4, click 5, exifread 6, fetchFromGitHub 7, filetype 8, flask 9, inifile 10, jinja2 11, marshmallow 12, marshmallow-dataclass 13, mistune 14, pip 15, pyopenssl 16, pytest-click 17, pytest-mock 18, pytest-pylint 19, pytestCheckHook 20, pythonOlder 21, python-slugify 22, requests 23, setuptools 24, watchdog 25, werkzeug 26}: 27 28buildPythonPackage rec { 29 pname = "lektor"; 30 version = "3.3.4"; 31 format = "pyproject"; 32 33 disabled = pythonOlder "3.7"; 34 35 src = fetchFromGitHub { 36 owner = "lektor"; 37 repo = pname; 38 rev = "refs/tags/v${version}"; 39 hash = "sha256-9Zd+N6FkvRuW7rptWAr3JLIARXwJDcocxAp/ZCTQ3Hw="; 40 }; 41 42 propagatedBuildInputs = [ 43 babel 44 click 45 exifread 46 filetype 47 flask 48 inifile 49 jinja2 50 marshmallow 51 marshmallow-dataclass 52 mistune 53 pip 54 pyopenssl 55 python-slugify 56 requests 57 setuptools 58 watchdog 59 werkzeug 60 ]; 61 62 checkInputs = [ 63 pytest-click 64 pytest-mock 65 pytestCheckHook 66 ]; 67 68 pythonImportsCheck = [ 69 "lektor" 70 ]; 71 72 disabledTests = [ 73 # Test requires network access 74 "test_path_installed_plugin_is_none" 75 ]; 76 77 meta = with lib; { 78 description = "A static content management system"; 79 homepage = "https://www.getlektor.com/"; 80 license = licenses.bsd0; 81 maintainers = with maintainers; [ costrouc ]; 82 }; 83}