Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.vapoursynth-havsfunc: init at 33.0.0; python312Packages.{stgpytools,vstools,vskernels,vsexprtools,vspyplugin,vsrgtools,vmasktools,vsaa,vsscale,vsdenoise},vs-removegrain,rgsf,akarin-expr,vapoursynth-{tcanny,tedgemask,awapsharp2},warpsharp: init #331833

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b211128
python312Packages.stgpytools: init at 1.0.0
Sigmanificient Aug 2, 2024
b1f43a8
python312Packages.vstools: init 3.0.0
Sigmanificient Aug 2, 2024
f8f7d56
python312Packages.vskernels: init at 3.0.1
Sigmanificient Aug 2, 2024
a673c98
python312Packages.vsexprtools: init at 1.5.0
Sigmanificient Aug 2, 2024
0028978
python312Packages.vspyplugin: init at 1.4.0
Sigmanificient Aug 2, 2024
31e4411
python312Packages.vsrgtools: init at 1.6.1
Sigmanificient Aug 2, 2024
44ca58f
python312Packages.vmasktools: init at 1.2.0
Sigmanificient Aug 2, 2024
b59ec8d
python312Packages.vsaa: init at 1.9.0
Sigmanificient Aug 2, 2024
13ff5bf
python312Packages.vsscale: init at 2.0.0
Sigmanificient Aug 2, 2024
d228897
vs-removegrain: init at 1.0.0-unstable-2022-10-28
Sigmanificient Aug 2, 2024
743432a
rgsf: init at 5.0.0
Sigmanificient Aug 2, 2024
9e84225
akarin-expr: init at 0.95
Sigmanificient Aug 2, 2024
0e1f027
python312Packages.vsrgtools: add recommended plugins to buildInputs
Sigmanificient Aug 2, 2024
b8aa62a
vapoursynth-tcanny: init 14.0.0
Sigmanificient Aug 2, 2024
6ed92fd
vapoursynth-tedgemask: init at 1.0.0
Sigmanificient Aug 2, 2024
27ab657
vapoursynth-awarpsharp2: init 4.0.0
Sigmanificient Aug 2, 2024
80c0eac
warpsharp: init at 1.0.0
Sigmanificient Aug 2, 2024
341b91d
python312Packages.vsmasktools: add recommened plugins to buildInputs
Sigmanificient Aug 2, 2024
b8c2be0
python312Packages.vsdenoise: init at 2.5.0
Sigmanificient Aug 2, 2024
a4a8d45
python312Packages.vapoursynth-havsfunc: 33.0.0
Sigmanificient Aug 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions pkgs/by-name/ak/akarin-expr/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
llvm_18,
pkg-config,
vapoursynth,
ninja,
libxml2,
}:

stdenv.mkDerivation {
pname = "akarin-expr";
version = "0.95";

src = fetchFromGitHub {
owner = "Jaded-Encoding-Thaumaturgy";
repo = "vapoursynth-plugin";
rev = "6d7c733b3014a42be75299427b5c35f56f02a47a";
hash = "sha256-MlQ0iOYPMAGttOVD2yF4kyZE+cpQ240DC2TBJY8/pH4=";
};

nativeBuildInputs = [
meson
pkg-config
ninja
];

buildInputs = [
llvm_18
vapoursynth
libxml2
];

postPatch = ''
substituteInPlace meson.build \
--replace-fail \
"install_dir: join_paths(vapoursynth_dep.get_pkgconfig_variable('libdir'), 'vapoursynth')," \
"install_dir: join_paths('${placeholder "out"}/lib/', 'vapoursynth'),"
'';

meta = {
description = "Experimental VapourSynth plugin";
homepage = "https://github.com/Jaded-Encoding-Thaumaturgy/akarin-vapoursynth-plugin";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.lgpl3Only;
};
}
44 changes: 44 additions & 0 deletions pkgs/by-name/rg/rgsf/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchFromGitHub,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "rgsf";
version = "5.0.0";

