on master help sign in
nix-click/flake.nix
36 lines 1.1 kB history raw
1{
2 description = "Flake utils demo";
4 inputs = {
5 flake-utils.url = "github:numtide/flake-utils";
6 nix-click.url = "./nix-click";
7 nix-click.inputs.nixpkgs.url =
8 "github:NixOS/nixpkgs?rev=fea42519a41102668eb215a6cb4a883a88b4b236";
9 };
11 outputs = { self, nixpkgs, flake-utils, nix-click }:
12 flake-utils.lib.eachDefaultSystem (system: {
13 packages = {
14 nix-click = nix-click.packages.${system};
15 default = nix-click.packages.${system}.buildAll {
16 name = "yubioath";
17 supportedPlatforms = {
18 arm64 = true;
19 amd64 = false;
20 armhf = false;
21 };
22 } (p: {
23 contents = [ ];
24 exec = "${p.gnome.gnome-weather}/bin/weather";
25 manifest = {
26 name = "soy.iko.weather";
27 version = "1.0.0";
28 maintainer = "Ilia Kostiuchenko <mail@iko.soy>";
29 title = "weather";
30 framework = "ubuntu-sdk-20.04";
31 };
32 apparmor = ./example.apparmor;
33 });
34 };
35 });