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.
22 lines
712 B
Nix
22 lines
712 B
Nix
{ stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }:
|
|
let version = "0.2.7"; in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "dijo";
|
|
inherit version;
|
|
buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices;
|
|
src = fetchFromGitHub {
|
|
owner = "NerdyPepper";
|
|
repo = "dijo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-g+A8BJxqoAvm9LTLrLnClVGtFJCQ2gT0mDGAov/6vXE=";
|
|
};
|
|
cargoSha256 = "sha256-o3+KcE7ozu6eUgwsOSr9DOoIo+/BZ3bJZe+WYQLXHpY=";
|
|
|
|
meta = with lib; {
|
|
description = "Scriptable, curses-based, digital habit tracker";
|
|
homepage = "https://github.com/NerdyPepper/dijo";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ infinisil ];
|
|
};
|
|
}
|