forked from mirrors/nixpkgs
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
25 lines
723 B
Nix
25 lines
723 B
Nix
{ rustPlatform, lib, stdenv, fetchFromGitHub, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "MozWire";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NilsIrl";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "01bj3c34x9ywxygsz4rdyw5gc9cz8x6zzl5fd7db8qy8bx2lhlr9";
|
|
};
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
cargoSha256 = "0q27p2hyw6c1fh5x8kwsrw8a1hk6z90z0z3w86ga8ryz53xg4vdi";
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|