nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.lektor: 2.3 -> 3.1.3

+25 -13
+25 -13
pkgs/development/python-modules/lektor/default.nix
··· 1 - { stdenv 1 + { lib 2 2 , buildPythonPackage 3 - , fetchgit 3 + , fetchFromGitHub 4 4 , click 5 5 , watchdog 6 6 , exifread ··· 12 12 , flask 13 13 , pyopenssl 14 14 , ndg-httpsclient 15 - , pkgs 15 + , pytest 16 + , pytestcov 17 + , pytest-mock 18 + , pytest-pylint 19 + , pytest-click 20 + , isPy27 21 + , functools32 16 22 }: 17 23 18 24 buildPythonPackage rec { 19 25 pname = "lektor"; 20 - version = "2.3"; 26 + version = "3.1.3"; 21 27 22 - src = fetchgit { 23 - url = "https://github.com/lektor/lektor"; 24 - rev = "refs/tags/${version}"; 25 - sha256 = "1n0ylh1sbpvi9li3g6a7j7m28njfibn10y6s2gayjxwm6fpphqxy"; 28 + src = fetchFromGitHub { 29 + owner = "lektor"; 30 + repo = "lektor"; 31 + rev = version; 32 + sha256 = "16qw68rz5q77w84lwyhjpfd3bm4mfrhcjrnxwwnz3vmi610h68hx"; 26 33 }; 27 34 28 - buildInputs = [ pkgs.glibcLocales ]; 29 35 propagatedBuildInputs = [ 30 36 click watchdog exifread requests mistune inifile Babel jinja2 31 37 flask pyopenssl ndg-httpsclient 38 + ] ++ lib.optionals isPy27 [ functools32 ]; 39 + 40 + checkInputs = [ 41 + pytest pytestcov pytest-mock pytest-pylint pytest-click 32 42 ]; 33 43 34 - LC_ALL="en_US.UTF-8"; 44 + checkPhase = '' 45 + pytest 46 + ''; 35 47 36 - # No tests included in archive 48 + # many errors -- tests assume inside of git repo, linting errors 13/317 fail 37 49 doCheck = false; 38 50 39 - meta = with stdenv.lib; { 51 + meta = with lib; { 40 52 description = "A static content management system"; 41 53 homepage = "https://www.getlektor.com/"; 42 54 license = licenses.bsd0; 43 - maintainers = with maintainers; [ vozz ]; 55 + maintainers = with maintainers; [ vozz costrouc ]; 44 56 }; 45 57 46 58 }