28 lines
763 B
Nix
28 lines
763 B
Nix
|
{
|
||
|
description = "AJA video card software";
|
||
|
inputs.utils.url = "github:numtide/flake-utils";
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
utils,
|
||
|
}: (
|
||
|
utils.lib.eachSystem ["x86_64-linux"] (system: let
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
};
|
||
|
in {
|
||
|
packages.aja-ntv2-gst = pkgs.callPackage ./ntv2-gst.nix {
|
||
|
ajantv2 = pkgs.callPackage ./aja-ntv2/default.nix { buildApps = false; };
|
||
|
};
|
||
|
formatter = pkgs.alejandra;
|
||
|
})
|
||
|
) // {
|
||
|
overlays.default = (final: prev: {
|
||
|
ajantv-utils = final.callPackage ./aja-ntv2/default.nix {};
|
||
|
ajantv-driver = final.linuxPackages.callPackage ./aja-ntv2/driver.nix {};
|
||
|
aja-ntv2-gst = self.packages.${prev.system}.aja-ntv2-gst;
|
||
|
});
|
||
|
};
|
||
|
}
|