Compare commits

...

4 Commits

Author SHA1 Message Date
Aidan Gauland 09d81574c8
Enable awsmfunc and deps in everything shell 2023-11-20 18:17:05 +13:00
Aidan Gauland 513f86c002
awsmfunc: unstable-2021-01-26 -> 1.3.4
Addresses #19
2023-11-20 18:17:05 +13:00
Aidan Gauland b6afee61c5
rekt: 39 -> 1.0.0 2023-11-20 18:17:05 +13:00
Aidan Gauland ebc6d24917
placebo: 1.4.2 -> 1.4.4 2023-11-20 18:17:05 +13:00
4 changed files with 29 additions and 45 deletions

View File

@ -56,7 +56,7 @@ in
pkgs.vapoursynthPlugins.nnedi3 pkgs.vapoursynthPlugins.nnedi3
pkgs.vapoursynthPlugins.nnedi3cl pkgs.vapoursynthPlugins.nnedi3cl
pkgs.vapoursynthPlugins.ocr pkgs.vapoursynthPlugins.ocr
# pkgs.vapoursynthPlugins.placebo pkgs.vapoursynthPlugins.placebo
pkgs.vapoursynthPlugins.readmpls pkgs.vapoursynthPlugins.readmpls
pkgs.vapoursynthPlugins.remap pkgs.vapoursynthPlugins.remap
pkgs.vapoursynthPlugins.removegrain pkgs.vapoursynthPlugins.removegrain
@ -78,7 +78,7 @@ in
# pkgs.vapoursynthPlugins.acsuite # pkgs.vapoursynthPlugins.acsuite
pkgs.vapoursynthPlugins.adjust pkgs.vapoursynthPlugins.adjust
pkgs.vapoursynthPlugins.astdr pkgs.vapoursynthPlugins.astdr
# pkgs.vapoursynthPlugins.awsmfunc pkgs.vapoursynthPlugins.awsmfunc
# pkgs.vapoursynthPlugins.debandshit # pkgs.vapoursynthPlugins.debandshit
pkgs.vapoursynthPlugins.dfmderainbow pkgs.vapoursynthPlugins.dfmderainbow
pkgs.vapoursynthPlugins.edi_rpow2 pkgs.vapoursynthPlugins.edi_rpow2
@ -92,7 +92,7 @@ in
pkgs.vapoursynthPlugins.mvsfunc pkgs.vapoursynthPlugins.mvsfunc
pkgs.vapoursynthPlugins.nnedi3_resample pkgs.vapoursynthPlugins.nnedi3_resample
pkgs.vapoursynthPlugins.nnedi3_rpow2 pkgs.vapoursynthPlugins.nnedi3_rpow2
# pkgs.vapoursynthPlugins.rekt pkgs.vapoursynthPlugins.rekt
# pkgs.vapoursynthPlugins.vardefunc # pkgs.vapoursynthPlugins.vardefunc
# pkgs.vapoursynthPlugins.vsTAAmbk # pkgs.vapoursynthPlugins.vsTAAmbk
pkgs.vapoursynthPlugins.vsgan pkgs.vapoursynthPlugins.vsgan

View File

