depot/third_party/nixpkgs/pkgs/tools/networking/mozwire/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

24 lines
723 B
Nix

{ rustPlatform, lib, stdenv, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "MozWire";
version = "0.7.0";
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "0q27p2hyw6c1fh5x8kwsrw8a1hk6z90z0z3w86ga8ryz53xg4vdi";
meta = with 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 ];
};
}