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

36 lines
787 B
Nix
Raw Normal View History

2018-04-08 14:33:28 +00:00
{ lib, buildPythonApplication, fetchPypi, pythonPackages, ffmpeg }:
2018-01-12 10:29:13 +00:00
buildPythonApplication rec {
version = "1.4.1";
pname = "sigal";
2018-01-12 10:29:13 +00:00
src = fetchPypi {
inherit version pname;
sha256 = "1fg32ii26j3xpq3cryi212lx9z33qnicm1cszwv1wfpg6sr2rr61";
2018-01-12 10:29:13 +00:00
};
buildInputs = with pythonPackages; [ pytest ];
propagatedBuildInputs = with pythonPackages; [
jinja2
markdown
pillow
pilkit
clint
click
blinker
];
2018-04-08 14:33:28 +00:00
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
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;
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
2018-01-12 10:29:13 +00:00
};
}