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.
31 lines
770 B
Nix
31 lines
770 B
Nix
{ lib, fetchFromGitHub, rustPlatform, python3, libxcb }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kmon";
|
|
version = "1.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orhun";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2cP3kZnjlMmN3nWRPh1M+hk+dyssGNpJjlluDsm702g=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-xxYfaGhAtLESpy4gdE3IjE29W+DGnI1ed020mxjT3TI=";
|
|
|
|
nativeBuildInputs = [ python3 ];
|
|
|
|
buildInputs = [ libxcb ];
|
|
|
|
postInstall = ''
|
|
install -D man/kmon.8 -t $out/share/man/man8/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Linux Kernel Manager and Activity Monitor";
|
|
homepage = "https://github.com/orhun/kmon";
|
|
license = with licenses; [ gpl3 ];
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ misuzu ];
|
|
};
|
|
}
|