2023-10-28 10:56:41 +02:00
|
|
|
{ lib, vapoursynthPlugins, buildPythonPackage, setuptools, fetchFromGitHub, numpy, vapoursynth }:
|
2021-05-16 11:09:54 +02:00
|
|
|
let
|
|
|
|
propagatedBinaryPlugins = with vapoursynthPlugins; [
|
|
|
|
descale
|
|
|
|
fillborders
|
|
|
|
placebo
|
|
|
|
remap
|
|
|
|
];
|
|
|
|
in
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "awsmfunc";
|
2023-10-28 10:56:41 +02:00
|
|
|
version = "1.3.4";
|
|
|
|
pyproject = true;
|
2021-05-16 11:09:54 +02:00
|
|
|
|
2023-10-28 10:56:41 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpusGang";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-7J7s/SdnA5/A/q4SaBfIWG+qOwHpjSrUzWkY1r63wwc=";
|
2021-05-16 11:09:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-10-28 10:56:41 +02:00
|
|
|
setuptools
|
2021-05-16 11:09:54 +02:00
|
|
|
numpy
|
|
|
|
] ++ (with vapoursynthPlugins; [
|
|
|
|
rekt
|
|
|
|
vsutil
|
|
|
|
]);
|
|
|
|
|
|
|
|
checkInputs = [ (vapoursynth.withPlugins propagatedBinaryPlugins) ];
|
|
|
|
pythonImportsCheck = [ "awsmfunc" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A VapourSynth function collection";
|
2023-10-28 10:56:41 +02:00
|
|
|
homepage = "https://github.com/OpusGang/awsmfunc";
|
|
|
|
license = licenses.mit;
|
2021-05-16 11:09:54 +02:00
|
|
|
maintainers = with maintainers; [ sbruder ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|