Skip to content

Commit

Permalink
mozwire: init at 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
siraben authored and zowoq committed Aug 19, 2020
1 parent 9dac262 commit 7b86674
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 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 ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -3216,6 +3216,10 @@ in

mcrcon = callPackage ../tools/networking/mcrcon {};

mozwire = callPackage ../tools/networking/mozwire {
inherit (darwin.apple_sdk.frameworks) Security;
};

rage = callPackage ../tools/security/rage {
inherit (darwin.apple_sdk.frameworks) Security;
};
Expand Down

0 comments on commit 7b86674

Please sign in to comment.