diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/sigal/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/sigal/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/sigal/default.nix b/nixpkgs/pkgs/applications/misc/sigal/default.nix new file mode 100644 index 000000000000..860e8f8adb59 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/sigal/default.nix @@ -0,0 +1,45 @@ +{ 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 ]; + }; +} |