2022-05-28 13:28:44 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2022-04-26 09:44:18 +00:00
|
|
|
, python3
|
|
|
|
, ffmpeg
|
|
|
|
}:
|
2018-01-12 10:29:13 +00:00
|
|
|
|
2022-04-26 09:44:18 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "sigal";
|
|
|
|
version = "2.3";
|
|
|
|
format = "setuptools";
|
2018-01-12 10:29:13 +00:00
|
|
|
|
2022-04-26 09:44:18 +00:00
|
|
|
src = python3.pkgs.fetchPypi {
|
2018-01-12 10:31:09 +00:00
|
|
|
inherit version pname;
|
2022-04-26 09:44:18 +00:00
|
|
|
hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
|
2022-04-26 09:44:18 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-04-25 15:03:06 +00:00
|
|
|
# install_requires
|
2018-01-12 10:29:13 +00:00
|
|
|
jinja2
|
|
|
|
markdown
|
|
|
|
pillow
|
|
|
|
pilkit
|
|
|
|
click
|
|
|
|
blinker
|
2020-10-05 13:35:37 +00:00
|
|
|
natsort
|
2021-04-25 15:03:06 +00:00
|
|
|
# extras_require
|
|
|
|
brotli
|
|
|
|
feedgenerator
|
|
|
|
zopfli
|
|
|
|
cryptography
|
2018-01-12 10:29:13 +00:00
|
|
|
];
|
|
|
|
|
2021-04-25 15:03:06 +00:00
|
|
|
checkInputs = [
|
|
|
|
ffmpeg
|
2022-04-26 09:44:18 +00:00
|
|
|
] ++ (with python3.pkgs; [
|
2021-04-25 15:03:06 +00:00
|
|
|
pytestCheckHook
|
|
|
|
]);
|
2018-04-08 14:33:28 +00:00
|
|
|
|
2022-04-26 09:44:18 +00:00
|
|
|
makeWrapperArgs = [
|
|
|
|
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
|
|
|
|
];
|
2018-01-12 10:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-05-28 13:28:44 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2018-01-12 10:29:13 +00:00
|
|
|
description = "Yet another simple static gallery generator";
|
2022-04-26 09:44:18 +00:00
|
|
|
homepage = "http://sigal.saimon.org/";
|
|
|
|
license = licenses.mit;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
|
2018-01-12 10:29:13 +00:00
|
|
|
};
|
|
|
|
}
|