summary refs log tree commit diff
path: root/pkgs/applications/misc/sigal/default.nix
blob: e57e9394c1052c5d792c7bdbcc1bef7cff509d41 (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
{ lib, buildPythonApplication, fetchPypi, pythonPackages, ffmpeg }:

buildPythonApplication rec {
  version = "1.4.1";
  pname   = "sigal";

  src = fetchPypi {
    inherit version pname;
    sha256 = "1fg32ii26j3xpq3cryi212lx9z33qnicm1cszwv1wfpg6sr2rr61";
  };

  buildInputs = with pythonPackages; [ pytest ];
  propagatedBuildInputs = with pythonPackages; [
    jinja2
    markdown
    pillow
    pilkit
    clint
    click
    blinker
  ];

  makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];

  # No tests included
  doCheck = false;

  meta = with lib; {
    description = "Yet another simple static gallery generator";
    homepage    = http://sigal.saimon.org/en/latest/index.html;
    license     = licenses.mit;
    maintainers = with maintainers; [ domenkozar ];
  };
}