2020-06-18 07:06:33 +00:00
|
|
|
{ lib, python3Packages, ffmpeg_3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "2.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sigal";
|
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit version pname;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "0l07p457svznirz7qllgyl3qbhiisv7klhz7cbdw6417hxf9bih8";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
disabled = !(python3Packages.pythonAtLeast "3.6");
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = with python3Packages; [ pytest ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
clint
|
|
|
|
click
|
|
|
|
blinker
|
2020-10-07 09:15:18 +00:00
|
|
|
natsort
|
|
|
|
setuptools_scm
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
|
2020-04-24 23:36:52 +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;
|
|
|
|
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|