depot/third_party/nixpkgs/pkgs/applications/misc/sigal/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

50 lines
935 B
Nix

{ stdenv
, lib
, python3
, ffmpeg
}:
python3.pkgs.buildPythonApplication rec {
pname = "sigal";
version = "2.3";
format = "setuptools";
src = python3.pkgs.fetchPypi {
inherit version pname;
hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
};
propagatedBuildInputs = with python3.pkgs; [
# install_requires
jinja2
markdown
pillow
pilkit
click
blinker
natsort
# extras_require
brotli
feedgenerator
zopfli
cryptography
];
checkInputs = [
ffmpeg
] ++ (with python3.pkgs; [
pytestCheckHook
]);
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "Yet another simple static gallery generator";
homepage = "http://sigal.saimon.org/";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
};
}