2020-08-20 17:08:02 +00:00
|
|
|
{ rustPlatform, stdenv, fetchFromGitHub, Security }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "MozWire";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.5.2";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NilsIrl";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "0r3x8y1qxxkkac9lqgd0s339zbrm9zmir1f6qs0r5f0bw3ngzqc4";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
cargoSha256 = "0hyps2wi4wmpllfams3p59jpccwa0ylgzxq7qdn6g6zvf0cajpc0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|