2018-04-08 15:33:28 +01:00
|
|
|
{ lib, buildPythonApplication, fetchPypi, pythonPackages, ffmpeg }:
|
2018-01-12 10:29:13 +00:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2018-02-21 13:17:20 +00:00
|
|
|
version = "1.4.0";
|
2018-01-12 10:31:09 +00:00
|
|
|
pname = "sigal";
|
2018-01-12 10:29:13 +00:00
|
|
|
|
2018-01-12 10:31:09 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
2018-02-21 13:17:20 +00:00
|
|
|
sha256 = "0da0n8jhjp2swr18zga87xc77r8c7qwqf5sp222ph9sn3yyyc35i";
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with pythonPackages; [ pytest ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
clint
|
|
|
|
click
|
|
|
|
blinker
|
|
|
|
];
|
|
|
|
|
2018-04-08 15:33:28 +01:00
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
|
|
|
|
|
2018-01-12 10:29:13 +00:00
|
|
|
# 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;
|
2018-04-06 09:57:19 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|