2024-04-05 21:43:13 +00:00
|
|
|
{
|
|
|
|
description = "b12f invoiceplane template";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ self, ... }:
|
|
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
2024-04-05 21:46:57 +00:00
|
|
|
imports = [
|
|
|
|
inputs.flake-parts.flakeModules.easyOverlay
|
|
|
|
];
|
|
|
|
|
2024-06-16 18:33:50 +00:00
|
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
2024-04-05 21:57:13 +00:00
|
|
|
|
2024-06-16 18:46:27 +00:00
|
|
|
perSystem = { config, pkgs, final, ... }: {
|
|
|
|
overlayAttrs = {
|
|
|
|
inherit (config.packages) invoiceplane-template;
|
|
|
|
};
|
|
|
|
packages.invoiceplane-template = pkgs.stdenv.mkDerivation {
|
2024-04-05 21:43:13 +00:00
|
|
|
name = "invoiceplane-template";
|
|
|
|
src = ./.;
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp *.php $out/
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|