28 lines
623 B
Nix
28 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";
|
||
|
};
|
||
|
}
|