nixpkgs/pkgs/tools/networking/mozwire/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
801 B
Nix
Raw Normal View History

2022-10-06 20:56:42 -04:00
{ rustPlatform
, lib
, stdenv
, fetchFromGitHub
2023-02-19 18:03:27 -05:00
, CoreServices
2022-10-06 20:56:42 -04:00
, Security
}:
2020-08-19 23:09:28 -04:00
2020-08-18 10:04:39 -04:00
rustPlatform.buildRustPackage rec {
pname = "MozWire";
2023-02-19 18:03:27 -05:00
version = "0.8.1";
2020-08-18 10:04:39 -04:00
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
2023-02-19 18:03:27 -05:00
hash = "sha256-2i8C1XgfI3MXnwXZzY6n8tIcw45G9h3vZqRlFaVoLH0=";
2020-08-18 10:04:39 -04:00
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
2023-02-19 18:03:27 -05:00
CoreServices
Security
];
2020-10-01 15:19:01 -04:00
2023-02-19 18:03:27 -05:00
cargoHash = "sha256-YXVH7kx5CiurTeXiphjDgcYxxovKtTF3Q9y/XOyVPUA=";
2020-08-18 10:04:39 -04:00
meta = with lib; {
2020-08-18 10:04:39 -04: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 ];
2024-02-10 21:19:15 -05:00
mainProgram = "mozwire";
2020-08-18 10:04:39 -04:00
};
}