Initial commit

This commit is contained in:
Andrey Golovizin 2021-06-26 13:18:19 +02:00
commit ae9fca20ee
8 changed files with 821 additions and 0 deletions

29
flake.nix Normal file
View file

@ -0,0 +1,29 @@
{
description = "AzireVPN client";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {
inherit system;
};
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain;
in
{
devShell = pkgs.mkShell {
name = "azirevpn-env";
buildInputs = [
pkgs.cargo
pkgs.clippy
pkgs.rust-analyzer
pkgs.rustc
pkgs.rustfmt
];
};
}
);
}