f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
27 lines
623 B
Nix
27 lines
623 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "termsnap";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomcur";
|
|
repo = "termsnap";
|
|
rev = "termsnap-v${version}";
|
|
sha256 = "sha256-FTgbbiDlHXGjkv3a2TAxjAqdClWkuteyUrtjQ8fMSIs=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-hXlRkqcMHFEAnm883Q8sR8gcEbSNMutoJQsMW2M5wOY=";
|
|
|
|
meta = with lib; {
|
|
description = "Create SVGs from terminal output";
|
|
homepage = "https://github.com/tomcur/termsnap";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ yash-garg ];
|
|
mainProgram = "termsnap";
|
|
};
|
|
}
|