summary refs log tree commit diff
path: root/pkgs/development/python-modules/lektor/default.nix
blob: 6eb84043d7848fd966a12a1625d14d78eeb57808 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ stdenv
, buildPythonPackage
, fetchgit
, click
, watchdog
, exifread
, requests
, mistune
, inifile
, Babel
, jinja2
, flask
, pyopenssl
, ndg-httpsclient
, pkgs
}:

buildPythonPackage rec {
  pname = "lektor";
  version = "2.3";

  src = fetchgit {
    url = "https://github.com/lektor/lektor";
    rev = "refs/tags/${version}";
    sha256 = "1n0ylh1sbpvi9li3g6a7j7m28njfibn10y6s2gayjxwm6fpphqxy";
  };

  buildInputs = [ pkgs.glibcLocales ];
  propagatedBuildInputs = [
    click watchdog exifread requests mistune inifile Babel jinja2
    flask pyopenssl ndg-httpsclient
  ];

  LC_ALL="en_US.UTF-8";

  # No tests included in archive
  doCheck = false;

  meta = with stdenv.lib; {
    description = "A static content management system";
    homepage    = "https://www.getlektor.com/";
    license     = licenses.bsd0;
    maintainers = with maintainers; [ vozz ];
  };

}