bonfire/packages/default.nix
L-Nafaryus 27d79a8647
Some checks failed
nix / check (push) Failing after 3m30s
flake: update lock
nixosModules.zapret: ip block list interface
packages.zapret: remove antifilter lists
astora: update zapret lists
lib.preconfiguredModules.bonvim: fix deprecations
2024-09-20 23:04:43 +05:00

124 lines
2.6 KiB
Nix

# self.packages.${system}
#
{
lib,
bonLib,
self,
inputs,
...
}: let
platformInputs = system: rec {
pkgs = inputs.nixpkgs.legacyPackages.${system};
#pkgs = import inputs.nixpkgs {
# inherit system;
# config.allowUnfree = true;
#};
lib = pkgs.lib;
inherit bonLib;
bonModules = self.nixosModules;
bonPkgs = self.packages.${system};
craneLib = inputs.crane.mkLib pkgs;
fenixPkgs = inputs.fenix.packages.${system};
nixvimPkgs = inputs.nixvim.legacyPackages.${system};
weztermPkgs = inputs.wezterm.packages.${system};
};
in
bonLib.collectPackages platformInputs {
bonfire-docs = {
source = ./bonfire-docs;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
extraArgs = {inherit self;};
};
netgen = {
source = ./netgen;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
dearpygui = {
source = ./dearpygui;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
openfoam = {
source = ./openfoam;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
spoofdpi = {
source = ./spoofdpi;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
ultimmc = {
source = ./ultimmc;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.libsForQt5.callPackage;
};
cargo-shuttle = {
source = ./cargo-shuttle;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
bonvim = {
source = ./bonvim;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
zapret = {
source = ./zapret;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
# Pass for cache
blender = {
source = ./blender;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
wezterm = {
source = ./wezterm;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
# Container images
nix-minimal = {
source = ./nix-minimal;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
nix-runner = {
source = ./nix-runner;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
postgresql = {
source = ./postgresql;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
redis = {
source = ./redis;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
}