2021-04-25 16:03:06 +01:00
|
|
|
{ lib, python3Packages, ffmpeg }:
|
2018-01-12 10:29:13 +00:00
|
|
|
|
2019-01-19 16:33:10 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2021-04-25 16:03:06 +01:00
|
|
|
version = "2.2";
|
2018-01-12 10:31:09 +00:00
|
|
|
pname = "sigal";
|
2018-01-12 10:29:13 +00:00
|
|
|
|
2019-01-19 16:33:10 +00:00
|
|
|
src = python3Packages.fetchPypi {
|
2018-01-12 10:31:09 +00:00
|
|
|
inherit version pname;
|
2021-04-25 16:03:06 +01:00
|
|
|
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
|
2020-10-05 14:35:37 +01:00
|
|
|
disabled = !(python3Packages.pythonAtLeast "3.6");
|
|
|
|
|
2019-01-19 16:33:10 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2021-04-25 16:03:06 +01:00
|
|
|
# install_requires
|
2018-01-12 10:29:13 +00:00
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
click
|
|
|
|
blinker
|
2020-10-05 14:35:37 +01:00
|
|
|
natsort
|
2021-04-25 16:03:06 +01:00
|
|
|
# extras_require
|
|
|
|
brotli
|
|
|
|
feedgenerator
|
|
|
|
zopfli
|
|
|
|
cryptography
|
2018-01-12 10:29:13 +00:00
|
|
|
];
|
|
|
|
|
2021-04-25 16:03:06 +01:00
|
|
|
checkInputs = [
|
|
|
|
ffmpeg
|
|
|
|
] ++ (with python3Packages; [
|
|
|
|
pytestCheckHook
|
|
|
|
]);
|
2018-04-08 15:33:28 +01:00
|
|
|
|
2021-04-25 16:03:06 +01:00
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
|
2018-01-12 10:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Yet another simple static gallery generator";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://sigal.saimon.org/en/latest/index.html";
|
2018-01-12 10:29:13 +00:00
|
|
|
license = licenses.mit;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
}
|