depot/third_party/nixpkgs/pkgs/tools/networking/mozwire/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

29 lines
721 B
Nix

{ rustPlatform
, lib
, stdenv
, fetchFromGitHub
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "MozWire";
version = "0.8.0";
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
hash = "sha256-vC8HmwJCHMKQUsYBwRmr88tmZxPKNvI6hxlcjG2AV3Q=";
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoHash = "sha256-9qXoMugmL6B9vC/yrMJxZ5p792ZJmrTzk/khRVTkHf4=";
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 ];
};
}