mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
1d5a8a0eed
Only build with python at least at 3.6.0
39 lines
891 B
Nix
39 lines
891 B
Nix
{ lib, python3Packages, ffmpeg_3 }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
version = "2.1.1";
|
|
pname = "sigal";
|
|
|
|
src = python3Packages.fetchPypi {
|
|
inherit version pname;
|
|
sha256 = "0l07p457svznirz7qllgyl3qbhiisv7klhz7cbdw6417hxf9bih8";
|
|
};
|
|
|
|
disabled = !(python3Packages.pythonAtLeast "3.6");
|
|
|
|
checkInputs = with python3Packages; [ pytest ];
|
|
propagatedBuildInputs = with python3Packages; [
|
|
jinja2
|
|
markdown
|
|
pillow
|
|
pilkit
|
|
clint
|
|
click
|
|
blinker
|
|
natsort
|
|
setuptools_scm
|
|
];
|
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg_3}/bin" ];
|
|
|
|
# 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 matthiasbeyer ];
|
|
};
|
|
}
|