src = fetchFromGitHub {
owner = "IFeelBloated";
repo = "RGSF";
rev = "refs/tags/r${lib.versions.major finalAttrs.version}";
hash = "sha256-/w4z8cv4cl+6e8n+fA9axIRVuDo6gFahxM4Rghkpbv0=";
};

buildPhase = ''
runHook preBuild

for file in RGVS Clense RemoveGrain Repair VerticalCleaner; do
$CXX -c -iquote . -o $file.o $file.cpp
done;

$CXX -shared -o rgfs.so *.o

runHook postBuild
'';

installPhase = ''
runHook preInstall

install -Dm755 rgfs.so -t $out/lib/vapoursynth

runHook postInstall
'';

meta = {
description = "RGVS Single Precision";
homepage = "https://github.com/IFeelBloated/RGSF";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.unfree; # unclear license
};
})
35 changes: 35 additions & 0 deletions pkgs/by-name/va/vapoursynth-awarpsharp2/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
pkg-config,
vapoursynth,
ninja,
}:

stdenv.mkDerivation (finalAttrs: {
name = "vapoursynth-awarpsharp2";
version = "4.0.0";

src = fetchFromGitHub {
owner = "dubhater";
repo = "vapoursynth-awarpsharp2";
rev = "refs/tags/v${lib.versions.major finalAttrs.version}";
hash = "sha256-wB70gj/WJf+/vLteO05dawPPnvr/22FsDWHOYooF35g=";
};

buildInputs = [ vapoursynth ];
nativeBuildInputs = [
meson
pkg-config
ninja # resolves: Could not detect Ninja
];

meta = {
description = "Sharpens by warping";
homepage = "https://github.com/dubhater/vapoursynth-awarpsharp2";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.isc;
};
})
46 changes: 46 additions & 0 deletions pkgs/by-name/va/vapoursynth-tcanny/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
pkg-config,
vapoursynth,
ninja,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "vapoursynth-tcanny";
version = "14.0.0";

src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = "VapourSynth-TCanny";
rev = "refs/tags/r${lib.versions.major finalAttrs.version}";
hash = "sha256-UUYb9UFZ3oB05hAW/FvvM0a8nyJlQnynZSSajF2l/U0=";
};

postPatch = ''
substituteInPlace meson.build \
--replace-fail \
"install_dir = get_option('libdir') / 'vapoursynth'" \
"install_dir = '${placeholder "out"}/lib/vapoursynth'" \
--replace-fail \
"install_dir = vapoursynth_dep.get_variable(pkgconfig: 'libdir') / 'vapoursynth'" \
"install_dir = '${placeholder "out"}/lib/vapoursynth'"
'';

buildInputs = [ vapoursynth ];

nativeBuildInputs = [
meson
pkg-config
ninja # resolves: Could not detect Ninja
];

meta = {
description = "Filter for VapourSynth";
homepage = "https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.gpl3Only;
};
})
37 changes: 37 additions & 0 deletions pkgs/by-name/va/vapoursynth-tedgemask/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
cmake,
pkg-config,
vapoursynth,
ninja,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "vapoursynth-tedgemask";
version = "1.0.0";

src = fetchFromGitHub {
owner = "dubhater";
repo = "vapoursynth-tedgemask";
rev = "refs/tags/v${lib.versions.major finalAttrs.version}";
hash = "sha256-7ODhuW6UAG6TltuNNOWUWE9JbB6rXYcoGp/j7okXS5I=";
};

buildInputs = [ vapoursynth ];
nativeBuildInputs = [
meson
cmake
pkg-config
ninja # resolves: Could not detect Ninja
];

meta = {
description = "Edge detection filter";
homepage = "https://github.com/dubhater/vapoursynth-tedgemask";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.gpl2Only;
};
})
42 changes: 42 additions & 0 deletions pkgs/by-name/vs/vs-removegrain/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
pkg-config,
vapoursynth,
ninja,
}:

