This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/flake.nix

138 lines
3.5 KiB
Nix
Raw Normal View History

2022-06-11 12:32:09 +00:00
{
description = "Lottes nix packages";
inputs = {
2022-07-08 10:46:38 +00:00
nixpkgs.url = "github:NixOS/nixpkgs";
2023-03-10 08:06:28 +00:00
flake-utils.url = "github:DarkKirb/flake-utils";
2023-01-16 09:02:58 +00:00
attic = {
url = "github:zhaofengli/attic";
2023-03-10 08:06:28 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2023-01-16 09:02:58 +00:00
inputs.flake-utils.follows = "flake-utils";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
2023-03-10 08:06:28 +00:00
mautrix-cleanup = {
url = "github:DarkKirb/mautrix-cleanup";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
2023-04-21 13:51:47 +00:00
gomod2nix = {
2023-05-09 16:42:05 +00:00
url = "github:DarkKirb/gomod2nix";
2023-04-21 14:43:38 +00:00
inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
2023-04-21 13:51:47 +00:00
};
2023-04-22 06:59:53 +00:00
hydra = {
2023-05-30 06:56:00 +00:00
url = "git+https://git.chir.rs/darkkirb/hydra";
2023-04-22 06:59:53 +00:00
};
2022-06-11 12:32:09 +00:00
};
2022-06-13 05:53:33 +00:00
outputs = {
2023-04-22 14:40:58 +00:00
self,
2022-06-13 05:53:33 +00:00
nixpkgs,
flake-utils,
2023-06-09 06:48:30 +00:00
hydra,
2022-06-13 05:53:33 +00:00
...
2023-04-22 14:40:58 +00:00
}:
2022-11-27 14:06:17 +00:00
flake-utils.lib.eachSystem ["aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" "riscv64-linux"] (
2022-06-13 05:53:33 +00:00
system: let
2022-07-03 09:58:04 +00:00
pkgs = import nixpkgs {
inherit system;
2022-09-25 13:57:21 +00:00
config.allowUnfree = true;
2022-11-28 13:33:03 +00:00
config.allowUnsupportedSystem = true;
2023-04-21 13:51:47 +00:00
overlays = [
2023-04-22 14:40:58 +00:00
self.overlays.${system}.default
2023-04-21 13:51:47 +00:00
];
2022-07-03 09:58:04 +00:00
};
2022-06-13 05:53:33 +00:00
in rec {
2022-06-11 12:32:09 +00:00
formatter = pkgs.alejandra;
2023-04-22 14:40:58 +00:00
overlays.default = import ./overlay.nix system;
2022-06-11 12:32:09 +00:00
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
statix
nix-prefetch
2022-06-11 12:32:09 +00:00
];
};
2022-06-11 12:36:59 +00:00
packages =
{
2023-04-22 14:40:58 +00:00
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
2023-04-22 15:07:13 +00:00
python-mautrix
2023-04-22 14:40:58 +00:00
python-tulir-telethon
papermc
python-plover-stroke
python-rtf-tokenize
plover
2023-04-22 15:07:13 +00:00
plover-plugins-manager
2023-04-22 14:40:58 +00:00
python-simplefuzzyset
2023-04-22 15:07:13 +00:00
plover-plugin-emoji
plover-plugin-tapey-tape
plover-plugin-yaml-dictionary
2023-04-22 14:40:58 +00:00
plover-plugin-machine-hid
plover-plugin-rkb1-hid
2023-04-22 15:07:13 +00:00
plover-dict-didoesdigital
2023-04-22 14:40:58 +00:00
miifox-net
old-homepage
2023-04-22 15:07:13 +00:00
python-instagram
2023-04-22 14:40:58 +00:00
element-web
mautrix-cleanup
woodpecker-agent
woodpecker-cli
woodpecker-frontend
woodpecker-server
2023-04-25 06:52:51 +00:00
wordpress-plugins
2023-04-27 09:28:50 +00:00
wordpress-themes
2023-05-09 16:42:05 +00:00
kubo
2023-06-09 19:02:44 +00:00
hydra
hydra-unstable
2023-06-10 16:13:26 +00:00
fcitx5
2023-04-22 14:40:58 +00:00
;
}
// (
if system == "riscv64-linux"
2023-04-22 14:40:58 +00:00
then {
2023-06-16 05:40:20 +00:00
inherit (pkgs) vf2Kernel;
}
else {}
2023-04-22 14:40:58 +00:00
);
modules = import ./modules;
lib = import ./lib {inherit pkgs;};
2022-06-11 12:36:59 +00:00
2023-06-16 05:40:20 +00:00
hydraJobs = {
inherit packages devShells formatter;
};
2022-06-11 12:32:09 +00:00
}
);
}