nixpkgs/pkgs/tools/video/vcsi/default.nix
2023-05-25 19:03:52 +03:00

31 lines
709 B
Nix

{ lib, python3Packages, fetchPypi, ffmpeg }:
python3Packages.buildPythonApplication rec {
pname = "vcsi";
version = "7.0.13";
src = fetchPypi {
inherit pname version;
sha256 = "01qwbb2l8gwf622zzhh0kzdzw3njvsdwmndwn01i9bn4qm5cas8r";
};
propagatedBuildInputs = with python3Packages; [
numpy
pillow
jinja2
texttable
parsedatetime
];
doCheck = false;
pythonImportsCheck = [ "vcsi" ];
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 ];
};
}