blob: f8ca910fe65baf2ecbb5bd2e8810ac47cfffc266 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2311.*.tar.gz";
flake-utils.url = "https://flakehub.com/f/numtide/flake-utils/0.1.88.tar.gz";
};
outputs = { self, nixpkgs, flake-utils, ... }@inputs:
{
nixosModules = rec {
icalproxy = import ./module self;
default = icalproxy;
};
} // flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ ];
};
icalproxy = pkgs.buildGoModule {
name = "icalproxy";
src = ./.;
vendorHash = "sha256-l/PQPEZC99umlSr6PBn/dXn2mZN4qf8YMBE8ENOm97I=";
};
in
{
packages.icalproxy = icalproxy;
packages.default = self.packages.${system}.icalproxy;
devShells.default = pkgs.mkShell {
inputsFrom = [ icalproxy ];
};
formatter = pkgs.nixpkgs-fmt;
});
}
|