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

25 lines
734 B
Nix
Raw Normal View History

2020-08-18 14:04:39 +00:00
{ rustPlatform, stdenv, fetchFromGitHub, Security }:
2020-08-20 03:09:28 +00:00
2020-08-18 14:04:39 +00:00
rustPlatform.buildRustPackage rec {
pname = "MozWire";
2020-08-20 03:09:28 +00:00
version = "0.5.1";
2020-08-18 14:04:39 +00:00
src = fetchFromGitHub {
owner = "NilsIrl";
repo = pname;
rev = "v${version}";
2020-08-20 03:09:28 +00:00
sha256 = "07icgswmfvrvlm3mkm78pbbk6m2hb73j7ffj7r77whzb11v027v1";
2020-08-18 14:04:39 +00:00
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
2020-08-20 03:09:28 +00:00
cargoSha256 = "10lhz7bdlfqj7wgsqnsxdfskms33pvj176fhf4kwci7nb8vgai4b";
2020-08-18 14:04:39 +00:00
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 ];
};
}