diff options
author | Nick Cao <nickcao@nichi.co> | 2023-07-16 21:41:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 21:41:11 -0600 |
commit | fb7115c76e0d7fe7f6b931e480d9dcfae4279c53 (patch) | |
tree | aa2765bc79b41bf1bca888b6cc6dc8f8140b1cd2 | |
parent | 082c76fa5ae199673202303791c7ceeee6055f0e (diff) | |
parent | 51aae8647b0d7aa2cb19ab519656d115bd437a8b (diff) |
Merge pull request #243835 from figsoda/dysk
dysk: 2.6.1 -> 2.7.1
-rw-r--r-- | pkgs/tools/filesystems/dysk/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/tools/filesystems/dysk/default.nix b/pkgs/tools/filesystems/dysk/default.nix index 6e9af03fdb934..c1e7f5b2332d2 100644 --- a/pkgs/tools/filesystems/dysk/default.nix +++ b/pkgs/tools/filesystems/dysk/default.nix @@ -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"; |