mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
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.
27 lines
692 B
Nix
27 lines
692 B
Nix
{ lib, stdenv, rustPlatform, fetchFromGitHub, perl, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tickrs";
|
|
version = "0.14.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tarkah";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OOsBo+NCfn++2XyfQVoeEPcbSv645Ng7g9s4W7X2xg4=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-HAkJKqoz4vrY4mGFSz6sylV6DdrjWvPfwb4BiLWEyKY=";
|
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
meta = with lib; {
|
|
description = "Realtime ticker data in your terminal";
|
|
homepage = "https://github.com/tarkah/tickrs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
};
|
|
}
|