depot/third_party/nixpkgs/pkgs/by-name/te/termsnap/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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";
};
}