Merge pull request #243835 from figsoda/dysk

dysk: 2.6.1 -> 2.7.1
This commit is contained in:
Nick Cao 2023-07-16 21:41:11 -06:00 committed by GitHub
commit fb7115c76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,30 @@
{ lib
, rustPlatform
, fetchFromGitHub
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "dysk";
version = "2.6.1";
version = "2.7.1";
src = fetchFromGitHub {
owner = "Canop";
repo = "dysk";
rev = "v${version}";
hash = "sha256-rSnj38U4Rt5Wh+3A610tTeT2Q1BVGvpMa7rpDf4YzTI=";
hash = "sha256-5KUTb2mSYQdkT3K5BrBCQqq45q0MzFYG1UmE+5eBnuc=";
};
cargoHash = "sha256-or1vLbtA2tPnGJ3tYWrmaXmPCIutojBlIWMLRNpxpY4=";
cargoHash = "sha256-YmA1Qx3oKHXlXs3FWoLMRAnFdIQaFdLJaNwj/FxIS5Q=";
nativeBuildInputs = [
installShellFiles
];
postInstall = ''
installManPage $releaseDir/build/*/out/dysk.1
installShellCompletion $releaseDir/build/*/out/{dysk.bash,dysk.fish,_dysk}
'';
meta = with lib; {
description = "Get information on your mounted disks";