nixpkgs/pkgs/applications/misc/sigal/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
935 B
Nix
Raw Normal View History

{ stdenv
, lib
2022-04-26 09:44:18 +00:00
, python3
, ffmpeg
}:
2018-01-12 10:29:13 +00:00
2022-04-26 09:44:18 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "sigal";
version = "2.3";
format = "setuptools";
2018-01-12 10:29:13 +00:00
2022-04-26 09:44:18 +00:00
src = python3.pkgs.fetchPypi {
inherit version pname;
2022-04-26 09:44:18 +00:00
hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
2018-01-12 10:29:13 +00:00
};
2022-04-26 09:44:18 +00:00
propagatedBuildInputs = with python3.pkgs; [
2021-04-25 15:03:06 +00:00
# install_requires
2018-01-12 10:29:13 +00:00
jinja2
markdown
pillow
pilkit
click
blinker
natsort
2021-04-25 15:03:06 +00:00
# extras_require
brotli
feedgenerator
zopfli
cryptography
2018-01-12 10:29:13 +00:00
];
2021-04-25 15:03:06 +00:00
checkInputs = [
ffmpeg
2022-04-26 09:44:18 +00:00
] ++ (with python3.pkgs; [
2021-04-25 15:03:06 +00:00
pytestCheckHook
]);
2018-04-08 14:33:28 +00:00
2022-04-26 09:44:18 +00:00
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
];
2018-01-12 10:29:13 +00:00
meta = with lib; {
broken = stdenv.isDarwin;
2018-01-12 10:29:13 +00:00
description = "Yet another simple static gallery generator";
2022-04-26 09:44:18 +00:00
homepage = "http://sigal.saimon.org/";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
2018-01-12 10:29:13 +00:00
};
}