packages/default.nix

26 lines
594 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
inherit (pkgs) callPackage;
inherit (pkgs.lib) optionalAttrs;
in rec {
janus-gateway = callPackage ./pkgs/janus-gateway { inherit usrsctp; };
nextcloud-spreed-signaling = callPackage ./pkgs/nextcloud-spreed-signaling { };
snipe-it = callPackage ./pkgs/snipe-it { };
usrsctp = callPackage ./pkgs/usrsctp { };
} // optionalAttrs (pkgs.system == "x86_64-linux") {
chrysalis-bin = callPackage ./pkgs/chrysalis-bin { };
ryzenadj = callPackage ./pkgs/ryzenadj { };
ryzen_smu = callPackage ./pkgs/ryzen_smu { kernel = pkgs.linux; };
}