3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/mozwire/default.nix

25 lines
730 B
Nix
Raw Normal View History

{ rustPlatform, lib, stdenv, fetchFromGitHub, Security }:
2020-08-20 04:09:28 +01:00
2020-08-18 15:04:39 +01:00
rustPlatform.buildRustPackage rec {
pname = "MozWire";
2020-10-29 16:44:35 +00:00
version = "0.7.0";
2020-08-18 15:04:39 +01:00
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
2020-10-29 16:44:35 +00:00
sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
2020-08-18 15:04:39 +01:00
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2020-10-01 20:19:01 +01:00
2020-10-29 16:44:35 +00:00
cargoSha256 = "0yxnpnxwis46wz4j5rjzyyzrvh94hn8vzxmmrcmrdz3gkakg77hg";
2020-08-18 15:04:39 +01:00
meta = with lib; {
2020-08-18 15:04:39 +01:00
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 ];
};
}