2023-10-28 17:03:42 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, ffmpeg }:
|
2020-09-03 22:55:42 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "vcsi";
|
2023-10-28 17:03:42 +00:00
|
|
|
version = "7.0.16";
|
2020-09-03 22:55:42 +00:00
|
|
|
|
2023-10-28 17:03:42 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amietn";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-I0o6GX/TNMfU+rQtSqReblRplXPynPF6m2zg0YokmtI=";
|
2020-09-03 22:55:42 +00:00
|
|
|
};
|
|
|
|
|
2023-10-28 17:03:42 +00:00
|
|
|
nativeBuildInputs = [ python3Packages.poetry-core ];
|
|
|
|
|
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;
|
2023-10-28 17:03:42 +00:00
|
|
|
maintainers = with maintainers; [ dandellion zopieux ];
|
2023-11-23 02:51:17 +00:00
|
|
|
mainProgram = "vcsi";
|
2020-09-03 22:55:42 +00:00
|
|
|
};
|
|
|
|
}
|