nixpkgs/pkgs/tools/video/vcsi/default.nix

32 lines
714 B
Nix
Raw Normal View History

2020-09-03 22:55:42 +00:00
{ lib, python3Packages, ffmpeg }:
python3Packages.buildPythonApplication rec {
pname = "vcsi";
2021-02-15 09:13:54 +00:00
version = "7.0.13";
2020-09-03 22:55:42 +00:00
src = python3Packages.fetchPypi {
inherit pname version;
2021-02-15 09:13:54 +00:00
sha256 = "01qwbb2l8gwf622zzhh0kzdzw3njvsdwmndwn01i9bn4qm5cas8r";
2020-09-03 22:55:42 +00:00
};
propagatedBuildInputs = with python3Packages; [
numpy
pillow
jinja2
texttable
parsedatetime
];
2021-02-15 09:13:54 +00:00
doCheck = false;
pythonImportsCheck = [ "vcsi" ];
2020-09-03 22:55:42 +00:00
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" ];
meta = with lib; {
description = "Create video contact sheets";
homepage = "https://github.com/amietn/vcsi";
license = licenses.mit;
maintainers = with maintainers; [ dandellion ];
};
}