159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
27 lines
619 B
Nix
27 lines
619 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "termsnap";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tomcur";
|
|
repo = "termsnap";
|
|
rev = "termsnap-v${version}";
|
|
hash = "sha256-bYqhrMmgkEAiA1eiDbIOwH/PktwtIfxmYJRwDrFsNIc=";
|
|
};
|
|
|
|
cargoHash = "sha256-Q1FTVaFZzJJNQg6FDOaPpRCpPgw2EPQsnb8o6dSoVWw=";
|
|
|
|
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";
|
|
};
|
|
}
|