2021-04-26 19:14:03 +00:00
|
|
|
{ lib, python3Packages, ffmpeg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sigal";
|
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit version pname;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
|
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
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2021-04-26 19:14:03 +00:00
|
|
|
# install_requires
|
2020-04-24 23:36:52 +00:00
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
click
|
|
|
|
blinker
|
2020-10-07 09:15:18 +00:00
|
|
|
natsort
|
2021-04-26 19:14:03 +00:00
|
|
|
# extras_require
|
|
|
|
brotli
|
|
|
|
feedgenerator
|
|
|
|
zopfli
|
|
|
|
cryptography
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
checkInputs = [
|
|
|
|
ffmpeg
|
|
|
|
] ++ (with python3Packages; [
|
|
|
|
pytestCheckHook
|
|
|
|
]);
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-26 19:14:03 +00:00
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|