bonfire/packages/default.nix

124 lines
2.6 KiB
Nix
Raw Permalink Normal View History

2023-12-19 22:02:15 +05:00
# 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;
2023-12-19 11:52:26 +05:00
inherit bonLib;
bonModules = self.nixosModules;
bonPkgs = self.packages.${system};
2024-04-22 00:26:36 +05:00
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;};
};
2024-04-22 00:26:36 +05:00
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;
};
2023-12-19 22:02:15 +05:00
spoofdpi = {
source = ./spoofdpi;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
2023-12-20 11:41:51 +05:00
ultimmc = {
source = ./ultimmc;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.libsForQt5.callPackage;
};
2024-01-16 01:39:54 +05:00
cargo-shuttle = {
source = ./cargo-shuttle;
platforms = ["x86_64-linux"];
builder = {pkgs, ...}: pkgs.callPackage;
};
2024-01-19 20:00:05 +05:00
bonvim = {
source = ./bonvim;
platforms = ["x86_64-linux"];
builder = {...}: import;
};
2024-04-22 00:26:36 +05:00
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;
};
}