depot/third_party/nixpkgs/pkgs/applications/misc/sigal/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

45 lines
961 B
Nix

{ lib, python3Packages, ffmpeg }:
python3Packages.buildPythonApplication rec {
version = "2.2";
pname = "sigal";
src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
};
disabled = !(python3Packages.pythonAtLeast "3.6");
propagatedBuildInputs = with python3Packages; [
# install_requires
jinja2
markdown
pillow
pilkit
click
blinker
natsort
# extras_require
boto
brotli
feedgenerator
zopfli
cryptography
];
checkInputs = [
ffmpeg
] ++ (with python3Packages; [
pytestCheckHook
]);
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
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 ];
};
}