3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/sigal/default.nix

39 lines
891 B
Nix
Raw Normal View History

{ lib, python3Packages, ffmpeg_3 }:
2018-01-12 10:29:13 +00:00
2019-01-19 16:33:10 +00:00
python3Packages.buildPythonApplication rec {
version = "2.1.1";
pname = "sigal";
2018-01-12 10:29:13 +00:00
2019-01-19 16:33:10 +00:00
src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "0l07p457svznirz7qllgyl3qbhiisv7klhz7cbdw6417hxf9bih8";
2018-01-12 10:29:13 +00:00
};
disabled = !(python3Packages.pythonAtLeast "3.6");
2019-01-19 16:33:10 +00:00
checkInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [
2018-01-12 10:29:13 +00:00
jinja2
markdown
pillow
pilkit
clint
click
blinker
natsort
setuptools_scm
2018-01-12 10:29:13 +00:00
];
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
2018-04-08 15:33:28 +01:00
2018-01-12 10:29:13 +00:00
# No tests included
doCheck = false;
meta = with lib; {
description = "Yet another simple static gallery generator";
homepage = "http://sigal.saimon.org/en/latest/index.html";
2018-01-12 10:29:13 +00:00
license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
2018-01-12 10:29:13 +00:00
};
}