nixpkgs/pkgs/applications/misc/sigal/default.nix

45 lines
952 B
Nix
Raw Normal View History

2021-04-25 15:03:06 +00: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 15:03:06 +00:00
version = "2.2";
pname = "sigal";
2018-01-12 10:29:13 +00:00
2019-01-19 16:33:10 +00:00
src = python3Packages.fetchPypi {
inherit version pname;
2021-04-25 15:03:06 +00:00
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
2018-01-12 10:29:13 +00:00
};
disabled = !(python3Packages.pythonAtLeast "3.6");
2019-01-19 16:33:10 +00:00
propagatedBuildInputs = with python3Packages; [
2021-04-25 15:03:06 +00:00
# install_requires
2018-01-12 10:29:13 +00:00
jinja2
markdown
pillow
pilkit
click
blinker
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
] ++ (with python3Packages; [
pytestCheckHook
]);
2018-04-08 14:33:28 +00:00
2021-04-25 15:03:06 +00:00
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
2018-01-12 10:29:13 +00:00
meta = with lib; {
description = "Yet another simple static gallery generator";
homepage = "http://sigal.saimon.org/en/latest/index.html";
2018-01-12 10:29:13 +00:00
license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
2018-01-12 10:29:13 +00:00
};
}