2021-01-11 08:54:33 +01:00
|
|
|
{ rustPlatform, lib, stdenv, fetchFromGitHub, Security }:
|
2020-08-20 05:09:28 +02:00
|
|
|
|
2020-08-18 16:04:39 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "MozWire";
|
2020-10-29 17:44:35 +01:00
|
|
|
version = "0.7.0";
|
2020-08-18 16:04:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NilsIrl";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-29 17:44:35 +01:00
|
|
|
sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
|
2020-08-18 16:04:39 +02:00
|
|
|
};
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2020-10-01 21:19:01 +02:00
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "0q27p2hyw6c1fh5x8kwsrw8a1hk6z90z0z3w86ga8ryz53xg4vdi";
|
2020-08-18 16:04:39 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-08-18 16:04:39 +02:00
|
|
|
description = "MozillaVPN configuration manager giving Linux, macOS users (among others), access to MozillaVPN";
|
|
|
|
homepage = "https://github.com/NilsIrl/MozWire";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ siraben nilsirl ];
|
|
|
|
};
|
|
|
|
}
|