nix-packages/flake.nix
Charlotte 🦝 Delenk a5a036c4f5
Some checks failed
Hydra matrix-media-repo Hydra build #22204 of nix-packages:aarch64-linux-master-pr81:matrix-media-repo
Hydra plover-plugin-yaml-dictionary Hydra build #22206 of nix-packages:aarch64-linux-master-pr81:plover-plugin-yaml-dictionary
Hydra woodpecker-agent Hydra build #22207 of nix-packages:aarch64-linux-master-pr81:woodpecker-agent
Hydra woodpecker-cli Hydra build #22209 of nix-packages:aarch64-linux-master-pr81:woodpecker-cli
Hydra plover-plugin-emoji Hydra build #22210 of nix-packages:aarch64-linux-master-pr81:plover-plugin-emoji
Hydra plover-plugins-manager Hydra build #22211 of nix-packages:aarch64-linux-master-pr81:plover-plugins-manager
Hydra mautrix-discord Hydra build #22212 of nix-packages:aarch64-linux-master-pr81:mautrix-discord
Hydra plover-plugin-tapey-tape Hydra build #22213 of nix-packages:aarch64-linux-master-pr81:plover-plugin-tapey-tape
Hydra mautrix-whatsapp Hydra build #22214 of nix-packages:aarch64-linux-master-pr81:mautrix-whatsapp
Hydra woodpecker-server Hydra build #22215 of nix-packages:aarch64-linux-master-pr81:woodpecker-server
Hydra python-mautrix Hydra build #22216 of nix-packages:aarch64-linux-master-pr81:python-mautrix
Hydra python-instagram Hydra build #22217 of nix-packages:aarch64-linux-master-pr81:python-instagram
Hydra plover-dict-didoesdigital Hydra build #22218 of nix-packages:aarch64-linux-master-pr81:plover-dict-didoesdigital
Hydra hydra Hydra build #22205 of nix-packages:aarch64-linux-master-pr81:hydra
Hydra hydra-unstable Hydra build #22208 of nix-packages:aarch64-linux-master-pr81:hydra-unstable
fix
2023-04-22 16:07:13 +01:00

135 lines
3.5 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
description = "Lottes nix packages";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:DarkKirb/flake-utils";
attic = {
url = "github:zhaofengli/attic";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
mautrix-cleanup = {
url = "github:DarkKirb/mautrix-cleanup";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
gomod2nix = {
url = "github:nix-community/gomod2nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
};
hydra = {
url = "github:NixOS/hydra";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachSystem ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" "riscv64-linux"] (
system: let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
config.allowUnsupportedSystem = true;
overlays = [
self.overlays.${system}.default
];
};
in rec {
formatter = pkgs.alejandra;
overlays.default = import ./overlay.nix system;
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
statix
nix-prefetch
];
};
packages =
{
inherit
(pkgs)
akkoma
pleroma-fe
admin-fe
emoji-lotte
emoji-volpeon-blobfox
emoji-volpeon-blobfox-flip
emoji-volpeon-bunhd
emoji-volpeon-bunhd-flip
emoji-volpeon-drgn
emoji-volpeon-fox
emoji-volpeon-gphn
emoji-volpeon-raccoon
emoji-volpeon-vlpn
emoji-caro
lotte-art
alco-sans
constructium
fairfax
fairfax-hd
kreative-square
nasin-nanpa
matrix-media-repo
mautrix-discord
mautrix-whatsapp
mautrix-signal
mautrix-telegram
python-mautrix
python-tulir-telethon
papermc
python-plover-stroke
python-rtf-tokenize
plover
plover-plugins-manager
python-simplefuzzyset
plover-plugin-emoji
plover-plugin-tapey-tape
plover-plugin-yaml-dictionary
plover-plugin-machine-hid
plover-plugin-rkb1-hid
plover-dict-didoesdigital
miifox-net
old-homepage
python-instagram
element-web
mautrix-cleanup
woodpecker-agent
woodpecker-cli
woodpecker-frontend
woodpecker-server
hydra
hydra-unstable
;
}
// (
if system == "riscv64-linux"
then {
inherit (pkgs) vf2Kernel vf2KernelPackages;
}
else {}
);
modules = import ./modules;
lib = import ./lib {inherit pkgs;};
hydraJobs =
if (system == "x86_64-linux") || (system == "aarch64-linux")
then {
inherit packages devShells formatter;
}
else {};
}
);
}