@ -1,4 +1,4 @@
{ lib, vapoursynthPlugins, buildPythonPackage, fetchgit, numpy, vapoursynth }: { lib, vapoursynthPlugins, buildPythonPackage, setuptools, fetchFromGitHub, numpy, vapoursynth }:
let let
propagatedBinaryPlugins = with vapoursynthPlugins; [ propagatedBinaryPlugins = with vapoursynthPlugins; [
descale descale
@ -9,23 +9,18 @@ let
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "awsmfunc"; pname = "awsmfunc";
version = "unstable-2021-01-26"; version = "1.3.4";
pyproject = true;
src = fetchgit { src = fetchFromGitHub {
url = "https://git.concertos.live/AHD/awsmfunc.git"; owner = "OpusGang";
rev = "e57ad6a976d059ffcf8ae59ee986bdbefef53cd0"; repo = pname;
sha256 = "0j2gzxcz3sy0h7r5a1dhl6xjgjd2m66mw4kfm8q2glar5b7gn0k7"; rev = version;
hash = "sha256-7J7s/SdnA5/A/q4SaBfIWG+qOwHpjSrUzWkY1r63wwc=";
}; };
# This does not depend on vapoursynth (since this is used from within
# vapoursynth).
postPatch = ''
substituteInPlace requirements.txt \
--replace "VapourSynth>=49" "" \
--replace "rekt@https://gitlab.com/Ututu/rekt/-/archive/3da2b2f2b2d670e635cef6dcc61f19c8fe10f1fa/rekt-3da2b2f2b2d670e635cef6dcc61f19c8fe10f1fa.zip" "rekt"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools
numpy numpy
] ++ (with vapoursynthPlugins; [ ] ++ (with vapoursynthPlugins; [
rekt rekt
@ -37,8 +32,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "A VapourSynth function collection"; description = "A VapourSynth function collection";
homepage = "https://git.concertos.live/AHD/awsmfunc"; homepage = "https://github.com/OpusGang/awsmfunc";
license = licenses.unfree; # no license license = licenses.mit;
maintainers = with maintainers; [ sbruder ]; maintainers = with maintainers; [ sbruder ];
platforms = platforms.all; platforms = platforms.all;
}; };

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vs-placebo"; pname = "vs-placebo";
version = "1.4.2"; version = "1.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Lypheo"; owner = "Lypheo";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-nerS1z/Ch/UqcmcY2gNL1Xl3hs1/etEAODj8pzrSuEE="; sha256 = "sha256-1DTdllP+Y4s+t2PMnpcgeLjOxOyyV/yhFSxPP9/Gy9M=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace meson.build \ substituteInPlace meson.build \
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')" --replace "vapoursynth_dep.get_variable(pkgconfig: 'libdir')" "get_option('libdir')"
''; '';
meta = with lib; { meta = with lib; {

View File

@ -1,40 +1,29 @@
{ lib, buildPythonPackage, fetchFromGitLab, vapoursynthPlugins, vapoursynth }: { lib, buildPythonPackage, setuptools, fetchFromGitHub, vapoursynthPlugins, vapoursynth }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "rekt"; pname = "rekt";
version = "39"; version = "1.0.0";
pyproject = true;
src = fetchFromGitLab { src = fetchFromGitHub {
owner = "Ututu"; owner = "OpusGang";
repo = pname; repo = pname;
rev = "153863e07779219c48cf1223bfdba86c47bc43be"; rev = version;
sha256 = "1h83dqwn71pfqxx8hppbqc7i9mh0a2pbpydsm8jvf538z9nr2sl9"; sha256 = "sha256-SWu7W0DFoPLeTe4+aYQGUlaU0n63W3IB7Fdi71uqyzw=";
}; };
# This does not depend on vapoursynth (since this is used from within propagatedBuildInputs = [
# vapoursynth). setuptools
postPatch = '' vapoursynthPlugins.vsutil
substituteInPlace setup.py \
--replace "install_requires=['vapoursynth', " "install_requires=["
'';
propagatedBuildInputs = with vapoursynthPlugins; [
vsutil
]; ];
checkInputs = [ vapoursynth ]; checkInputs = [ vapoursynth ];
checkPhase = ''
runHook preCheck
# This overrides the default setuptools checkPhase that detects tests (that
# dont work) even though this package doesnt have tests.
runHook postCheck
'';
pythonImportsCheck = [ "rekt" ]; pythonImportsCheck = [ "rekt" ];
meta = with lib; { meta = with lib; {
description = "VapourSynth wrapper for Cropping and Stacking clips"; description = "VapourSynth wrapper for Cropping and Stacking clips";
homepage = "https://gitlab.com/Ututu/rekt"; homepage = "https://github.com/OpusGang/rekt";
license = licenses.unfree; # no license license = licenses.mit;
maintainers = with maintainers; [ sbruder ]; maintainers = with maintainers; [ sbruder ];
platforms = platforms.all; platforms = platforms.all;
}; };