2020-06-07 05:39:09 -07:00
|
|
|
{ lib, python3Packages, ffmpeg_3 }:
|
2018-01-12 02:29:13 -08:00
|
|
|
|
2019-01-19 08:33:10 -08:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-10-05 06:35:37 -07:00
|
|
|
version = "2.1.1";
|
2018-01-12 02:31:09 -08:00
|
|
|
pname = "sigal";
|
2018-01-12 02:29:13 -08:00
|
|
|
|
2019-01-19 08:33:10 -08:00
|
|
|
src = python3Packages.fetchPypi {
|
2018-01-12 02:31:09 -08:00
|
|
|
inherit version pname;
|
2020-10-05 06:35:37 -07:00
|
|
|
sha256 = "0l07p457svznirz7qllgyl3qbhiisv7klhz7cbdw6417hxf9bih8";
|
2018-01-12 02:29:13 -08:00
|
|
|
};
|
|
|
|
|
2020-10-05 06:35:37 -07:00
|
|
|
disabled = !(python3Packages.pythonAtLeast "3.6");
|
|
|
|
|
2019-01-19 08:33:10 -08:00
|
|
|
checkInputs = with python3Packages; [ pytest ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2018-01-12 02:29:13 -08:00
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
clint
|
|
|
|
click
|
|
|
|
blinker
|
2020-10-05 06:35:37 -07:00
|
|
|
natsort
|
|
|
|
setuptools_scm
|
2018-01-12 02:29:13 -08:00
|
|
|
];
|
|
|
|
|
2020-06-07 05:39:09 -07:00
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
|
2018-04-08 07:33:28 -07:00
|
|
|
|
2018-01-12 02:29:13 -08:00
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Yet another simple static gallery generator";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://sigal.saimon.org/en/latest/index.html";
|
2018-01-12 02:29:13 -08:00
|
|
|
license = licenses.mit;
|
2019-02-20 10:52:48 -08:00
|
|
|
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
|
2018-01-12 02:29:13 -08:00
|
|
|
};
|
|
|
|
}
|