stdenv.mkDerivation (finalAttrs: {
name = "vs-removegrain";
version = "1.0.0-unstable-2022-10-28";

src = fetchFromGitHub {
owner = "vapoursynth";
repo = "vs-removegrain";
rev = "89ca38a6971e371bdce2778291393258daa5f03b";
hash = "sha256-UcS8EjZGCX00Pt5pAxBTzCiveTKS5yeFT+bQgXKnJ+k=";
};

postPatch = ''
substituteInPlace meson.build \
--replace-fail \
"install_dir : join_paths(vapoursynth_dep.get_pkgconfig_variable('libdir'), 'vapoursynth')," \
"install_dir : join_paths('${placeholder "out"}/lib/', 'vapoursynth'),"
Sigmanificient marked this conversation as resolved.
Show resolved Hide resolved
'';

buildInputs = [ vapoursynth ];
nativeBuildInputs = [
meson
pkg-config
ninja # resolves: Could not detect Ninja
];

meta = {
description = "VapourSynth port of RemoveGrain and Repair plugins from Avisynth";
homepage = "https://github.com/vapoursynth/vs-removegrain";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.wtfpl;
};
})
40 changes: 40 additions & 0 deletions pkgs/by-name/wa/warpsharp/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
}:

stdenv.mkDerivation (finalAttrs: {
name = "warpsharp";
version = "1.0.0";

src = fetchFromGitHub {
owner = "IFeelBloated";
repo = "warpsharp";
rev = "refs/tags/r${lib.versions.major finalAttrs.version}";
hash = "sha256-ar3Dg7SpW42AEZy3H9lnj9oNQO70e6M/s+TDvcofFCg=";
};

buildPhase = ''
runHook preBuild

$CXX -shared -o warpsharp.so -iquote . Source.cpp

runHook postBuild
'';

installPhase = ''
runHook preInstall

install -Dm755 warpsharp.so -t $out/lib/

runHook postInstall
'';

meta = {
description = "fp32 warpsharp for vaporsynth";
homepage = "https://github.com/IFeelBloated/warpsharp";
maintainers = with lib.maintainers; [ sigmanificient ];
license = lib.licenses.unfree;
};
})
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/stgpytools/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:

buildPythonPackage rec {
pname = "stgpytools";
version = "1.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "Setsugennoao";
repo = "stgpytools";
rev = "refs/tags/v${version}";
hash = "sha256-YxDQmtyJgYDUcvMxQ4KqA4yYLO8N4fzCyayyBnuZjf0=";
};

build-system = [ setuptools ];

pythonImportsCheck = [
"stgpytools"
"stgpytools.enums"
"stgpytools.exceptions"
"stgpytools.functions"
"stgpytools.types"
"stgpytools.utils"
];

doCheck = false; # no tests

meta = {
description = "Collection of stuff that's useful in general python programming";
homepage = "https://github.com/Setsugennoao/stgpytools";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
45 changes: 45 additions & 0 deletions pkgs/development/python-modules/vapoursynth-havsfunc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
vapoursynth,
vsdenoise,
vsexprtools,
vsmasktools,
vsrgtools,
vstools,
}:

buildPythonPackage {
pname = "havsfunc";
version = "33.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "HomeOfVapourSynthEvolution";
repo = "havsfunc";
rev = "8707846664a692108c579780e27061ca593559f8";
hash = "sha256-BYcjfKHv5qgN2mjIg3jzuck0lYzTy25WvrO7S40oZdc=";
};

build-system = [ hatchling ];

dependencies = [
vapoursynth
vsdenoise
vsexprtools
vsmasktools
vsrgtools
vstools
];

pythonRelaxDeps = [ "vapoursynth" ];

meta = {
description = "Holy's ported AviSynth functions for VapourSynth";
homepage = "https://github.com/HomeOfVapourSynthEvolution/havsfunc";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}
Loading