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
Charlotte 🦝 Delenk b4bf68ded0
Some checks failed
Hydra rpi4Kernel Hydra build #12427 of nix-packages:aarch64-linux-master-pr2:rpi4Kernel
Hydra python-plover-stroke Hydra build #12478 of nix-packages:x86_64-linux-master-pr2:python-plover-stroke
Hydra nasin-nanpa Hydra build #12479 of nix-packages:x86_64-linux-master-pr2:nasin-nanpa
Hydra alco-sans Hydra build #12480 of nix-packages:x86_64-linux-master-pr2:alco-sans
Hydra attic-client Hydra build #12481 of nix-packages:x86_64-linux-master-pr2:attic-client
Hydra pleroma-fe Hydra build #12482 of nix-packages:x86_64-linux-master-pr2:pleroma-fe
Hydra emoji-volpeon-fox Hydra build #12484 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-fox
Hydra mautrix-cleanup Hydra build #12485 of nix-packages:x86_64-linux-master-pr2:mautrix-cleanup
Hydra emoji-volpeon-blobfox-flip Hydra build #12487 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-blobfox-flip
Hydra element-web Hydra build #12488 of nix-packages:x86_64-linux-master-pr2:element-web
Hydra mautrix-whatsapp Hydra build #12489 of nix-packages:x86_64-linux-master-pr2:mautrix-whatsapp
Hydra constructium Hydra build #12490 of nix-packages:x86_64-linux-master-pr2:constructium
Hydra admin-fe Hydra build #12491 of nix-packages:x86_64-linux-master-pr2:admin-fe
Hydra fairfax-hd Hydra build #12492 of nix-packages:x86_64-linux-master-pr2:fairfax-hd
Hydra matrix-media-repo Hydra build #12493 of nix-packages:x86_64-linux-master-pr2:matrix-media-repo
Hydra mautrix-telegram Hydra build #12494 of nix-packages:x86_64-linux-master-pr2:mautrix-telegram
Hydra emoji-volpeon-gphn Hydra build #12495 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-gphn
Hydra python-rtf-tokenize Hydra build #12496 of nix-packages:x86_64-linux-master-pr2:python-rtf-tokenize
Hydra emoji-volpeon-vlpn Hydra build #12497 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-vlpn
Hydra mautrix-signal Hydra build #12498 of nix-packages:x86_64-linux-master-pr2:mautrix-signal
Hydra plover-plugins-manager Hydra build #12500 of nix-packages:x86_64-linux-master-pr2:plover-plugins-manager
Hydra plover-plugin-machine-hid Hydra build #12501 of nix-packages:x86_64-linux-master-pr2:plover-plugin-machine-hid
Hydra plover Hydra build #12502 of nix-packages:x86_64-linux-master-pr2:plover
Hydra plover-plugin-rkb1-hid Hydra build #12503 of nix-packages:x86_64-linux-master-pr2:plover-plugin-rkb1-hid
Hydra plover-dict-didoesdigital Hydra build #12504 of nix-packages:x86_64-linux-master-pr2:plover-dict-didoesdigital
Hydra emoji-volpeon-blobfox Hydra build #12505 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-blobfox
Hydra python-simplefuzzyset Hydra build #12506 of nix-packages:x86_64-linux-master-pr2:python-simplefuzzyset
Hydra old-homepage Hydra build #12507 of nix-packages:x86_64-linux-master-pr2:old-homepage
Hydra emoji-volpeon-bunhd Hydra build #12508 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-bunhd
Hydra lotte-art Hydra build #12510 of nix-packages:x86_64-linux-master-pr2:lotte-art
Hydra mautrix-discord Hydra build #12511 of nix-packages:x86_64-linux-master-pr2:mautrix-discord
Hydra attic-server Hydra build #12512 of nix-packages:x86_64-linux-master-pr2:attic-server
Hydra emoji-volpeon-drgn Hydra build #12513 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-drgn
Hydra fairfax Hydra build #12514 of nix-packages:x86_64-linux-master-pr2:fairfax
Hydra plover-plugin-yaml-dictionary Hydra build #12515 of nix-packages:x86_64-linux-master-pr2:plover-plugin-yaml-dictionary
Hydra plover-plugin-emoji Hydra build #12517 of nix-packages:x86_64-linux-master-pr2:plover-plugin-emoji
Hydra emoji-volpeon-raccoon Hydra build #12518 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-raccoon
Hydra plover-plugin-tapey-tape Hydra build #12519 of nix-packages:x86_64-linux-master-pr2:plover-plugin-tapey-tape
Hydra python-tulir-telethon Hydra build #12520 of nix-packages:x86_64-linux-master-pr2:python-tulir-telethon
Hydra python-instagram Hydra build #12521 of nix-packages:x86_64-linux-master-pr2:python-instagram
Hydra akkoma Hydra build #12522 of nix-packages:x86_64-linux-master-pr2:akkoma
Hydra papermc Hydra build #12523 of nix-packages:x86_64-linux-master-pr2:papermc
Hydra emoji-lotte Hydra build #12524 of nix-packages:x86_64-linux-master-pr2:emoji-lotte
Hydra miifox-net Hydra build #12525 of nix-packages:x86_64-linux-master-pr2:miifox-net
Hydra emoji-volpeon-bunhd-flip Hydra build #12526 of nix-packages:x86_64-linux-master-pr2:emoji-volpeon-bunhd-flip
Hydra python-mautrix Hydra build #12527 of nix-packages:x86_64-linux-master-pr2:python-mautrix
Hydra kreative-square Hydra build #12528 of nix-packages:x86_64-linux-master-pr2:kreative-square
Hydra attic Hydra build #12529 of nix-packages:x86_64-linux-master-pr2:attic
Hydra woodpecker-agent Hydra build #12486 of nix-packages:x86_64-linux-master-pr2:woodpecker-agent
Hydra woodpecker-cli Hydra build #12456 of nix-packages:aarch64-linux-master-pr2:woodpecker-cli
Hydra woodpecker-frontend Hydra build #12431 of nix-packages:aarch64-linux-master-pr2:woodpecker-frontend
Hydra woodpecker-server Hydra build #12472 of nix-packages:aarch64-linux-master-pr2:woodpecker-server
Hydra emoji-caro Hydra build #12470 of nix-packages:aarch64-linux-master-pr2:emoji-caro
add woodpecker CI
2023-04-08 19:11:07 +01:00

