2023-11-19 19:44:07 +01:00
|
|
|
{ lib, buildPythonPackage, setuptools, fetchFromGitHub, vapoursynthPlugins, vapoursynth }:
|
2021-05-16 10:57:13 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rekt";
|
2023-11-19 19:44:07 +01:00
|
|
|
version = "1.0.0";
|
|
|
|
pyproject = true;
|
2021-05-16 10:57:13 +02:00
|
|
|
|
2023-11-19 19:44:07 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpusGang";
|
2021-05-16 10:57:13 +02:00
|
|
|
repo = pname;
|
2023-11-19 19:44:07 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-SWu7W0DFoPLeTe4+aYQGUlaU0n63W3IB7Fdi71uqyzw=";
|
2021-05-16 10:57:13 +02:00
|
|
|
};
|
|
|
|
|
2023-11-19 19:44:07 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
vapoursynthPlugins.vsutil
|
2021-05-16 10:57:13 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ vapoursynth ];
|
|
|
|
pythonImportsCheck = [ "rekt" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "VapourSynth wrapper for Cropping and Stacking clips";
|
2023-11-19 19:44:07 +01:00
|
|
|
homepage = "https://github.com/OpusGang/rekt";
|
|
|
|
license = licenses.mit;
|
2021-05-16 10:57:13 +02:00
|
|
|
maintainers = with maintainers; [ sbruder ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|