2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "termsnap";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.4.0";
|
2024-07-27 06:49:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tomcur";
|
|
|
|
repo = "termsnap";
|
|
|
|
rev = "termsnap-v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-bYqhrMmgkEAiA1eiDbIOwH/PktwtIfxmYJRwDrFsNIc=";
|
2024-07-27 06:49:29 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-Q1FTVaFZzJJNQg6FDOaPpRCpPgw2EPQsnb8o6dSoVWw=";
|
2024-07-27 06:49:29 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|