lol
1{ rustPlatform, lib, stdenv, fetchFromGitHub, Security }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "MozWire";
5 version = "0.7.0";
6
7 src = fetchFromGitHub {
8 owner = "NilsIrl";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
12 };
13
14 buildInputs = lib.optionals stdenv.isDarwin [ Security ];
15
16 cargoSha256 = "0q27p2hyw6c1fh5x8kwsrw8a1hk6z90z0z3w86ga8ryz53xg4vdi";
17
18 meta = with lib; {
19 description = "MozillaVPN configuration manager giving Linux, macOS users (among others), access to MozillaVPN";
20 homepage = "https://github.com/NilsIrl/MozWire";
21 license = licenses.gpl3;
22 maintainers = with maintainers; [ siraben nilsirl ];
23 };
24}