sigal: 2.2 -> 2.3

This commit is contained in:
Fabian Affolter 2022-04-26 11:44:18 +02:00
parent 1e59f05167
commit 559f41b0ec

View file

@ -1,17 +1,19 @@
{ lib, python3Packages, ffmpeg }: { lib
, python3
, ffmpeg
}:
python3Packages.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
version = "2.2"; pname = "sigal";
pname = "sigal"; version = "2.3";
format = "setuptools";
src = python3Packages.fetchPypi { src = python3.pkgs.fetchPypi {
inherit version pname; inherit version pname;
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo="; hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
}; };
disabled = !(python3Packages.pythonAtLeast "3.6"); propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = with python3Packages; [
# install_requires # install_requires
jinja2 jinja2
markdown markdown
@ -29,16 +31,18 @@ python3Packages.buildPythonApplication rec {
checkInputs = [ checkInputs = [
ffmpeg ffmpeg
] ++ (with python3Packages; [ ] ++ (with python3.pkgs; [
pytestCheckHook pytestCheckHook
]); ]);
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ]; makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
];
meta = with lib; { meta = with lib; {
description = "Yet another simple static gallery generator"; description = "Yet another simple static gallery generator";
homepage = "http://sigal.saimon.org/en/latest/index.html"; homepage = "http://sigal.saimon.org/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ]; maintainers = with maintainers; [ domenkozar matthiasbeyer ];
}; };
} }