2022-10-21 18:38:19 +00:00
|
|
|
{ rustPlatform
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2023-02-22 10:55:15 +00:00
|
|
|
, CoreServices
|
2022-10-21 18:38:19 +00:00
|
|
|
, Security
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "MozWire";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "0.8.1";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NilsIrl";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-2i8C1XgfI3MXnwXZzY6n8tIcw45G9h3vZqRlFaVoLH0=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices
|
|
|
|
Security
|
|
|
|
];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2023-02-22 10:55:15 +00:00
|
|
|
cargoHash = "sha256-YXVH7kx5CiurTeXiphjDgcYxxovKtTF3Q9y/XOyVPUA=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|