vapoursynth-nix/pkgs/default.nix
2024-11-04 14:18:15 +01:00

24 lines
644 B
Nix

{ lib, pkgs, }: let
inherit (pkgs) callPackage;
load = baseDir: lib.mapAttrs (name: _: callPackage "${baseDir}/${name}/package.nix" {}) (
lib.filterAttrs (_: type: type == "directory") (builtins.readDir baseDir)
);
in (load ./.) // {
vapoursynth-bm3dcpu = callPackage ./vapoursynth-bm3dcuda/package.nix {
cudaSupport = false;
cpuSupport = true;
};
vs-dfttest2cuda = callPackage ./vs-dfttest2/package.nix {
cudaSupport = true;
};
vs-dfttest2gcc = callPackage ./vs-dfttest2/package.nix {
genericVector = true;
};
vs-dfttest2hip = callPackage ./vs-dfttest2/package.nix {
rocmSupport = true;
};
}