vcsi: cleanup
This commit is contained in:
@@ -3,33 +3,23 @@
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
ffmpeg,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "vcsi";
|
||||
version = "7.0.16";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amietn";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = "vcsi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-I0o6GX/TNMfU+rQtSqReblRplXPynPF6m2zg0YokmtI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3Packages.poetry-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
numpy
|
||||
pillow
|
||||
jinja2
|
||||
texttable
|
||||
parsedatetime
|
||||
build-system = with python3Packages; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -37,15 +27,33 @@ python3Packages.buildPythonApplication rec {
|
||||
"pillow"
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
jinja2
|
||||
numpy
|
||||
parsedatetime
|
||||
pillow
|
||||
texttable
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "vcsi" ];
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" ];
|
||||
|
||||
meta = with lib; {
|
||||
nativeCheckInputs =
|
||||
[
|
||||
versionCheckHook
|
||||
]
|
||||
++ (with python3Packages; [
|
||||
pytestCheckHook
|
||||
]);
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
meta = {
|
||||
description = "Create video contact sheets";
|
||||
homepage = "https://github.com/amietn/vcsi";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
changelog = "https://github.com/amietn/vcsi/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
dandellion
|
||||
zopieux
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user