133 lines
6.2 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";
};
};
outputs = {
self,
nixpkgs,
flake-utils,
...
} @ inputs:
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;
};
inherit (pkgs) lib;
nur = import ./default.nix {inherit pkgs;};
packages = lib.filterAttrs (n: _: n != "overlays" && n != "modules" && n != "lib") nur;
in rec {
formatter = pkgs.alejandra;
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
statix
nix-prefetch
];
};
packages =
{
akkoma = pkgs.callPackage ./akkoma {};
pleroma-fe = pkgs.callPackage ./akkoma/pleroma-fe {};
admin-fe = pkgs.callPackage ./akkoma/admin-fe {};
emoji-lotte = pkgs.callPackage ./art/emoji/lotte {};
emoji-volpeon-blobfox = pkgs.callPackage ./art/emoji/volpeon/blobfox.nix {};
emoji-volpeon-blobfox-flip = pkgs.callPackage ./art/emoji/volpeon/blobfox_flip.nix {};
emoji-volpeon-bunhd = pkgs.callPackage ./art/emoji/volpeon/bunhd.nix {};
emoji-volpeon-bunhd-flip = pkgs.callPackage ./art/emoji/volpeon/bunhd_flip.nix {};
emoji-volpeon-drgn = pkgs.callPackage ./art/emoji/volpeon/drgn.nix {};
emoji-volpeon-fox = pkgs.callPackage ./art/emoji/volpeon/fox.nix {};
emoji-volpeon-gphn = pkgs.callPackage ./art/emoji/volpeon/gphn.nix {};
emoji-volpeon-raccoon = pkgs.callPackage ./art/emoji/volpeon/raccoon.nix {};
emoji-volpeon-vlpn = pkgs.callPackage ./art/emoji/volpeon/vlpn.nix {};
emoji-caro = pkgs.callPackage ./art/emoji/caro {};
lotte-art = pkgs.callPackage ./art/lotte {};
alco-sans = pkgs.callPackage ./fonts/kreative/alco-sans.nix {};
constructium = pkgs.callPackage ./fonts/kreative/constructium.nix {};
fairfax = pkgs.callPackage ./fonts/kreative/fairfax.nix {};
fairfax-hd = pkgs.callPackage ./fonts/kreative/fairfax-hd.nix {};
kreative-square = pkgs.callPackage ./fonts/kreative/kreative-square.nix {};
nasin-nanpa = pkgs.callPackage ./fonts/nasin-nanpa {};
matrix-media-repo = pkgs.callPackage ./matrix/matrix-media-repo {};
mautrix-discord = pkgs.callPackage ./matrix/mautrix-discord {};
mautrix-whatsapp = pkgs.callPackage ./matrix/mautrix-whatsapp {};
mautrix-signal = pkgs.callPackage ./matrix/mautrix-signal {};
mautrix-telegram = pkgs.callPackage ./matrix/mautrix-telegram {};
python-mautrix = pkgs.python3Packages.callPackage ./python/mautrix.nix {};
python-tulir-telethon = pkgs.python3Packages.callPackage ./python/tulir-telethon.nix {};
papermc = pkgs.callPackage ./minecraft/papermc {};
python-plover-stroke = pkgs.python3Packages.callPackage ./plover/plover-stroke.nix {};
python-rtf-tokenize = pkgs.python3Packages.callPackage ./python/rtf-tokenize.nix {};
plover = pkgs.python3Packages.callPackage ./plover/plover {};
plover-plugins-manager = pkgs.python3Packages.callPackage ./plover/plover-plugins-manager.nix {};
python-simplefuzzyset = pkgs.python3Packages.callPackage ./python/simplefuzzyset.nix {};
plover-plugin-emoji = pkgs.python3Packages.callPackage ./plover/plover-emoji.nix {};
plover-plugin-tapey-tape = pkgs.python3Packages.callPackage ./plover/plover-tapey-tape.nix {};
plover-plugin-yaml-dictionary = pkgs.python3Packages.callPackage ./plover/plover-yaml-dictionary.nix {};
plover-plugin-machine-hid = pkgs.python3Packages.callPackage ./plover/plover-machine-hid.nix {};
plover-plugin-rkb1-hid = pkgs.python3Packages.callPackage ./plover/plover-rkb1-hid.nix {};
plover-dict-didoesdigital = pkgs.callPackage ./plover/didoesdigital-dictionary.nix {};
miifox-net = pkgs.python3Packages.callPackage ./web/miifox-net.nix {};
old-homepage = pkgs.callPackage ./web/old-homepage.nix {};
python-instagram = pkgs.python3Packages.callPackage ./python/instagram.nix {};
inherit (inputs.attic.packages.${pkgs.system}) attic attic-client attic-server;
element-web = pkgs.callPackage ./matrix/element-web {};
mautrix-cleanup = inputs.mautrix-cleanup.packages.${pkgs.system}.default;
woodpecker-agent = pkgs.callPackage ./ci/woodpecker/agent.nix {};
woodpecker-cli = pkgs.callPackage ./ci/woodpecker/cli.nix {};
woodpecker-frontend = pkgs.callPackage ./ci/woodpecker/frontend.nix {};
woodpecker-server = pkgs.callPackage ./ci/woodpecker/server.nix {};
}
// (
if system == "riscv64-linux"
then rec {
vf2Kernel = pkgs.callPackage ./linux/vf2 {kernelPatches = [];};
vf2KernelPackages = pkgs.linuxPackagesFor vf2Kernel;
}
else {}
)
// (
if system == "aarch64-linux"
then rec {
rpi4Kernel = pkgs.callPackage ./linux/rpi {
kernelPatches = [];
rpiVersion = 4;
};
}
else {}
);
overlays = import ./overlays;
modules = import ./modules;
lib = import ./lib {inherit pkgs;};
hydraJobs =
if (system == "x86_64-linux") || (system == "aarch64-linux")
then {
inherit packages devShells formatter;
}
else {};
}
);
}