forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
45 lines (38 loc) · 961 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib, python3Packages, ffmpeg }:
python3Packages.buildPythonApplication rec {
version = "2.2";
pname = "sigal";
src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
};
disabled = !(python3Packages.pythonAtLeast "3.6");
propagatedBuildInputs = with python3Packages; [
# install_requires
jinja2
markdown
pillow
pilkit
click
blinker
natsort
# extras_require
boto
brotli
feedgenerator
zopfli
cryptography
];
checkInputs = [
ffmpeg
] ++ (with python3Packages; [
pytestCheckHook
]);
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
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 matthiasbeyer ];
};
}