3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/sigal/default.nix
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00

35 lines
804 B
Nix

{ lib, python3Packages, ffmpeg_3 }:
python3Packages.buildPythonApplication rec {
version = "2.0";
pname = "sigal";
src = python3Packages.fetchPypi {
inherit version pname;
sha256 = "0ff8hpihbd30xjy155ksfpypjskilqg4zmyavgvpri8jaf1qpv89";
};
checkInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [
jinja2
markdown
pillow
pilkit
clint
click
blinker
];
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 ];
};
}