mirror of
https://gitlab.com/mailcat-devs/mailcat.git
synced 2025-12-20 13:23:26 +01:00
Initial commit
This commit is contained in:
parent
3481f70d9d
commit
868a9d238d
6 changed files with 478 additions and 0 deletions
39
flake.nix
Normal file
39
flake.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
description = "AzireVPN client";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
naersk.url = "github:nmattia/naersk";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, naersk }:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
naersk-lib = naersk.lib."${system}";
|
||||
in
|
||||
rec {
|
||||
packages.azirevpn = naersk-lib.buildPackage {
|
||||
pname = "azirevpn";
|
||||
root = ./.;
|
||||
};
|
||||
defaultPackage = packages.azirevpn;
|
||||
apps.azirevpn = flake-utils.lib.mkApp {
|
||||
drv = packages.azirevpn;
|
||||
};
|
||||
defaultApp = apps.azirevpn;
|
||||
devShell = pkgs.mkShell {
|
||||
name = "azirevpn-env";
|
||||
buildInputs = [
|
||||
pkgs.cargo
|
||||
pkgs.clippy
|
||||
pkgs.rust-analyzer
|
||||
pkgs.rustc
|
||||
pkgs.rustfmt
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue