depot/third_party/nixpkgs/pkgs/by-name/sm/smag/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

33 lines
899 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "smag";
version = "0.8.0";
src = fetchFromGitHub {
owner = "aantn";
repo = pname;
rev = "v${version}";
hash = "sha256-Vyd35wYDNI4T7DdqihwpmJOAZGxjnCeWS609o3L+gHM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-qOinPZwZqcfQ4gv0Z+sfF53zd4tlEWCczaGGmLL79iE=";
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 ];
};
}