Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
ffmpeg,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "vcsi";
|
|
version = "7.0.16";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "amietn";
|
|
repo = "vcsi";
|
|
tag = "v${version}";
|
|
hash = "sha256-I0o6GX/TNMfU+rQtSqReblRplXPynPF6m2zg0YokmtI=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
poetry-core
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"numpy"
|
|
"pillow"
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
jinja2
|
|
numpy
|
|
parsedatetime
|
|
pillow
|
|
texttable
|
|
];
|
|
|
|
pythonImportsCheck = [ "vcsi" ];
|
|
|
|
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" ];
|
|
|
|
nativeCheckInputs = [
|
|
versionCheckHook
|
|
]
|
|
++ (with python3Packages; [
|
|
pytestCheckHook
|
|
]);
|
|
versionCheckProgramArg = "--version";
|
|
|
|
meta = {
|
|
description = "Create video contact sheets";
|
|
homepage = "https://github.com/amietn/vcsi";
|
|
changelog = "https://github.com/amietn/vcsi/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
dandellion
|
|
zopieux
|
|
];
|
|
mainProgram = "vcsi";
|
|
};
|
|
}
|