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

35 lines
800 B
Nix
Raw Normal View History

2019-01-19 17:33:10 +01:00
{ lib, python3Packages, ffmpeg }:
2018-01-12 11:29:13 +01:00
2019-01-19 17:33:10 +01:00
python3Packages.buildPythonApplication rec {
version = "2.0";
pname = "sigal";
2018-01-12 11:29:13 +01:00
2019-01-19 17:33:10 +01:00
src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "0ff8hpihbd30xjy155ksfpypjskilqg4zmyavgvpri8jaf1qpv89";
2018-01-12 11:29:13 +01:00
};
2019-01-19 17:33:10 +01:00
checkInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [
2018-01-12 11:29:13 +01:00
jinja2
markdown
pillow
pilkit
clint
click
blinker
];
2018-04-08 16:33:28 +02:00
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
2018-01-12 11:29:13 +01: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 11:29:13 +01:00
license = licenses.mit;
maintainers = with maintainers; [ domenkozar matthiasbeyer ];
2018-01-12 11:29:13 +01:00
};
}