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.
26 lines
761 B
Nix
26 lines
761 B
Nix
{ rustPlatform, lib, fetchFromGitHub, ncurses, openssl, pkg-config, Security, stdenv }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "taizen";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NerdyPepper";
|
|
repo = pname;
|
|
rev = "5c1876429e2da7424e9d31b1e16f5a3147cc58d0";
|
|
sha256 = "09izgx7icvizskdy9kplk0am61p7550fsd0v42zcihq2vap2j92z";
|
|
};
|
|
|
|
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
cargoSha256 = "1yqy5v02a4qshgb7k8rnn408k3n6qx3jc8zziwvv7im61n9sjynf";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://crates.io/crates/taizen";
|
|
license = licenses.mit;
|
|
description = "curses based mediawiki browser";
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|