smag: init at 0.7.0

This commit is contained in:
Lennart 2024-01-05 20:48:35 +00:00 committed by Martin Weinelt
parent d4b4953d0d
commit bdfe47d4ab

View file

@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "smag";
version = "0.7.0";
src = fetchFromGitHub {
owner = "aantn";
repo = pname;
rev = "v${version}";
hash = "sha256-PdrK4kblXju23suMe3nYFT1KEbyQu4fwP/XTb2kV1fs=";
};
cargoHash = "sha256-SX6tOodmB0usM0laOt8mjIINPYbzHI4gyUhsR21Oqrw=";
meta = with lib; {
description = "Easily create graphs from cli commands and view them in the terminal";
longDescription = ''
Easily create graphs from cli commands and view them in the terminal.
Like the watch command but with a graph of the output.
'';
homepage = "https://github.com/aantn/smag";
license = licenses.mit;
changelog = "https://github.com/aantn/smag/releases/tag/v${version}";
mainProgram = "smag";
maintainers = with maintainers; [ zebreus ];
};
}