nixpkgs/pkgs/by-name/sm/smag/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
862 B
Nix
Raw Normal View History

2024-01-05 20:48:35 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "smag";
2024-06-19 18:02:08 +00:00
version = "0.8.0";
2024-01-05 20:48:35 +00:00
src = fetchFromGitHub {
owner = "aantn";
repo = pname;
rev = "v${version}";
2024-06-19 18:02:08 +00:00
hash = "sha256-Vyd35wYDNI4T7DdqihwpmJOAZGxjnCeWS609o3L+gHM=";
2024-01-05 20:48:35 +00:00
};
2024-06-19 18:02:08 +00:00
cargoHash = "sha256-ujQAT36qzlfliEC7rFYiWUb3DuwkqCvpUS5Q3v+6378=";
2024-01-05 20:48:35 +00:00
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 ];
};
}