blob: e2a915b07ee5300a8093386b8c90a1aca9e3f391 (
about) (
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 = "nixpkgs/nixos-24.11";
flake-utils.url = "github:numtide/flake-utils";
};
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;
});
}
|