Commit 559f41b0 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

sigal: 2.2 -> 2.3

parent 1e59f051
Loading
Loading
Loading
Loading
+17 −13
Original line number Diff line number Diff line
{ lib, python3Packages, ffmpeg }:
{ lib
, python3
, ffmpeg
}:

python3Packages.buildPythonApplication rec {
  version = "2.2";
python3.pkgs.buildPythonApplication rec {
  pname = "sigal";
  version = "2.3";
  format = "setuptools";

  src = python3Packages.fetchPypi {
  src = python3.pkgs.fetchPypi {
    inherit version pname;
    sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
    hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
  };

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

  propagatedBuildInputs = with python3Packages; [
  propagatedBuildInputs = with python3.pkgs; [
    # install_requires
    jinja2
    markdown
@@ -29,15 +31,17 @@ python3Packages.buildPythonApplication rec {

  checkInputs = [
    ffmpeg
  ] ++ (with python3Packages; [
  ] ++ (with python3.pkgs; [
    pytestCheckHook
  ]);

  makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
  makeWrapperArgs = [
    "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
  ];

  meta = with lib; {
    description = "Yet another simple static gallery generator";
    homepage    = "http://sigal.saimon.org/en/latest/index.html";
    homepage = "http://sigal.saimon.org/";
    license = licenses.mit;
    maintainers = with maintainers; [ domenkozar matthiasbeyer ];
  };