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

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

30 lines
721 B
Nix
Raw Normal View History

2022-10-07 00:56:42 +00:00
{ rustPlatform
, lib
, stdenv
, fetchFromGitHub
, Security
}:
2020-08-20 03:09:28 +00:00
2020-08-18 14:04:39 +00:00
rustPlatform.buildRustPackage rec {
pname = "MozWire";
2022-10-07 00:56:42 +00:00
version = "0.8.0";
2020-08-18 14:04:39 +00:00
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
2022-10-07 00:56:42 +00:00
hash = "sha256-vC8HmwJCHMKQUsYBwRmr88tmZxPKNvI6hxlcjG2AV3Q=";
2020-08-18 14:04:39 +00:00
};
2021-01-15 09:19:50 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
2020-10-01 19:19:01 +00:00
2022-10-07 00:56:42 +00:00
cargoHash = "sha256-9qXoMugmL6B9vC/yrMJxZ5p792ZJmrTzk/khRVTkHf4=";
2020-08-18 14:04:39 +00:00
meta = with lib; {
2020-08-18 14:04:39 +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 ];
};
}