Skip to content

Commit

Permalink
Merge pull request #120609 from dotlambda/sigal-2.2
Browse files Browse the repository at this point in the history
sigal: 2.1.1 -> 2.2
  • Loading branch information
doronbehar committed Apr 25, 2021
2 parents 9fecb15 + 468926c commit 9788d31
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions pkgs/applications/misc/sigal/default.nix
@@ -1,33 +1,40 @@
{ lib, python3Packages, ffmpeg_3 }:
{ lib, python3Packages, ffmpeg }:

python3Packages.buildPythonApplication rec {
version = "2.1.1";
version = "2.2";
pname = "sigal";

src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "0l07p457svznirz7qllgyl3qbhiisv7klhz7cbdw6417hxf9bih8";
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
};

disabled = !(python3Packages.pythonAtLeast "3.6");

checkInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [
# install_requires
jinja2
markdown
pillow
pilkit
clint
click
blinker
natsort
setuptools_scm
# extras_require
boto
brotli
feedgenerator
zopfli
cryptography
];

makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
checkInputs = [
ffmpeg
] ++ (with python3Packages; [
pytestCheckHook
]);

# No tests included
doCheck = false;
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];

meta = with lib; {
description = "Yet another simple static gallery generator";
Expand Down

0 comments on commit 9788d31

Please sign in to comment.