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