diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2020-08-18 21:04:39 +0700 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-08-19 22:39:15 +1000 |
commit | 7b86674f09dc4fe74f67d328d900b9103a7fe579 (patch) | |
tree | 2a71a48232d3582f9eb6ab23820d52e9bdd1ffe4 /pkgs/tools/networking | |
parent | 9dac262767885b16294df9f35496b343b3ef9b9e (diff) |
mozwire: init at 0.4.1
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/mozwire/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mozwire/default.nix b/pkgs/tools/networking/mozwire/default.nix new file mode 100644 index 000000000000..533f2adab70d --- /dev/null +++ b/pkgs/tools/networking/mozwire/default.nix @@ -0,0 +1,23 @@ +{ rustPlatform, stdenv, fetchFromGitHub, Security }: +rustPlatform.buildRustPackage rec { + pname = "MozWire"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "NilsIrl"; + repo = pname; + rev = "v${version}"; + sha256 = "1slfb6m22vzglnrxahlhdcwzwpf3b817mskdx628s92mjzngzyih"; + }; + + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; + + cargoSha256 = "0b00j8vn1vvvphcyv8li7i73pq66sq6dr4wc1w4s3pppa151xr55"; + + 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 ]; + }; +} |